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 is the default Timeout for SqlCommand.CommandTimeout property?

1023


What is an ADO.Net?

996


Which is faster dataset or datareader?

972


How to pass multiple tables in datasets simultaneously?

1064


What is the difference between typed and untyped dataset?

1093


What are the methods of XML dataset object?

1028


Define Execute Scalar?

1024


What is datatable in ado.net?

970


Explain the difference between sqlcommand object and command behavior object?

1095


Explain advantages of ado.net?

1054


What is the difference between an ADO.NET Dataset and an ADO Recordset?

1045


Which method in OLEDBAdapter is used to populate dataset with records?

1028


Explain how to find the given query is optimised one or not?

1034


Do you use stored procedure in ado.net?

1029


Explain what is datagrid with an example?

1102