예제 #1
0
    protected void GetQuotations()
    {
        BLL_TRV_QuoteRequest qr = new BLL_TRV_QuoteRequest();
        DataSet ds = new DataSet();

        try
        {
            ds = qr.GetQuotation(AgentID, RequestID);
            rptParent.DataSource = ds;
            rptParent.DataBind();

            ViewState["SUPPCURRENCY"] = ds.Tables[2].Rows[0]["Supplier_Currency"].ToString();
            ltQuotationDate.Text      = ds.Tables[3].Rows[0]["QuoteBy_date"].ToString();
        }
        catch { }
        finally { qr = null; }
    }