protected void Page_Load(object sender, EventArgs e) { if (Request["mid"] == null || Request["cusid"] == null) { Response.Redirect("Default.aspx"); } else { GlobalFuncDbU.CloseMsg(int.Parse(Request["mid"])); } int mid = int.Parse(Request["mid"]); int cusid = int.Parse(Request["cusid"]); RtpMsg.DataSource = GlobalFunc.GetSomeMail(mid); RtpMsg.DataBind(); RtpUs.DataSource = GlobalFunc.GetOrderDetelFCust(cusid); RtpUs.DataBind(); }