Can you have aspx pages written in both C# and VB .Net in a ASP .Net 3.5 website
-
Sorry...i was just able to add a new class and or page in VB to a C# project...which clearly suggest that it's possible. The questions is passing data between pages that are written in VB.Net and C# both would also be pretty simple!!! Has anyone done somethign like that before?
-
Sorry...i was just able to add a new class and or page in VB to a C# project...which clearly suggest that it's possible. The questions is passing data between pages that are written in VB.Net and C# both would also be pretty simple!!! Has anyone done somethign like that before?
-
I think the big question is, why would you want to? Makes it hard from a maintenance point of view if things aren't consistent...
-
Yes, but you need to alter your web.config like this: Now create two folders in your App_Code, VB_Code and CS_Code. It's even possible to call up a VB function from C# code and I believe, vice-versa. I'm using VS 2005. Hope this helps