Trouble Using Sample Code - Need Noob Help
- From: NickLoganPayne@xxxxxxxxx
- Date: Thu, 1 May 2008 20:41:47 -0700 (PDT)
Just getting started with .NET and VS, so i'm trying to get a handle
on it all.
Trying to run this sample code:
http://authors.aspalliance.com/damianm/article/4/1/httpWebRequest.aspx.view.aspx
http://authors.aspalliance.com/damianm/article/4/1/httpWebRequest.aspx.vb.view.aspx
All i'm doing is creating two new files in VS
httpWebRequest.aspx and httpWebRequest.aspx.vb
Then i'm copying those files to web.
My questions:
Do I need to do some building or compiling?
What do these errors mean?
Errors:
In VS it's saying: Warning 3 Attribute 'Codebehind' in the @ Page
directive is no longer supported. Convert this page to the new code-
behind model by opening the Web site (project) containing the page in
Visual Web Developer. C:\Documents and Settings\Owner\My Documents
\Visual Studio 2005\WebSites\Article\httpWebRequest.aspx 1 50 C:\...
\Article\
On the page it says:
Could not load type 'Article.httpWebRequest'.
The code for httpWebRequest.aspx is simply:
<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="httpWebRequest.aspx.vb" Inherits="Article.httpWebRequest"
%>
<asp:literal id="Literal1" runat="server"></asp:literal>
Is it the codebehind? Or maybe the lack of an Article namespace? How
do I do that?
thank you all in advance for your help.
.
- Follow-Ups:
- Re: Trouble Using Sample Code - Need Noob Help
- From: PvdG42
- Re: Trouble Using Sample Code - Need Noob Help
- Prev by Date: RE: Unable to add Web Reference in Visual Studio 2008 on Win 2003 Serv
- Next by Date: Re: User Controls disappeared from Toolbox
- Previous by thread: cannot open or create setup projects , web or normal
- Next by thread: Re: Trouble Using Sample Code - Need Noob Help
- Index(es):
Relevant Pages
|