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
What are the advantages of the code-behind feature?
What is the default authentication mode for asp.net?
Which protocol is used in a web api?
What is globalization and localization in asp net?
What is a ashx file?
Explain the difference between sql invalidation and sql notification.
What is the concepts of globalization and localization in .net?
How does session authentication work?
In which event of the page life cycle, is the viewstate available?
What is the use of response redirect in asp.net?
Explain the different types of assemblies?
How do I know asp.net mvc version? : Asp.Net MVC
Is asp net front end or backend?
What are session and cookies?
How many types of cookies are available in asp?