|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Clear column in a Data TableI've gone through the forms and can't seem to find anything on this, so
either its really easy or its impossible. Anyway I have a datatable with maybe 5-6 columns, and I was wondering if there is a simple way to clear all the values out of a single column. I could loop it through, but that seems like the long way around. Melton,
Just reading your message assuming that it is not a datatable in a strongly typed dataset Remove the column and add it again. Never tried, just an idea while reading your question so you have to try it yourself. I hope this helps, Cor <melt***@hotmail.com> schreef in bericht Show quoteHide quote news:1149457469.946506.225380@j55g2000cwa.googlegroups.com... > I've gone through the forms and can't seem to find anything on this, so > either its really easy or its impossible. Anyway I have a datatable > with maybe 5-6 columns, and I was wondering if there is a simple way to > clear all the values out of a single column. I could loop it through, > but that seems like the long way around. >
App already running?
Installation monitoring and capture...... Any way to allow F1 help for menu items in VB.NET? Calling forms from a Form years,months,days transparent labels on pictureboxes "Key not found" Exception Assigning to DataSource Property of Grid Unhandled exceptions in Vs 2005 Is Visual Studio Installer available with Visual Basic 2005 Expres aspnet vb webproject |
|||||||||||||||||||||||