I have a DataTable that containing set of data. To get only column name "score" from the DataTable called MyDataTable. Below is how i do
for (int i = 0; i < MyDataTable.Rows.Count; i++) {
string score = MyDataTable.Rows[i]["score"].ToString();
xxxxxx
xxxxxx
}
1 comment:
what if i want to get all colomns?
Post a Comment