Get Row Index with Value
Hi There,
I'd like to know Get row index with value.
not with row number.
just like if one of the row among all rows in grid column number 0 has the value of "SI".
means if
grid.rows[i].column[0] == "SI".
I want to know i is what number.
Thanks in advance.
0
-
Hi,
We are not sure what do you want to do. Look at the example:for(int i = 0; i < grid.Rows.Count; ++i)
{
Row row = grid.rows[i];
if(row[0].Value == "SI")
{
//do something
break;
}
}Regards,
Dapfor0
Please sign in to leave a comment.
Comments
1 comment