protected void PopulateInformationSystem() { try { oDV = AdoUDIRS.GetInformationSystem(); if (AdoUDIRS.BlnError) { //lblRMsg.Text = "Error 40, sorry, an error occured, " + AdoUDIRS.StrError; return; } else if (oDV.Count == 0) { //lblRMsg.Text = "Error 40, sorry, an error occured, " + AdoUDIRS.StrError; return; } else if (oDV.Count > 0) { chkInformationSystem.DataSource = oDV; chkInformationSystem.DataValueField = "Id"; chkInformationSystem.DataTextField = "Title"; chkInformationSystem.DataBind(); } } catch (Exception ex) { //lblRMsg.Text = "Error 40, sorry, an error occured, " + AdoUDIRS.StrError; } }