you should write,
Code:
DT.Rows[rowNumber][ColumnNumber or ColumnName].ToString();
Quote:
|
quote:DT.Rows[0].Table.Columns["ProductID"].ToString());
|
in this you wrote,
Rows[0].Table gives you the DataTable that contains
Rows[0] then
Columns["ProductID"].ToString() gives you the name of DataColumn(
Columns["ProductID"]).
_____________________________
Mehdi.
software engineering student.
Looking for a good job for summer 2005.