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 are cao and sao.
Is post back property in asp net?
Whats the difference between abstract factory pattern and factory pattern?
How will you load dynamic assembly?
What is the difference between Classic ASP and ASP.Net?
What are main return types supported in Web API?
Explain form level validation and field level validation?
Is data edited in the Repeater control?
What is aspect-oriented programming?
Why is it preferred to not use finalize for clean up?
Define reflection in .net?
What is the difference between Hash table and Array list?
What is the use of session in web application?
6. Tell us about a time when you failed to meet a deadline. What were the repercussions?
Is asp.net mvc still used? : Asp.Net MVC