Пример #1
0
 protected void Button1_Click(object sender, EventArgs e)
 {
     dm.Title = TextBox1.Text;
     dm.Text  = FCKeditor1.Value;
     dm.Type  = "EmailRegisterUser";
     ac.Update(dm);
     dm.Title = "EmailSetting";
     dm.Text  = TextBox2.Text;
     dm.Type  = "EmailDisplay_Name";
     ac.Update(dm);
     dm.Title = "EmailSetting";
     dm.Text  = TextBox3.Text;
     dm.Type  = "EmailFrom_Email_Address";
     ac.Update(dm);
     dm.Title = "EmailSetting";
     dm.Text  = TextBox4.Text;
     dm.Type  = "EmailSmtp_Host";
     ac.Update(dm);
     dm.Title = "EmailSetting";
     dm.Text  = TextBox5.Text;
     dm.Type  = "EmailSender_Email_Address";
     ac.Update(dm);
     dm.Title = "EmailSetting";
     dm.Text  = TextBox6.Text;
     dm.Type  = "EmailSender_Email_Pass";
     ac.Update(dm);
     dm.Title = TextBox7.Text;
     dm.Text  = FCKeditor2.Value;
     dm.Type  = "EmailSendFactor";
     ac.Update(dm);
     dm.Title = TextBox8.Text;
     dm.Text  = FCKeditor3.Value;
     dm.Type  = "EmailForgetPassword";
     ac.Update(dm);
 }
Пример #2
0
 protected void Button1_Click(object sender, EventArgs e)
 {
     dm.Title = TextBox1.Checked.ToString();
     dm.Text  = TextTitle.Text.Trim();
     dm.Type  = "Amar";
     ac.Update(dm);
 }
Пример #3
0
 protected void Button1_Click(object sender, EventArgs e)
 {
     dm.Title = TextBox1.Text;
     dm.Text  = FCKeditor1.Value;
     dm.Type  = "Shoping1";
     ac.Update(dm);
     dm.Title = TextBox2.Text;
     dm.Text  = FCKeditor2.Value;
     dm.Type  = "Shoping2";
     ac.Update(dm);
     dm.Title = TextBox3.Text;
     dm.Text  = FCKeditor3.Value;
     dm.Type  = "Shoping3";
     ac.Update(dm);
     dm.Title = TextBox4.Text;
     dm.Text  = FCKeditor4.Value;
     dm.Type  = "Shoping4";
     ac.Update(dm);
 }
Пример #4
0
    protected void Button1_Click(object sender, EventArgs e)
    {
        dm.Title = TextBox1.Text;
        dm.Text  = FCKeditor1.Value;
        dm.Type  = "Print1";
        ac.Update(dm);
        dm.Title = TextBox2.Text;
        dm.Text  = FCKeditor2.Value;
        dm.Type  = "Print2";
        ac.Update(dm);

        if (FileUpload1.HasFile)
        {
            Save_File(FileUpload1, "~\\Administrator\\files\\Design\\print_header.gif");
        }

        if (FileUpload2.HasFile)
        {
            Save_File(FileUpload2, "~\\Administrator\\files\\Design\\print_right.gif");
        }
    }
Пример #5
0
    protected void Button1_Click(object sender, EventArgs e)
    {
        dm.Title = "Maliat";
        dm.Text  = TextBox1.Text;
        dm.Type  = "Maliat";
        ac.Update(dm);
        dm.Title = "Title";
        dm.Text  = TextBox2.Text;
        dm.Type  = "MetaTagTitle";
        ac.Update(dm);
        dm.Title = "Keyword";
        dm.Text  = TextBox3.Text;
        dm.Type  = "MetaTagKeyword";
        ac.Update(dm);
        dm.Title = "Description";
        dm.Text  = TextBox4.Text;
        dm.Type  = "MetaTagDescription";
        ac.Update(dm);
        dm.Title = "HazineErsal";
        dm.Text  = TextBox5.Text;
        dm.Type  = "HazineErsal";
        ac.Update(dm);
        dm.Title = "AddressPrint";
        dm.Text  = FCKeditor1.Value;
        dm.Type  = "AddressPrint";
        ac.Update(dm);

        new BLL.Setting().Save(new Common.Setting()
        {
            google_search = txtGoogleSearch.Text
        });
    }