1
Answer

Edit the values of DataGrid Cell

hi all,   i am new here,

i want some help to work with datagrid..

How to edit the values of a datagrid column and write those values in a file?

urgent.

thanx

 

Answers (1)

0
Photo of Bechir Bejaoui
NA 16.4k 7.2m 17y
Here is acode that it can resolve you the problem
 int oColIndex = 0;
 int oRowIndex = 0;
 string myValue = "";
 DataGridView oDataGridView = new DataGridView();
 myValue = oDataGridView[oColIndex, oRowIndex].Value.ToString();