public void GetRelatedOpenObservationCount(int QuestionID, int FleetCode) { BLL_VET_Index objBLLIndx = new BLL_VET_Index(); DataTable dtOpenObsCount = objBLLIndx.VET_Get_RelatedOpenObsCount(); string filterpenexpression = filterpenexpression = " Question_ID=" + UDFLib.ConvertToInteger(QuestionID) + " and FleetCode=" + UDFLib.ConvertToInteger(FleetCode); DataRow[] drOpnObsCount = dtOpenObsCount.Select(filterpenexpression); if (drOpnObsCount.Length <= 0) { lnkRelatedObs.Text = "0"; lnkRelatedObs.Enabled = false; } else { lnkRelatedObs.Text = drOpnObsCount[0][0].ToString(); lnkRelatedObs.Enabled = true; } }