I am trying to create a file similar to another set of files I have from another user. I am new to ASP.NET. What is the code behind file? I am in a new asp application project and I cant seem to figure out what this means.
are you using VS.Net? If not than what enviornment are you designing in? The code behind file is where your code is (vb, c++, c#), the aspx file is the web page (html) and style sheet is where you can keep your formating options (i've have used these yet) for the aspx file.
you can write all your code in the aspx file using the <% %> delimiters, but it's ulgy and cumbersome.
Ok so what I did was created a code behind file with a call to variables I needed to populate. Now I need I guess to create the HTML page that inherits this code. How can I do that?
To design a web app all you need to do is click
File->New->Blank Solution
From the dialog box select
Visual Basic Projects -> ASP.Net Web Application
Name Your App and click OK. This will open your new web
To add a new object click File -> Add Item...
Select Web Form and name the web form. To get to the code behind double click the web form.
To run the code click Debug -> Start
For more assistance use the Help Files.
Help -> Contents -> Visual Studio .Net -> Samples and Walkthroughs -> Web Form Application
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.