ASPAlliance.com : The #1 Active Server Pages .NET Community The #1 ASP.NET Community
Search   Search

Subscribe   Subscribe

Powered by ORCSWeb Hosting


Site Stats


Powered By ASP.NET
 
Featured Sponsor

Featured Columnist


Featured Book
ASP.NET Tips, Tutorials, and Code
ASP.NET Tips, Tutorials, and Code

Find Prices
Read Review
Read Review
Sample Chapter
Sample Chapter


New! asp.netPRO

We publish our articles in the standard RSS format.

Powerful .NET Email Component

Code Sharing Software

How to search MSDN support database from your page by Dennis West

I needed a way to get to MSDN directly at the point in which I want to search for ASP.NET related solutions.  I solved this problem by building a helper: that will access MSDN Database; on items like searching on databinder and returning all MSDN support messages for Databinder messages.
 
for an example entry and search goto: http://aspalliance.com/dotnetsolutions
 
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:
 
        &nbsp;&nbsp;<b><font size=3 color=blue>MSDN Search</font></b> &nbsp;<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" />
 
 
Thats it....

Over 3000 ASP.NET Solutions at http://aspalliance.com/dotnetsolutions

Dennis H. West
West Design
ASP.NET Developer

 Copyright © 2000-2003 ASPAlliance.com  Page Rendered at 11/21/2009 6:46:46 PM