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
Are there resources online with tips on asp to asp.net conversions?
What is master page in dtp?
Why we use asp.net for website development?
What is difference between viewstate and session in asp net?
What are the steps involved to fill a dataset?
How would you implement inheritance using c#?
What is the difference between a default skin and a named skin?
Is session server side or client side?
Describe the differences between the lifecycles of Windows services and Standard EXE?
To redirect the user to another page which method do we use without performing a round trip to the client?
Explain what are the advantages of asp.net mvc framework? : asp.net mvc
Explain about asp.net caching?
Which property needs to be set for script manager control to extend the time before throwing time out expection if no response is received from the server?
What are sharepoint pages?
What is tracing? Where is it used?