Alvin said:
it should be webform1.aspx by default. if you take a peek at the property
pages on the right side of the screen it should be there. double click it
and the form should appear with whatever was saved to it last.
Thanks for your reply, Alvin:
I have opened the birthday.aspx from the project and selected
View->Designer and got the following errors:
---------------------------
Microsoft Development Environment
---------------------------
The class file 'birthday.aspx.cs' specified as the codebehind for
'birthday.aspx' could not be loaded.
Make sure that the codebehind attribute in the page or control directive
properly references an existing code behind file.
---------------------------
OK
---------------------------
Actually the birthdays.aspx.cs file is already there and opened in the
project in another tab/window.
---------------------------
Microsoft Development Environment
---------------------------
There is no editor available for
'C:\Inetpub\wwwroot\WebApplication1\birthday.aspx'.
Make sure the application for the file type (.aspx) is installed.
---------------------------
OK
---------------------------
Here is the first line .aspx file:
<%@ Page language="c#" Codebehind="birthday.aspx.cs"
AutoEventWireup="false" Inherits="WebApplication1.WebForm1" %>
Oh! Nevermind, I have just renamed "birthday.aspx.cs" to
"birthdays.aspx.cs" in the above lines. It gave an error
first and then started working.
Holy crap...
I always used the Save as option from the IDE and never renamed any
files from outside the IDE. Why would it do that!!??
Looks like this stuff is very fragile!!
May be I should look for a better IDE... Thanks.
Regards,
Sarah