Author: lstirk | Posted on: 4/20/2009 8:26:23 AM | Views : 380

Hi, 
Im have a dropdownlist in a createuserwizard, and i want to bind this to a database which looks like this
 
<asp:DropDownList ID="DropDownList1" runat="server" Visible="false" DataSourceID="SqlDataSource" DataTextField="Module_name" DataValueField="Module_id" AutoPostBack="true" SelectedValue='<%# Bind("Module_id") %>' AppendDataBoundItems="true" > This works fine in all my detailsview forms, but in createuserwizard i get an error

Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control. Anyone know how to solve this

 
 
 

...

Go to the complete details ...