Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. check box

check box

Scheduled Pinned Locked Moved ASP.NET
databasetutorialquestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bilal khatri
    wrote on last edited by
    #1

    how can i get the checkbox text from database field name.. for example i have table.. no Fname Mname Lname 1 bilal khatri yousuf 2 faheem chania ali how can iger the Fname in checkbox1. . . .

    M W G 3 Replies Last reply
    0
    • B bilal khatri

      how can i get the checkbox text from database field name.. for example i have table.. no Fname Mname Lname 1 bilal khatri yousuf 2 faheem chania ali how can iger the Fname in checkbox1. . . .

      M Offline
      M Offline
      Mohibur Rashid
      wrote on last edited by
      #2

      In HTML your output would be like this:

      <INPUT TYPE='CHECKBOX' VALUE='1' ID='Name1'><LABEL FOR='Name1'>bilal khatri yousuf</LABEL><br/>
      <INPUT TYPE='CHECKBOX' VALUE='2' ID='Name2'><LABEL FOR='Name2'>faheem chania ali</LABEL>

      But I am not sure if this is what you want to know.

      I wish I could believe there is an after life.

      1 Reply Last reply
      0
      • B bilal khatri

        how can i get the checkbox text from database field name.. for example i have table.. no Fname Mname Lname 1 bilal khatri yousuf 2 faheem chania ali how can iger the Fname in checkbox1. . . .

        W Offline
        W Offline
        wikizhao
        wrote on last edited by
        #3

        runat="server" you know

        1 Reply Last reply
        0
        • B bilal khatri

          how can i get the checkbox text from database field name.. for example i have table.. no Fname Mname Lname 1 bilal khatri yousuf 2 faheem chania ali how can iger the Fname in checkbox1. . . .

          G Offline
          G Offline
          gopal pradhan
          wrote on last edited by
          #4

          Get the text into a string , split it by space and get the first name. :)

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups