how to get the datagridview data

  • Thread starter Thread starter cEciLlE
  • Start date Start date
C

cEciLlE

how can i get the data from the datagridview den save it into a dataset to
be use into another process.

thanks
 
Table t = dv.Table;
object o = t.Rows[rowNumber][columnNumber];

DataSet ds = new DataSet();
ds.Tables.Add(t);

Also you can work with DataSet.

ds.Tables[TableNumber].Rows[rowNumber][columnNumber] = 1;

Something like that.
 

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

Back
Top