datagrid

G

Guest

I what to get data from Actice directory and display it in a datagrid, I knoe
hoe to do it in a listbox. Can you help me please
 
I

Ignacio Machin \( .NET/ C# MVP \)

hi,

it should be no big difference, I assume you are storing the data in some
kind of collection ( array, arraylust, etc) if so set the
datasource of the grid and you are ready.


Now if what you are doing is retrieving the data while you fill the listbox,
IMO it won't work with a grid, you will have to get all the data first and
later bind it.

Use a class with public properties or a struct to store the data.


cheers,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top