How to retrieve data row by row from a DataTable?
Thanks In advance
PriyaPP
Answer Posted / guest
foreach(Datarow dr in table.rows)
{
string str = dr[0].ToString();
string str1 = dr["columnName"].ToString();
}
| Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
Why do we need Sessions?
Describe the master page.
Which is faster viewdata or viewbag?
How to find last error which occurred?
Why do we use datasource in asp.net?
What's the difference between viewstate and sessionstate?
To wrap up a call to a Web service the standard used is..?
Let's say I have an existing application written using vb6 and this application utilizes windows 2000 com+ transaction services. How would you approach migrating this application to.net?
Can we have multiple worker process in an ASP.NET application? If so then how it has been handled by application? And who handles it?
Can we use a static function with a non-static variable?
What is viewstate? What does the “enableviewstate” property do?
What is use of Master Page in ASP.NET web pages?
What I need to create and run an asp.net application?
What is session id in web application?
Explain the function of new view engine in asp.net? : asp.net mvc