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...

Can we bind one datareader wid two dropdown list?

Answer Posted / ak

It is simple


if(reader.hasrows)
{
combo1.additem(reader[0])
combo2.additem(reader[1])
}

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the ado.net connection pooling parameters?

1042


Explain how to create dynamic gridview?

1019


How can we load multiple tables in a dataset?

1240


What is a sqldataadapter?

1057


What is sqlconnection and sqlcommand?

1201


What is the difference between Datareader and Dataset?

1130


What is data adapter in ado.net with example?

1107


Explain the difference in an abstract class and an interface?

975


What is data access pattern?

1003


Compare Data Reader & Dataset in ado.net?

1048


What do you know about ado.net's methods?

1174


What is sqldatasource?

978


What is ado full form?

1078


What is ado.net in mvc?

982


What provider ado.net use by default? Explain the role of data provider in ado.net?

1026