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. Checkbox List help

Checkbox List help

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasevisual-studiohelp
1 Posts 1 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.
  • G Offline
    G Offline
    Girish_Sharma
    wrote on last edited by
    #1

    I am using Visual Studio 2012 C# ASP.NET on Windows 8 Virtual Machine. In the aspx page I am having below code :

    Act1
    Act2
    Act3

    Act1
    Act2
    Act3

    In the GridView1_RowDataBound I want to write the code for checked options of checkboxlist from database table column name Active_status; i.e. in the table I am storing values like "Act1,Act2,Act3" or "Act1" or "Act2, Act3" etc. So, as user clicks on Edit link button (i.e. putting Gridview in Editmode) the options of this checkboxlist should be checked marked respectively from table. Simultaneously, I wish to update the table as user changes the check option in the table something like "Act1,Act3" if user checked marked on Act1 and Act3 check options like wise in a single string column length 50. I tried to search in google, but no luck. I am not sure, how clear I am asking the question, but if anything confusing or left by me, please let me know. Thanks and Regards Girish Sharma

    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