How to retrieve data row by row from a DataTable?
Thanks In advance
PriyaPP
Answer Posted / digvijay
In C#
foreach(DataRow dr in dt.rows) //dt is Data table
{
string ABC= dr["Coloumn_Name"].Tostring;
}
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is the default authentication mode for asp.net?
What is rending process in ASP.NET?
What is the difference between debug and release?
What are server activated objects?
How to manage different kinds of sessions in ASP.NET?
Where do the cookie state and session state information be stored?
Who is using asp.net?
What is an imagemap in asp.net?
What is the use of view state?
What is the difference between union and structure?
What New Features comes with ASP.NET Web API 2.0?
How do we ensure view state has not tampered?
5. What three Specific Job Positions do you target from Swatz Oils GROUP U.K?
How to make sure that contents of an updatepanel update only when a partial postback takes place (and not on a full postback)?
How do u declare static variable and how it is declared and what is its lifetime?