Iterate through DataSet

  • Thread starter Thread starter Ondrej Sevecek
  • Start date Start date
O

Ondrej Sevecek

Hello,
I want to iterate through DataSet (by using foreach e.g.) to fill
treeview.
How to do this? Some sample available?

Many thanks Ondra.
 
foreach(DataRow dro in myDataSet.Tables[TableIndex])
//MyListView add items here, referencing the numeric
//index of the column or the column name. The numeric
//index will yeild better performance...
next
 
Back
Top