public bool IsBadprocedure(int custid, int transid, double chkamt, string remark) { objData = new ClsData(); bool OutFlg = objData.IsBadprocedure(custid, transid, chkamt, remark); if (OutFlg == true) { return(true); } else { return(false); } }