Results 1 to 2 of 2

Thread: Help with drop down list

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2012
    Posts
    63

    Help with drop down list

    I have this code for my drop down list on my webpage but its not returning any information. Can someone please help me out?

    Code:
     Sub getRimTypeTW()
    
            Dim ss As New SQL
            Dim da As DataAccess
            Dim dt As New DataTable
    
            dt = da.returnDataTable(ss.ddlRimTypeData)
            Me.ddlRimType.DataSource = dt
            Me.ddlRimType.DataTextField = "RIM_TYPE"
            Me.ddlRimType.DataValueField = "IDENTIFIER"
            Me.ddlRimType.DataBind()
    
        End Sub

  2. #2
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,763

    Re: Help with drop down list

    Dim ss As New SQL is your dropdownlist??!
    You can ask on the vb.net forum because i don't see any asp.net usage but you won't get any answers without explaining what is what and also what errors do you get if any.
    ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
    πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width