Is it possible to get a row value by giving column name when DataTable holds a single row, without iteration.
foreach(DataRow row in dt.Rows)
{
string strCity = row["City"].ToString();
}
I need Something like below without loop when we have only one row,
String cn=row["ColumnName"].ToString()