Horje
querstring fromat asp.net c# Code Example
querstring fromat asp.net c#
 public partial class QueryStringValuesTransfer : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string id1 = Server.UrlDecode(Request.QueryString["id"]);
        string name1 = Server.UrlDecode(Request.QueryString["name"]);
        Response.Write(id1 + name1);

    }
querstring fromat asp.net c#
protected void Page_Load(object sender, EventArgs e)
{


}
protected void Button1_Click(object sender, EventArgs e)
{
    string id = "1";
    string name = "aaaa";

    string url = string.Format("QueryStringValuesTransfer.aspx?{0}&{1}", Server.UrlEncode(id), Server.UrlEncode(name));


    Response.Redirect(url);
}




Csharp

Related
assign a list to another in c# without a loop Code Example assign a list to another in c# without a loop Code Example
check if multiple variables are null c# Code Example check if multiple variables are null c# Code Example
C# date type no time Code Example C# date type no time Code Example
windows form toolbox enter key Code Example windows form toolbox enter key Code Example
even configuration custom errors page is not working asp.net MVC Code Example even configuration custom errors page is not working asp.net MVC Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11