Datagrid question

M

MSNEWS

Hi

I have a datagrid with one table in it. One of the columns in the table is
called filename.

I want to copy the contents of filename in all the rows to a string array,
how do I access the contents of the column in a datagrid?


Thanks
 
S

Sijin Joseph

You will have to work with the underlying DataSet that the datagrid is bound
to. Use the Rows property of the DataSet to get the individual Rows and the
Columns property of the DataRow objects to get the data in the columns.
 

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