Exceedinglife's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
Active Members
Active Posts:
91 (0.07 per day)
Joined:
01-July 12
Profile Views:
1,698
Last Active:
User is offline Sep 15 2015 09:11 AM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Windows
Favorite Browser:
FireFox
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
Subaru
Dream Kudos:
0
Icon   Exceedinglife has not set their status

Posts I've Made

  1. In Topic: After login page displaying users data

    Posted 9 Sep 2015

    currently 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
  2. In Topic: After login page displaying users data

    Posted 9 Sep 2015

    i understand this is what i should do to protect sql injection

    .CommandText = "SELECT * FROM dbo.People WHERE UserName = @UserName AND Password = @Password"
    .Parameters.AddWithValue("@UserName", txtUserName.Text)
    .Parameters.AddWithValue("@Password", txtPassword.Text)

    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?
  3. In Topic: After login page displaying users data

    Posted 9 Sep 2015

    what 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
  4. In Topic: After login page displaying users data

    Posted 9 Sep 2015

    winform vb.net
  5. In Topic: Form screen size adjust control sizes

    Posted 4 Sep 2015

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

My Information

Member Title:
D.I.C Head
Age:
25 years old
Birthday:
January 24, 1991
Gender:
Location:
Wisconsin
Full Name:
Andrew
Years Programming:
1
Programming Languages:
Java
HTML
CSS
JavaScript
Little bit of PHP
C# currently learning

Contact Information

E-mail:
Click here to e-mail me

Friends

Exceedinglife hasn't added any friends yet.

Comments

Exceedinglife has no profile comments yet. Why not say hello?