Cannot use codebehind using C# in an ASP.NET project in VB.NET
-
I want to add a new webform using C# for the codebehind in an existing ASP.NET application using VB but there is no option under the menu Add new file to select C# webform. (I use Visual Studio .NET) I try to create the aspx and aspx.cs file in a different C# project and copy the files over but when I try to open the web page the browser display the error message that it does not find the class for the codebehind. Is there a way to do it or I have to stuck with one language under a web project. Anybody have any idea or solution for this? I want to gradually convert my project from VB.Net to C#.Net and I hope a lot other people might have the same problem. It is ok if you can show me a link to any website or document on how to do this I will be so happy. Thank in advance. Young Huynh John World Senior Software Engineer