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
How do I use response redirect?
Diff between web user control and web custom control?
Give an example of what might be best suited to place in the application_start and session_start subroutines?
What is redirectpermanent in asp.net?
What is the size of Get method and how much data it can store?
What websites use asp.net?
Explain the namespace classes used in asp.net mvc? : asp.net mvc
To wrap up a call to a Web service the standard used is..?
Are cookies stored on server or client?
Explain the difference between debug.write and trace.write? When should each be used?
What r the asp.net list controls and difference between them?
Define machine.config in .net?
How Session outproc in Sqlserver stored?
Is sql backend or frontend?
Can you explain composite pattern?