data in treeview

  • Thread starter Thread starter Hrvoje Voda
  • Start date Start date
H

Hrvoje Voda

How to get data into treeview control?
I'm using dataAdapter and dataSet for communication with database.

Hrcko
 
Hrvoje,

The datagrid has no datasource therefore the most simple option is in my
opinion just to loop throug your dataset and set the treeview accoording to
that.

When it is about one table you can for the same use the datareader and set
it in the reading loop.

I hope this helps

Cor
 
Back
Top