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 is server infrastructure & server components?
Explain program to call the js function when the change is being made in the dropdown list made in asp.net mvc? : asp.net mvc
Apart from IDE what are the enhancements in asp.net 2.0?
What is the benefit of WebAPI over WCF?
Which two new properties are added in asp.net 4.0 page class?
Is oauth for authentication or authorization?
Where do we store our connection string in asp.net application?
Describe the difference between inline and code behind - which is best in a?
Explain the purpose of storyboard.targetproperty.
What are the built-in objects in asp.net?
How to do parallel database export in remote SQL Server in ESSL time track. It is working for local server but not working for remote SQL Server
Define common type system?
What is the use of autowireup in asp.net?
What are the versions of garbage collection?
Error : The operation couldn’t be performed because ole db provider sqlncli10 for linked server was unable to begin a distributed transaction.00000110 oledb provider for linked server returned message the partner transaction manager has disabled its support for remote/network transactions. I can able to execute the stored procedure in sql server but when i run the web page getting error like above. I did all the configuration. what is the solution?