What do we mean by DataTextField in Asp.Net?

 Posted by vishalneeraj-24503 on 1/14/2014 | Category: ASP.NET Interview questions | Views: 2306 | Points: 40

DataTextField is related to Dropdownlist control i.e. it's Dropdownlist property.We provide Database Table column to it to display as a Items in Dropdownlist control when it is populated.

For Example:-
ddl_employee.DataTextField = "employee_name";

Here employee_name is my Column Name.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response