C#
string appendWord = textbox1.Text;
StringBuilder urlBuilder = new StringBuilder();
urlBuilder.Append(Request.Url.AbsolutePath.ToStrin g());
urlBuilder.Append("?myword=");
urlBuilder.Append(appendWord);
Response.Redirect(urlBuilder.ToString());
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
********************************************
Think outside the box!
********************************************
"James" <ja*********@ntlworld.comwrote in message
news:Bh******************@newsfe7-win.ntli.net...
Hello everyone,
I'm trying to do something which should be incredibly simple. I would like
to create an aspx page with one text box and one submit button on it. The
text box would allow a user to enter a word (or anything really.) Upon
submission, the browser would load a URL with the word string appended at
the end in the current window. Please can anyone help?
James