Example #1
0
    public override void DataBind()
    {
        Cms.Model.C_WebSiteconfig site = new Cms.BLL.C_WebSiteconfig().GetModel(1);
        webName.Text = site.webName.ToString();
        weburl.Text  = site.weburl.ToString();
        title.Text   = site.title.ToString();

        keyword.Text     = site.keyword.ToString();
        Description.Text = site.Description.ToString();
        upload.Text      = site.upload.ToString();
        Copyright.Text   = site.Copyright.ToString();
        txttel.Text      = site.tel;
        txtqq.Text       = site.qq;
        txtlogo.Value    = site.logo;
        txtmLogo.Value   = site.mLogo;

        IcpRecord.Text  = site.IcpRecord.ToString();
        adress.Text     = site.adress.ToString();
        telphone.Text   = site.telphone.ToString();
        mobiephone.Text = site.mobiephone.ToString();

        fax.Text           = site.fax.ToString();
        email.Text         = site.email.ToString();
        contactperson.Text = site.contactperson.ToString();
        TextBox1.Text      = site.textParam1.ToString();
    }
Example #2
0
    public static Cms.Model.C_WebSiteconfig getWebSiteconfig(int id)
    {
        Cms.Model.C_WebSiteconfig model = new Cms.BLL.C_WebSiteconfig().GetModel(id);

        return(model);
    }