| | |
| | | this.txtSupplierName.Value = corporateClients.OutVendorName; |
| | | this.selSuppliersss.Value = corporateClients.Keyid.ToString(); |
| | | |
| | | var sss = _OA_SuppliersBLL.getSupplierTable(CurrentUser.MemberId).Select("Name = '"+ corporateClients.OutVendorName + "'"); |
| | | if (sss.Length > 0) |
| | | var sss = _OA_SuppliersBLL.getSupplierByFirmId(CurrentUser.MemberId, corporateClients.OutVendorName.Trim()).ToList(); |
| | | if (sss.Count > 0) |
| | | { |
| | | this.txtHuming.Value = sss[0]["Huming"].ToString(); |
| | | this.txtBank.Value = sss[0]["Bank"].ToString(); |
| | | this.txtAccountID.Value = sss[0]["AccountID"].ToString(); |
| | | this.txtHuming.Value = sss[0].Huming;// ["Huming"].ToString(); |
| | | this.txtBank.Value = sss[0].Bank; //["Bank"].ToString(); |
| | | this.txtAccountID.Value = sss[0].AccountID;//["AccountID"].ToString(); |
| | | } |
| | | } |
| | | |