Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Participant
878 Points
264 Posts
May 01, 2012 11:12 AM|LINK
first of all why you are using SqlDataSource instead for sp to update it
accordingly modify the your CheckBox2_CheckedChanged event as
protected void CheckBox2_CheckedChanged(Object sender, EventArgs e) { CheckBox CheckBox2 = (CheckBox)sender; // call the sp to update PersonalCall = CheckBox2.Checked passing the parameter }
and secondly what errors come. let me know
ZeeshanAnsar...
Participant
878 Points
264 Posts
Re: Need help: CheckBox event to update database record when checked
May 01, 2012 11:12 AM|LINK
first of all why you are using SqlDataSource instead for sp to update it
accordingly modify the your CheckBox2_CheckedChanged event as
protected void CheckBox2_CheckedChanged(Object sender, EventArgs e) { CheckBox CheckBox2 = (CheckBox)sender; // call the sp to update PersonalCall = CheckBox2.Checked passing the parameter }and secondly what errors come. let me know
Please 'Mark as Answer' if this post helps you.