Here I will show you step by step procedure how to create a Single File Mode Example in ASP.NET using Visual Studio 2005 or Visual Studio 2008.What is Single File Mode Application?
In a typical ASP.NET application, you have a UI page (ASPX file) and a code behind (.cs or .vb) file. A Single File Mode application means you will write and compile your C# or VB.NET code in the ASP.NET page itself inline. There will be no code behind file.
To create this application, I am using Visual Studio 2008 but you can use Visual Studio 2005 if you are running Visual Studio 2005.
Let's try our sample.
The Steps are:
Thanks