//it should work. string value=dataTable.rows[0]["DataColumnName"].ToString(); // but you can try this. hope so it'll work. // there is nothing wrong with your code. // 2 as column index string value=dataTable.rows[0][2].ToString();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)