Hi, David.
Do you mean that it's possible to do this :
<%@ Page language="c#" Codebehind="SimplePage.aspx.vb"
AutoEventWireup="false" Inherits="SimplePage" %>
Why would you want to do that ?
And, does it really work ? ( I've never tried it. )
In Whidbey, won't the new partial class syntax eliminate that possibility ?
<%@ Page Language="C#" CompileWith="test-difflangCS.aspx.cs"
ClassName="test_difflangCS_aspx" %>
Notice that both CompileWith and classname incorporate the page's name.
That should preclude what you're saying can be done now.
Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================
"David Anton" <Da********@discussions.microsoft.com> wrote in message
news:2E**********************************@microsof t.com...
The page language is the language used for the actual aspx page, not the code
behind file. It's possible to have your aspx pages in C# while your code
behind files are VB (and vice versa).
Our Instant C# converter can do this for you.
Download the Demo Edition at www.instantcsharp.com
David Anton
www.tangiblesoftwaresolutions.com
Home of the Instant C# VB.NET to C# converter
and the Instant VB C# to VB.NET converter
"GMartin" wrote:
Are there any significant stopping blocks from taking an ASPX Page
someone designs in VB.NET, and redoing the Code behind page to use C#?
Is the Code behind the only thing one would need to change? ...That
and the Page Language="vb" in the HTML? (Are there differences to the
way each lays out the HTML?)
I wouldn't mind some utilities, but would also like to know what's
involved in doing it manually.