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
Explain difference between friend and protected friend?
What is page request in asp.net?
What is the adavantage of using ASP.NET routing?
What symbol would you use to denote, the start of a code block in aspx views?
What is active web pages?
What is a url string?
What is view state management in asp net?
What’s the difference between response .redirect and server.transfer?
What I need to create and run an asp.net application?
Which method do you use to kill explicitly a users session?
What is the difference between “Web.config” and “Machine.Config”?
What is the difference between ASP Session State and ASP.Net Session State?
what is AutoEventWireUp and what is the use of This property explain in details?
Define authentication and authorization.
Which method is used to enforce garbage collection in .net?