Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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?

Posted
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"?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...