DataTable dt; ... String value = dt.Rows[0][1].ToString(); // second column of the first row
Object o = dataTable.Rows[0]["ColumnNameOrIndex"]; String value = Convert.ToString(o);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)