ASP.Net Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 1776 Page Views: 

Which properties on a ComboBox do you set, prior to calling the DataBind method, to display data in the ComboBox?



Posted By: Avi Date: 28 October 2009 06:10:25 AM
 Answer:

Set the DataTextField property with a column name and DataSource property with a DataTable object (or any other supported data source object).


Posted By: eTechPlanet


Date: 28 October 2009 06:10:25 AM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image UuFKG9
Related Questions
ASP.Net : Name the different types of directives being used in .Net?

Name the different types of directives being used in .Net?

The directives are as follows:- @Page , @Control , @Import , @Implements , @Register , @Assembly
Category: ASP.Net Date: 10/2/2010 3:36:20 AM
ASP.Net : In .net framework where does the HTML page resides in the class hierarchy?

In .net framework where does the HTML page resides in the class hierarchy?

It lies in System.Web.UI.Page
Category: ASP.Net Date: 10/2/2010 3:11:19 AM
ASP.Net : Is it possible to create a custom control in asp.net? If yes, then how?

Is it possible to create a custom control in asp.net? If yes, then how?

Yes, creating a custom control is possible in ASP.net. Custom controls are user defined controls and....
Category: ASP.Net Date: 10/1/2010 11:15:19 PM
ASP.Net : Name the methods which are fired while the page is being loaded?

Name the methods which are fired while the page is being loaded?

The following methods are fired:- 1. Init():- This event is fired when the page is instantiated. It....
Category: ASP.Net Date: 10/1/2010 4:17:19 PM
ASP.Net : Is it possible to apply an alternating color scheme  in a Reporter Control?

Is it possible to apply an alternating color scheme in a Reporter Control?

By using AlternatingItem template. The style properties of AlternatingItem template can be used to g....
Category: ASP.Net Date: 10/1/2010 9:45:19 AM