Results 1 to 2 of 2

Thread: VB.net to ASP.net

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2004
    Posts
    9

    VB.net to ASP.net

    Hi
    I have written a program in VB.net that basically consists of labels, checkboxes and if statements. I want to put it on my website however and have been told that I am unable to do it using VB.net language. Is there an easy way of converting the VB.net to asp so that i can put it on the website?
    Cheers
    dan

  2. #2
    Addicted Member rdove's Avatar
    Join Date
    Dec 2002
    Location
    Indianapolis
    Posts
    251

    Re: VB.net to ASP.net

    Well..you can't directly transfer you vb.net program to asp.net because of the difference between web forms and windows forms. I would create a new ASP.NET web project and layout the webform with all your controls. To keep it easy I would name the controls the same as you have them now. Then you should be able to pretty much copy and past code over. The code in your Form_load event will be placed in the Page_load event in your asp.net project. Everything else should transfer over almost perfectly.
    ~Ryan





    Have I helped you? Please Rate my posts.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width