SQL Query by login

Discussion in 'ASP .Net Web Services' started by Bret, Sep 30, 2006.

  1. Bret

    Bret Guest

    I am VB developer learning ASP.net.
    Have successfully creating a Login page and a GridView. My question is:
    After a user successfully logins, I want to capture there login ID and use it
    to feed a parameter in the SQL statement in the Gridview (or dataset?) so the
    results returned of course are only the logged in user. What is the best way
    to accomplish this?

    thanks in advance.
    Bret, Sep 30, 2006
    #1
    1. Advertising

  2. Bret

    Bret Guest

    sorry I've posted this question twice
    "Bret" wrote:

    > I am VB developer learning ASP.net.
    > Have successfully creating a Login page and a GridView. My question is:
    > After a user successfully logins, I want to capture there login ID and use it
    > to feed a parameter in the SQL statement in the Gridview (or dataset?) so the
    > results returned of course are only the logged in user. What is the best way
    > to accomplish this?
    >
    > thanks in advance.
    >
    Bret, Sep 30, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. William F. Robertson, Jr.
    Replies:
    0
    Views:
    429
    William F. Robertson, Jr.
    Jul 2, 2003
  2. Hermit Dave

    Forms Login Page Not Login Out

    Hermit Dave, Jan 12, 2004, in forum: ASP .Net
    Replies:
    5
    Views:
    454
    Hermit Dave
    Jan 13, 2004
  3. Edward
    Replies:
    4
    Views:
    4,585
    William \(Bill\) Vaughn
    Apr 10, 2006
  4. Anonymous
    Replies:
    0
    Views:
    1,441
    Anonymous
    Oct 13, 2005
  5. ecoolone
    Replies:
    0
    Views:
    743
    ecoolone
    Jan 3, 2008
Loading...

Share This Page