|
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class Default2 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
try
{
Response.Write("Request.Params[\"data\"] : " + Request.Params["data"].ToString() + "<br>");
Response.Write("ID: " + ParamUtils.WebParam.GetQuery(Request.Params["data"].ToString(), "id") + "<br>");
Response.Write("Name: " + ParamUtils.WebParam.GetQuery(Request.Params["data"].ToString(), "name") + "<br>");
Response.Write("ne: " + ParamUtils.WebParam.GetQuery(Request.Params["data"].ToString(), "ne") + "<br>");
}
catch (ArgumentException ex)
{
Response.Write("Argument Exception caught: "+ex.Message);
}
catch (Exception ex)
{
Response.Write("General Exception caught: "+ex.Message);
}
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.