flann Posted August 31, 2005 Posted August 31, 2005 I'm trying to bind a ddl with a database field that is a Yes or No field. I can't seem to figure out how to make it work. In design view, I selected the field from the databindings, and then in code view put the normal... Me.SqlDataAdapter1.SelectCommand.Parameters("@LeadID").Value() = intLeadid Me.SqlDataAdapter1.Fill(DsLegal1.ClientInfo) Me.DataBind() My dropdownlist isn't showing me anything, shouldn't it automatically populate the dropdownlist? Quote Flann Mortgage Calculator | Debt Free Credit Card Debt | Filing Bankruptcy
Hyuga Posted September 1, 2005 Posted September 1, 2005 I'm trying to bind a ddl with a database field that is a Yes or No field. I can't seem to figure out how to make it work. In design view, I selected the field from the databindings, and then in code view put the normal... Me.SqlDataAdapter1.SelectCommand.Parameters("@LeadID").Value() = intLeadid Me.SqlDataAdapter1.Fill(DsLegal1.ClientInfo) Me.DataBind() My dropdownlist isn't showing me anything, shouldn't it automatically populate the dropdownlist? Where do you assign the DataSource to "Me"? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.