Exemplo n.º 1
0
 protected void BtnSubmit_Click(object sender, EventArgs e)
 {
     foreach (GridViewRow r in ItemGrid.Rows)
     {
         CheckBox chBox = r.FindControl("Available") as CheckBox;
         _reservationDAO.UpdateItem(r.Cells[1].Text, chBox.Checked);
     }
 }