using System; using System.Collections; using System.Configuration; using System.Data; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; namespace DSWeb.Message { public partial class Message : System.Web.UI.Page { private int iPostType; protected void Page_Load(object sender, EventArgs e) { if (Request.QueryString["post"] != null) { iPostType = int.Parse(Request.QueryString["post"].ToString()); this.h_posttype.Value = iPostType.ToString(); } else { iPostType = 2; this.h_posttype.Value = iPostType.ToString(); } } } }