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 Features and disadvantages of dataset

751


What is data relation in ado.net?

700


Explain which name space is used to get assembly details?

692


Why do we need ado.net?

713


What is the provider being used to access oracle database?

713


Explain ado.net features? Benefits? Drawbacks?

779


What are the advantages using ado.net?

723


Where is adodb dll located?

706


What are the different namespaces used in the project to connect the database? What data providers available in .net to connect to database?

998


Define Execute Reader?

811


What is microsoft ado.net?

762


What is ado full form?

712


Describe connection object in ado.net

743


Define bubbled event?

676


Which method is used by command class to execute SQL statements that return single value?

752