I have to send data throug querystring from one page to
another. But it should not be displayed in URL. How it is
possible?

Answers were Sorted based on User's Feedback



I have to send data throug querystring from one page to another. But it should not be displayed in..

Answer / ravindra thakur

Using the server.transfer("page.aspx?id=1")

Is This Answer Correct ?    10 Yes 7 No

I have to send data throug querystring from one page to another. But it should not be displayed in..

Answer / santosh

string url = "http://localhost:4351/WebSite8/Default5.aspx?" + TextBox1.Text;

Uri weburi = new Uri(url);
string query = weburi.Query;
string weburl = url.Substring(0, url.Length - query.Length);
Response.Redirect(weburl);

Is This Answer Correct ?    1 Yes 0 No

I have to send data throug querystring from one page to another. But it should not be displayed in..

Answer / aloke kumar datta

By URL rewriting

Is This Answer Correct ?    6 Yes 6 No

I have to send data throug querystring from one page to another. But it should not be displayed in..

Answer / joydeep

using hidden feilds

Is This Answer Correct ?    6 Yes 8 No

I have to send data throug querystring from one page to another. But it should not be displayed in..

Answer / ramesh

Write this code in default.aspx:

Response.Redirect("default2.aspx?Name=" + txtStudName.Text);

Write this code in default2.aspx:

if (Request.QueryString["Name"] != null)
{
TextBox1.Text = Request.QueryString
["Name"].ToString();

}

Is This Answer Correct ?    10 Yes 13 No

I have to send data throug querystring from one page to another. But it should not be displayed in..

Answer / don

Use Server.Transfer("PageName")&Var1, &Var2;

Is This Answer Correct ?    2 Yes 6 No

Post New Answer

More ASP.NET Interview Questions

How many validators do ASP.NET have?

0 Answers   QuestPond,


What are Caching techniques in .NET

0 Answers   Microsoft,


How do you design a website with multilingual support in ASP.NET ?

0 Answers   MCN Solutions,


detail code for sql data connections?

2 Answers  


1.how to encrpt query string in asp.net? 2.there are 10000 records then i wnat display 5000 records one gridview and 5000 records another grid view what is the process?

2 Answers   Marlabs,






How to store checkbox value in database in asp.net mvc? : Asp.Net MVC

0 Answers  


What is query string with example?

0 Answers  


Who generates session id?

0 Answers  


What is asp.net web application?

0 Answers  


List of interview questions collections at www.dpoint.weebly.com

2 Answers   IBM,


Different type of validation controls in asp.net ?

1 Answers   CTS, Keane India Ltd,


Explain diff. Betn dataset and recordset?

0 Answers  


Categories