Reputation: 0 Apprentice
- Active Members
- Active Posts:
- 91 (0.07 per day)
- 01-July 12
- Profile Views:
- Last Active:
- Sep 15 2015 09:11 AM
- OS Preference:
- Favorite Browser:
- Favorite Processor:
- Favorite Gaming Platform:
- Your Car:
- Dream Kudos:
Posts I've Made
Posted 9 Sep 2015currently i only have it so i check if the user exists in the database.
If the user exists then i open up a new form
im not doing anything with the data of the current user
how do i retrieve the user the logged in?
i enter the information into a textbox and check a database
i would like to get the id of the user that logs in once i have the id i can write sql to get the rest of the users data from the db
Posted 9 Sep 2015i understand this is what i should do to protect sql injection
.CommandText = "SELECT * FROM dbo.People WHERE UserName = @UserName AND Password = @Password"
now ether passing an id or dataset
im thinking the id i will try to do to populate my new form with the specific users data
what would i do to start create a method and pass the user into it?
Posted 9 Sep 2015what would you suggest?
what would be the best practice.
and could i get a lil example?
it doesnt sound very hard to do.
ive done it quiet awhile ago in C# just need a refresher and im teaching myself VB for my new job.
I figured this will be some good practice
Posted 9 Sep 2015winform vb.net
Posted 4 Sep 2015Ok yes that is what i mean.
Then we are using VB.Net
Thank you for clearing that up for me.
I am working on trying to have the company migrate to Visual Studio 2012 or 2013 which would be nice.
This is my first time ever using 2008.
- Member Title:
- D.I.C Head
- 24 years old
- January 24, 1991
- Full Name:
- Years Programming:
- Programming Languages:
Little bit of PHP
C# currently learning
- Click here to e-mail me
Exceedinglife hasn't added any friends yet.