ADO.NET 2.0 Question:
Download Questions PDF

Explain How to bind the controls(best practice) comboboxes to the data in the dataset?

Answer:

DropDownList1.DataSource=Myds;
DropDownList1.DataTextField = "FieldName";
DropDownList1.DataValueField = "FieldName";

Download ADO.NET 2.0 Interview Questions And Answers PDF

Previous QuestionNext Question
Explain the difference in an Abstract Class and an Interface?How to identify the controls which can be used for binding data?