protected void GetAccountNum() { new prjaccountModel(); accountMange accountMange = new accountMange(); if (!string.IsNullOrEmpty(this.hdfcontrcn.Value)) { accountMange.GetTable(" contractNum='" + this.hdfcontrcn.Value + "'"); } }
protected string GetBankNum(string contenum) { new prjaccountModel(); accountMange accountMange = new accountMange(); DataTable table = accountMange.GetTable(" prjNum='" + contenum + "'"); if (table.Rows.Count == 1) { return(table.Rows[0]["accountID"].ToString()); } return(string.Empty); }