Пример #1
0
 /// <summary>
 /// 商机类别
 /// </summary>
 private void SetOpportun()
 {
     this.ddlOpportunityType.DataSource     = opp.GetOpportun();
     this.ddlOpportunityType.DataValueField = "OpportunityTypeID";
     this.ddlOpportunityType.DataTextField  = "OpportunityTypeName";
     this.ddlOpportunityType.DataBind();
 }
Пример #2
0
    //protected void Page_PreInit(object sender, EventArgs e)
    //{
    //    bool isTof = Page.User.IsInRole("GT1002");

    //    if (isTof)
    //    {
    //        Page.MasterPageFile = "/indexTof.master";
    //    }
    //    else
    //    {
    //        Page.MasterPageFile = "/MasterPage.master";
    //    }
    //}
    /// <summary>
    /// 商机类别
    /// </summary>
    private void SetOpportun()
    {
        Tz888.BLL.Info.OpportunityInfoBLL opp = new Tz888.BLL.Info.OpportunityInfoBLL();
        this.ddlOpportunityType.DataSource     = opp.GetOpportun();
        this.ddlOpportunityType.DataValueField = "OpportunityTypeID";
        this.ddlOpportunityType.DataTextField  = "OpportunityTypeName";
        this.ddlOpportunityType.DataBind();
    }