R Ricardo Luceac Aug 15, 2005 #1 HI, I need to do a select in a datatable, how can I do that??? thx..
N Nicholas Paldino [.NET/C# MVP] Aug 15, 2005 #2 Ricardo, You are limited in the kind of select you can perform. You can call the Select method on the DataTable to select the rows you wish to use. You can also use the DataView class, setting the RowFilter property. Hope this helps.
Ricardo, You are limited in the kind of select you can perform. You can call the Select method on the DataTable to select the rows you wish to use. You can also use the DataView class, setting the RowFilter property. Hope this helps.
R Ricardo Luceac Aug 15, 2005 #3 What I really need is to bind a column from a datatable to a listbox, but when I try to do that: lstTables.DataSource=dt.Columns["TABLE_NAME"]; I get an error saying that its not an IList member... how do i do that??? []s..
What I really need is to bind a column from a datatable to a listbox, but when I try to do that: lstTables.DataSource=dt.Columns["TABLE_NAME"]; I get an error saying that its not an IList member... how do i do that??? []s..