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 Web API Routing?
What is difference between ispostback and autopostback in asp net?
What is the asp.net control toolkit?
What is difference between abstract class and an interface?
What is a nested masterpage in asp.net 2.0? Can there be a master page inside a masterpage?
COM+ Used ________________ Isolation Level
How does u call and execute a sp in .net?
What is server components?
How will you load dynamic assembly? How will create assesblies at run time?
What is a master page and what does it do?
How can you handle unmanaged code exceptions in asp.net?
Describe paging in asp.net?
How you can manage the state of application at the server side in ASP.NET?
What is the significance of attaching a profile while creating a user?
Describe briefly what is the role of IIS on an ASP.NET application? What does it for the same application?