dynamic check box

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nikky
    New Member
    • Nov 2006
    • 25

    dynamic check box

    i m using C#.net
    i hav created dynamic check boxes and given its id (1,2,3..) which are primary key of my table.i want to perform deletion from only one click button after selecting check boxes.

    Like email deletion manner.i want to check more than one boxes and want to delete from button.
    plz help me asps.
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    I don't understand your problem, you just delete these records in the onclick event?

    Comment

    • Nikky
      New Member
      • Nov 2006
      • 25

      #3
      [how can i find dat onclick event of that dynamic checkBox

      Comment

      • dip_developer
        Recognized Expert Contributor
        • Aug 2006
        • 648

        #4
        Originally posted by Nikky
        [how can i find dat onclick event of that dynamic checkBox
        why do u need onclick event of checkbox.....Yo ur ides was to delete record in Button click.

        check the checkbox.....on button click retrieve the ID(may be its a primary key in your table) of the checked chekboxes and perform delete operation.

        you can use a For-Next loop to iterate through the dynamically created checkboxes.

        Comment

        Working...