r/visualbasic • • Aug 04 '21

Login Page using asp.net on visual basic 2019

im trying to create a web based login page that connects to an sql database but i can't quite figure it out. does any have a full program that would open in visual studio 2019 so i can reverse engneer it.

maybe if you can add a second page that has 3 functioning buttons that would be great

7 Upvotes

6 comments sorted by

1

u/mitzman Aug 05 '21

Asking for full code? Did you not try to do your homework first?

1

u/Ziad03 Aug 05 '21

I looked up tutorials and tried to do it but kept running into a parsing error so I wanted to compare what I did versus someone else's to know what caused the error. I found the problem and fixed it now

1

u/mitzman Aug 05 '21

That's fine but you should post your code so we can point you in the right direction. This post just sounds like you have homework and wanted someone to do it for you.

1

u/Ziad03 Aug 05 '21

Yeah I realised that but this for a personal project for my home storage server I was trying to restrict people's access to certain data using this. The problem turned out to be just a semi colon was written as a colon instead and visual studio was not telling me that.

1

u/dwneder Aug 05 '21

The reasons for a login page are numerous. Securing the content in your page, tracking who is using it and when, creating a pay wall and numerous others. You need to think through this carefully. If it's just a matter of giving your users something to do when they hit your page, just put a button in the middle of the page of your default.aspx and link to your content page.