Update Gridview with Image Button
问题 I have 2 image buttons, Accept and Reject. Accept button will update [status] to 1 Reject button will update [status] to 2 I had successfully use UpdateCommand to update Accept button UpdateCommand="UPDATE [bookingschedule] SET status='1'WHERE [bookingScheduleID] = @bookingScheduleID" But, I do not know how to set update command for Reject button since I can declared UpdateCommand once only. UpdateCommand2="UPDATE [bookingschedule] SET status='2'WHERE [bookingScheduleID] = @bookingScheduleID"