View Single Post
  #1 (permalink)  
Old March 5th, 2007, 10:05 AM
nesrine nesrine is offline
Authorized User
Join Date: Feb 2007
Location: , , .
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default How can i replace db column name with Global varia

How could I replace the DataTextField=“Title” with the following global variable DataTextField=“Globals.ThisReaderDepar” what are the missing tags????

<asp:DropDownList ID="ddlDepartments" runat="server" DataSourceID="objAllDepartments"
DataTextField="Title" DataValueField="ID" SelectedValue='<%# Bind("DepartmentID") %>' Width="100%" />