|
-
Dec 9th, 2004, 12:05 PM
#1
Thread Starter
New Member
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
-
Dec 9th, 2004, 12:09 PM
#2
Addicted Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|