public DataTable GetChqStatus(decimal chqno) { string sql = "select chqNo,status from tblchqNo where chqNo=@chqno and status='cancelled'"; SqlParameter[] param = new SqlParameter[] { new SqlParameter("@chqno", chqno) }; return DBO.GetTable(sql, param, CommandType.Text); }
public ActionResult getchqStatus(decimal chqno) { DataTable dt = objemp.WithdrawalBs.GetChqStatus(chqno); if (dt.Rows.Count>0) { return Json(dt, JsonRequestBehavior.AllowGet); } }
$scope.ChqStatus = function(chqno) { crudServiceUser.GetChqStatus(chqno).then(function (result) { $scope.Cheque = result; }) }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)