Asp.Net and SQL SERVER
My learning and thoughts
Monday, November 16, 2009
Find the index of row in DataTable
string query = "Year = " + "2000" + " AND Period = " + "'1'";
int rowIndex = dtSaveAll.Rows.IndexOf(dtSaveAll.Select(query)(0));
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment