ASP.NET Development

B

Barry

Hi

I am developing an ASP.NET App using Visual Studio, but whenever i try to
ad some code in the .ASPX.cs file i get some errors, also the Page_Load(??,
??) if not getting called.
Are there any code examples of adding code <%= ?? %> to the .ASPX.CS
files, i have sofar not succeeded in my attempts.
I find that most of the samples priovided in Visual Studio eg. GrocerToGo
or CustomParsing have very few files (a .ASPX.cs file and a corresponding
..cs file) are these app generated using Visual Studio, if not then is there
a development environment available for download for developing ASP.NET Apps
(not Visual Studio) i don't mind developing using a text editor, but
creating the Make file is quit a problem.

Barry
 
B

Barry

Hi
from the Visual Studio menu option Inser Script code i add the following
lines, but the method is not getting invoked

<script language="C#" runat="Server">
protected void Page_Load(object sender, System.EventArg e)
{
Response.Write("Hello");
}
</script>
 
D

dan.c.roth

Hi

If you are going to do that you need to put AutoEventWireup="true" in
the @Page

Regards,

Daniel Roth
MCSD.NET
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,754
Messages
2,569,525
Members
44,997
Latest member
mileyka

Latest Threads

Top