Ejemplo n.º 1
0
    private void showMarketingData()
    {
        Marketing marketing = new Marketing();

        marketing = MarketingManager.GetMarketingByMarketingID(Int32.Parse(Request.QueryString["ID"]));
        ddlCustomerID.SelectedValue        = marketing.CustomerID.ToString();
        ddlMarketingAgentID.SelectedValue  = marketing.MarketingAgentID.ToString();
        ddlMarketingCloserID.SelectedValue = marketing.MarketingCloserID.ToString();
        ddlMarketingVanueID.SelectedValue  = marketing.MarketingVanueID.ToString();
        ddlLeadSourceID.SelectedValue      = marketing.LeadSourceID.ToString();
        ddlGiftID.SelectedValue            = marketing.GiftID.ToString();
        txtDepositAmount.Text       = marketing.DepositAmount.ToString();
        radRefundable.SelectedValue = marketing.Refundable.ToString();
        txtNotes.Text = marketing.Notes.ToString();
    }