Datagrid clear up when I click the button

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • midori
    New Member
    • Jul 2006
    • 2

    Datagrid clear up when I click the button

    I have a checkboxlist, two buttons and a datagrid.
    during page_load event, i load items of checkboxlist and datagrid from database.

    button 1 is used to check all items in checkboxlist and button 2 is used to uncheck it.

    my problem now is whenever I click either of the two buttons, the datagrid will be empty.

    I am still new in ASP.NET programming and I hope someone can help me with my problem.

    thanks a lot.
Working...