public bool Collected(int custid, int tranid, double chkamt) { objData = new ClsData(); bool OutFlg = objData.Collected(custid, tranid, chkamt); if (OutFlg == true) { return(true); } else { return(false); } }