Code behind pages in VS C# 2005

M

milkyway

Hello,

In the class that I was in, double clicking on the .aspx page (in D
esign mode)would open a file for the .aspx.cs page. However, when I do
a double click in VS C# 2005 on the .aspx page, I get the following
inserted into my .aspx page

--------------------------------------------------------------

<script runat="server">

protected void Page_Load(object sender, EventArgs e)

{

}

</script>


----------------------------------------------------------------

In other words, I am not taken to the .aspx.cs page so I can edit it.

What gives?

TIA
 
M

milkyway

Hello,

I found out what to do (blush). When creating the .aspx file, had to
specify that the code be created in a separate file

Thanks
 

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
474,262
Messages
2,571,058
Members
48,769
Latest member
Clifft

Latest Threads

Top