コード例 #1
0
    protected void BtnContact_Click(object sender, EventArgs e)
    {
        int    Cid   = int.Parse(Session["Login"].ToString());
        string Title = TxtMassage.Value;
        string Main  = TxtMain.Value;

        GlobalFunc.AddMsgToMang(Cid, Title, Main);
        Response.Redirect("Default.aspx");
        //string Msg = "";
        //Msg += "שם מלא:" + Fname.Value;
        //Msg += "טלפון:" + TxtPhon.Value;
        //Msg += "מייל:" + TxtMail.Value;
        //Msg += "הודעה:" + TxtMassage.Value;
        //GlobalFunc.SendEmail("*****@*****.**", "*****@*****.**", "פניה חדשה מטופס יצירת קשר באתר", Msg);
        //LtlMsg.Text = "פנייתך התקבלה בהצלחה ניצור איתך קשר בהקדם";
        //TxtMassage.Value = "";
        //TxtPhon.Value = "";
        //TxtMail.Value = "";
        //Fname.Value = "";
    }