Example #1
0
 private void PopulateSectionList()
 {
     SectionList.DataSource     = GetHelpSectionsNames().DefaultView;
     SectionList.DataTextField  = "HelpSectionName";
     SectionList.DataValueField = "HelpSectionId";
     SectionList.DataBind();
     SectionList.Items.Insert(0, new ListItem("-- New Help Section", "-1"));
     SectionList.Items.Insert(0, new ListItem("", "-99"));
 }