62,268
社区成员
发帖
与我相关
我的任务
分享
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class feedback : System.Web.UI.Page
{
clsPushData push = new clsPushData();
protected void Page_Load(object sender, EventArgs e)
{
if (Request.QueryString["method"].ToString() == "1")
{
title.Text = Session["title"].ToString();
subject.Text = Session["subject"].ToString();
subject2.Text = Session["subject2"].ToString();
description.Text = Session["content"].ToString();
name.Text = Session["name"].ToString();
email.Text = Session["email"].ToString();
country.Text = Session["country"].ToString();
}
}
protected void preview_Click(object sender, EventArgs e)
{
// Session.Abandon();
Session["title"] = title.Text;
//if (subject.Text == "other")
//{
Session["subject"] = subject.Text;
Session["subject2"] = subject2.Text;
//}
//else
//{
// Session["subject"] = subject.Text;
// Session["subject2"] = subject2.Text;
//}
// Session["content"] = null;
Session["content"] = description.Text;
Session["name"] = name.Text;
Session["email"] = email.Text;
Session["country"] = country.Text;
Response .Redirect ("feedbackReview.aspx");
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class feedbackReview : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
subject.Text = Session["subject"].ToString();
content.Text = Session["content"].ToString();
title.Text = Session["title"].ToString();
name.Text = Session["name"].ToString();
email.Text = Session["email"].ToString();
country.Text = Session["country"].ToString();
}
protected void modify_Click(object sender, EventArgs e)
{
Response.Redirect("feedback.aspx?method=1");
}
}