Server C# code:
void msURL_OnClick(object Source, ImageClickEventArgs e) { string URL =
"http://search.microsoft.com/default.asp?qu="+msdnTextbox.Text+"&boolean=ALL&nq=NEW&so=RECCNT&ig=01&ig=02&ig=03&ig=04&ig=05&ig=06&ig=07&ig=08&ig=09&ig=10&i=00&i=01&i=02&i=03&i=04&i=05&i=06&i=07&i=08&i=09&siteid=us";
Response.Redirect(URL); }
Html code:
<b><font
size=3 color=blue>MSDN Search</font></b>
<asp:TextBox id="msdnTextbox" ToolTip="SearchMSDN
Database" runat="server" size="26" style="FONT-WEIGHT: bold; FONT-SIZE:
x-small; BORDER-LEFT-COLOR: blue; BACKGROUND: whitesmoke; BORDER-BOTTOM-COLOR:
blue; BORDER-TOP-COLOR: blue; FONT-FAMILY: Verdana; BORDER-RIGHT-COLOR: blue"
/>
<asp:ImageButton id="Imagebutton1"
ImageUrl="images/go_red_999999.gif" Border="0" onclick="msURL_OnClick"
runat="server" />