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
Is redux flux?
What is the good practice to implement validations in aspx page?
Explain Areas in MVC?
Give a few examples of page life cycle events.
How would you implement inheritance using c#?
Where is cookie used in asp.net?
Explain the asp.net session state modes.
Is a dll file an executable?
What are directives in asp.net? List down all the important directives.
What are the new login controls in asp.net 2.0?
What is the difference between client-side and server-side validations in webpages?
What is a query string in a url?
What is Difference between Production Serves and Development Servers? And Suppose, m adding/deleting C# file in a project based on the Specific Requirement. These Files are Automatically updated in Production Servers? So Which tool is needed to do This One?
What is Web Server Control Templates.?
Elaborate differentiation between Cache and Application?