ADO.NET 2.0 Question: Download ADO.NET 2.0 PDF

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

Tweet Share WhatsApp

Answer:

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

Download ADO.NET 2.0 PDF Read All 14 ADO.NET 2.0 Questions
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?