Hey all!
i was wondering if somebody could help me with this problem.
In .NET 1.1 i used the following syntax to load data into a variable:
foreach (DataRow dr in dataset.Tables["tbl"].Rows)
{
string name = Convert.ToString(dr["Name"]);
}
This will not work however with my .NET 2.0 created DataSets and was wondering how best to acheive this result?
Thanks
i was wondering if somebody could help me with this problem.
In .NET 1.1 i used the following syntax to load data into a variable:
foreach (DataRow dr in dataset.Tables["tbl"].Rows)
{
string name = Convert.ToString(dr["Name"]);
}
This will not work however with my .NET 2.0 created DataSets and was wondering how best to acheive this result?
Thanks