Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is state management techniques in asp.net?

1071


How to deploy/publish webservices?How many ways?Plz explain me

2323


What is an axd file?

1169


What is difference between URL and URI?

1204


What r the asp.net list controls and diff. Between them?

1022


What is globalization and localization in asp net?

1062


What is the adavantage of using ASP.NET routing?

1240


What are the asp.net server side objects?

1021


What are the benefits of Razor View?

992


How many types of session in ASP.NET

1126


What are session and cookies?

1024


What is a 401 redirect?

990


What is the use of session state and application state and difference between them?

960


Explain the main differences between asp and asp.net?

1082


What's the use of response.output.write()?

1310