Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Can you have aspx pages written in both C# and VB .Net in a ASP .Net 3.5 website

Can you have aspx pages written in both C# and VB .Net in a ASP .Net 3.5 website

Scheduled Pinned Locked Moved ASP.NET
csharpquestion
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tina P
    wrote on last edited by
    #1

    My subject line is the actual question! Thanks Tina

    T P I 3 Replies Last reply
    0
    • T Tina P

      My subject line is the actual question! Thanks Tina

      T Offline
      T Offline
      Tina P
      wrote on last edited by
      #2

      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?

      A 1 Reply Last reply
      0
      • T Tina P

        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?

        A Offline
        A Offline
        anilpal
        wrote on last edited by
        #3

        HI Tina , Yes i have. Thats possible in .Net

        Regards Anil Pal

        1 Reply Last reply
        0
        • T Tina P

          My subject line is the actual question! Thanks Tina

          P Offline
          P Offline
          Paddy Boyd
          wrote on last edited by
          #4

          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...

          1 Reply Last reply
          0
          • T Tina P

            My subject line is the actual question! Thanks Tina

            I Offline
            I Offline
            Ibrahim Bello
            wrote on last edited by
            #5

            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

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups