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
In which event of the page life cycle, is the viewstate available?
What is .net remoting?
What is a web api endpoint?
Explain the difference between globalization and localization techniques
What is asp.net file?
How would you turn off cookies on a page of a website?
What are the three parts of an http response?
How can you pass multiple complex types in Web API?
To load your generated dataset with data which method do you invoke?
Define the types of configuration files.
How can we register exception filter globally?
What are session cookies?
What r the asp.net list controls and difference between them?
Explain a program using razor view engine to create a simple application? : asp.net mvc
What does aspcompat="true" mean?