PC Review


Reply
Thread Tools Rate Thread

Code Behind pages in VS C# 2005

 
 
milkyway
Guest
Posts: n/a
 
      25th Sep 2005
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

 
Reply With Quote
 
 
 
 
milkyway
Guest
Posts: n/a
 
      25th Sep 2005
Hello there,

Found the answer, please disregard.

Thanks ;-)

 
Reply With Quote
 
Jeff
Guest
Posts: n/a
 
      26th Sep 2005
Care to share?
Jeff

On 25 Sep 2005 02:03:05 -0700, "milkyway" <(E-Mail Removed)>
wrote:

>Hello there,
>
>Found the answer, please disregard.
>
>Thanks ;-)


 
Reply With Quote
 
milkyway
Guest
Posts: n/a
 
      29th Sep 2005
Basically, when creating my .aspx page, there was a popup that has a
checkbox with "Place code in separate file".

When I check this, then the codebehind pages are created in the
..aspx.cs (since I am using C Sharp) files and not as part of the .aspx
file itself

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
managed wrapper to native code.. code from 2003 does not work in 2005? Fred Heida Microsoft Dot NET 0 8th Mar 2006 04:09 AM
Is it Possible to connect to SQL 2005 Ex from VB 2005 Ex code? Wade Microsoft VB .NET 1 1st Dec 2005 09:27 PM
Posting VS 2005 RC code to VS 2005 Beta 2 site =?Utf-8?B?Sm9obiBCYWlsZXk=?= Microsoft ASP .NET 0 5th Oct 2005 03:17 PM
Code behind pages in VS C# 2005 milkyway Microsoft ASP .NET 1 25th Sep 2005 09:58 AM
Visual Web Developer 2005 Express SCREWS UP YOUR CODE on PURPOSE...STOP TOUCHING MY CODE, MICROSOFT!!!! ik Microsoft ADO .NET 6 16th Jul 2004 06:28 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:14 PM.