StringBuilder sb = new StringBuilder();
foreach (ListItem item in CheckBoxList1.Items)
{
if (item.Selected)
{
sb.Append(item.Text + ", ");
}
}
lblfocdata.Text=sb.ToString();
ScriptManager.RegisterStartupScript(this,this.GetType(),"Popup","alert('Welcome to NRsolution4u!');",true);
No comments:
Post a Comment