if (IsPostBack) { if (!stringIsNullOrEmpty(CheckBoxList1.SelectedValue) && !stringIsNullOrEmpty(CheckBoxList2.SelectedValue) ) { Bind(); } else if (CheckBoxList1.SelectedValue == String.Empty) { LABEL1.Text = ("Please select at least one checkbox").ToString(); } else if (CheckBoxList2.SelectedValue == String.Empty) { LABEL2.Text = ("Please select at least one checkbox").ToString(); }
Bind
CheckBoxList1.SelectedValue
null
String.Empty
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)