473,320 Members | 1,732 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Creating aspx.cs file manually

I design all of my pages in expression web. I then want to create a code
behind file for the aspx page created by EW in VS 2005. How could I do this
easily?




--
L. A. Jones
May 14 '07 #1
3 5946
Hi, Dave.

Try asking questions about Expression in the expression newsgroups :

microsoft.public.expression.webdesigner
microsoft.public.expression.discussion

....on this same news server.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Dave" <Da**@discussions.microsoft.comwrote in message
news:A1**********************************@microsof t.com...
>I design all of my pages in expression web. I then want to create a code
behind file for the aspx page created by EW in VS 2005. How could I do this
easily?




--
L. A. Jones

May 14 '07 #2
This is not an EW question. I have created my pages in EW, but I want to
create l code behind for these pages using VS 2005 using C#. How can I create
a code behind file manually in VS 2005
--
L. A. Jones
"Juan T. Llibre" wrote:
Hi, Dave.

Try asking questions about Expression in the expression newsgroups :

microsoft.public.expression.webdesigner
microsoft.public.expression.discussion

....on this same news server.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Dave" <Da**@discussions.microsoft.comwrote in message
news:A1**********************************@microsof t.com...
I design all of my pages in expression web. I then want to create a code
behind file for the aspx page created by EW in VS 2005. How could I do this
easily?




--
L. A. Jones


May 14 '07 #3
re:
!How can I create a code behind file manually in VS 2005

There are no tools to convert inline code to code-behind.

Backup your file to another directory; delete the original file;
create a new file with the same name as your original file and make sure
you select the "Place code in separate file" option in the VS 2005 IDE.

Then, re-create your objects in the web form file.
The VS 2005 IDE will create the necessary code-behind.

When you're done, add your custom code to the code-behind file.
Sorry, I wish I had better news for you.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Dave" <Da**@discussions.microsoft.comwrote in message
news:C7**********************************@microsof t.com...
This is not an EW question. I have created my pages in EW, but I want to
create l code behind for these pages using VS 2005 using C#. How can I create
a code behind file manually in VS 2005
--
L. A. Jones
"Juan T. Llibre" wrote:
>Hi, Dave.

Try asking questions about Expression in the expression newsgroups :

microsoft.public.expression.webdesigner
microsoft.public.expression.discussion

....on this same news server.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Dave" <Da**@discussions.microsoft.comwrote in message
news:A1**********************************@microso ft.com...
>I design all of my pages in expression web. I then want to create a code
behind file for the aspx page created by EW in VS 2005. How could I do this
easily?

May 14 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: LIN | last post by:
Hello, Greetings. I am creating a web site which will contain lot of articles. I had been planning to create simple HTML page on the server everytime i posted a article (eg. article12.html )....
10
by: bienwell | last post by:
Hi, I have a question about file included in ASP.NET. I have a file that includes all the Sub functions (e.g FileFunct.vb). One of the functions in this file is : Sub TestFunct(ByVal...
10
by: ptass | last post by:
Hi In asp.net 2.0 an aspx files .cs file is a partial class and all works fine, however, I thought I’d be able to create another class file, call it a partial class and have that compile and...
15
by: David Thielen | last post by:
Hi; My ASP.NET app (C# calling J# under .net 2.0) creates a png file in a subdirectory to display as part of the created page. However, the bitmap will not display due to a security violation. ...
4
by: Neil.Smith | last post by:
I can't seem to find any references to this, but here goes: In there anyway to parse an html/aspx file within an asp.net application to gather a collection of controls in the file. For instance...
1
by: 1388-2/HB | last post by:
I have a class file in my App_Code folder called "clsBasePage.vb" that looks like this: Public Class clsBasePage Inherits System.Web.UI.Page ...stuff... End Class It's a "page" in that it...
13
by: Bob Jones | last post by:
Here is my situation: I have an aspx file stored in a resource file. All of the C# code is written inline via <script runat="server"tags. Let's call this page B. I also have page A that contains...
11
by: Jan | last post by:
Hi, I defined a function like this: Public Function myfunction(ByVal myvar As Object) As String ... Return xyz End Function in aspx file, i use it like this:
16
by: flip2flik | last post by:
Hi. I am using visual web developer express edition and I am using vb.net as the programming language. I want to create a new aspx file on a button click. I will have a template that the new...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.