How to read a value

Jul 17, 2008 at 8:39 PM
I am trying search and read a value in a DataGrid. I can write the value in the DataGrid by using the following code:

Table

table = window.Get<Table>("dataGridView1");

 

 

TableRows row = table.Rows;

 

row[0].Cells[0].Value =

"John";

 

row[0].Cells[1].Value =

"Doe";

But I am not able to find any method or property which I can use to perform search and read the value, I would really appreciate if you could help me resolving this issue.

Thanks.

 

Coordinator
Jul 20, 2008 at 5:55 PM
What do you get if you use row[0].Cells[0].Value to read the value of the cell
Jul 21, 2008 at 6:52 PM
Thanks for your prompt response, I really appreciate your help. I have resolved this issue by using row[0].Cells[0].Value.