Exemple #1
0
    protected void GetAccountNum()
    {
        new prjaccountModel();
        accountMange accountMange = new accountMange();

        if (!string.IsNullOrEmpty(this.hdfcontrcn.Value))
        {
            accountMange.GetTable(" contractNum='" + this.hdfcontrcn.Value + "'");
        }
    }
Exemple #2
0
    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);
    }