Do a select in a datatable

  • Thread starter Thread starter Ricardo Luceac
  • Start date Start date
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.
 
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..
 
Back
Top