protected void PopulateInvestigationOthers() { try { oDV = AdoUDIRS.GetInvestigationOthers(); 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) { //cbOthers.Text = oDV[0].Row["Title"].ToString(); chkInvestigationOthers.DataSource = oDV; chkInvestigationOthers.DataValueField = "Id"; chkInvestigationOthers.DataTextField = "Title"; chkInvestigationOthers.DataBind(); } } catch (Exception ex) { //lblRMsg.Text = "Error 40, sorry, an error occured, " + AdoUDIRS.StrError; } }