Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What kind of data can be stored in viewstate?

1025


What is difference between web api and web services?

1054


i want the asp.net technical questions and answeres

2115


What is http protocol and how it works?

1100


How to fetch a data from one table to another table in asp.net ?

1087


Explain how can we access static variable?

1213


How many types of Cookies are available in ASP.NET?

1116


What is the use of session?

985


What is the difference between session.abandon() vs clear()?

1021


What are the asp.net list controls and difference between them?

1079


Which .NET framework supports Web API?

1103


Explain how asp.net different from asp?

1152


Define the types of configuration files.

1028


How can you identify that the page is post back?

1054


Why session management is required?

1072