S
suspended
I use foreach loop to access rows in a datatable like this:
DataTable dt;
foreach ( DataRow dr in dt )
{
// do something with dr
}
I want to access the first row in the DataTable without using foreach
loop. How can I do it?
Thanks.
Jess
DataTable dt;
foreach ( DataRow dr in dt )
{
// do something with dr
}
I want to access the first row in the DataTable without using foreach
loop. How can I do it?
Thanks.
Jess