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.
 
Back
Top