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

How to create data relations?

538


What is connection string?

518


Define bubbled event?

503


How to find the given query is optimised one or not?

498


In how many ways we can retrieve table records count? How to find the count of records in a dataset?

534






What is dataadapter in ado.net?

486


Explain what are the steps to connect to a database?

485


What does ado stand for in ado.net?

448


What is serialization and de-serialization in .net?

484


Explain which name space is used to get assembly details?

518


What are the advantages of using datalist?

497


What is difference between entity framework and ado.net?

469


What is the role of data provider in ado.net?

535


How does ado.net work?

485


What does executequery return?

512