Condition to display the user informationtion

Last post 05-01-2008 8:50 PM by mbanavige. 5 replies.

Sort Posts:

  • Condition to display the user informationtion

    05-01-2008, 10:34 AM
    • Loading...
    • srachuri
    • Joined on 04-10-2008, 8:20 PM
    • Texas
    • Posts 76

    Hi Friends..

     

    I have a question.

    I am creating a user from browser in some applications

    so when i am going to give all the fields in browser each and every time the

    ex: int  ID = rajesh.createuser(textfirstname.text , textlastname.text....................................................................etc...)

    so this ID each and every time when i am going to enter the user information it is having some int number like 1,2,3,4,5,.................

    now my question is that. I need to check wheather user exists perviously or not.with this ID..if exists display that user exists if not continue to cereate new user..

    i am trying to give if(ID .......... some thing i dont know how i need to check this one..

    can any one help me out...

    if any body they dint understand the question let me know.

    thanks

     

     

  • Re: Condition to display the user informationtion

    05-01-2008, 11:42 AM
    • Loading...
    • mbanavige
    • Joined on 11-06-2003, 8:29 AM
    • New England, USA
    • Posts 6,852
    • Moderator
      TrustedFriends-MVPs

    ok - but which one of the controls in the Futures download are you using / having trouble with?

    Mike Banavige
    ~~~~~~~~~~~~
    Dont forget to click "Mark as Answer" on the post that helped you.
    This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
  • Re: Condition to display the user informationtion

    05-01-2008, 11:47 AM
    • Loading...
    • srachuri
    • Joined on 04-10-2008, 8:20 PM
    • Texas
    • Posts 76

    thanks for responce

    if i am going to give like

    if (id != 0 )

    {

     lblresult.text = "new user created";

    }

    else

    {

     //not created

    }

    i dont know wat i need to give in the if condition bec its giving each and everytime different id.. how i need to compare with that id. wheatehr user exists or not to find..

     

    help me

    thanks

     

  • Re: Condition to display the user informationtion

    05-01-2008, 11:49 AM
    • Loading...
    • mbanavige
    • Joined on 11-06-2003, 8:29 AM
    • New England, USA
    • Posts 6,852
    • Moderator
      TrustedFriends-MVPs

    Are you using the "Futures" download controls?

    Mike Banavige
    ~~~~~~~~~~~~
    Dont forget to click "Mark as Answer" on the post that helped you.
    This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
  • Re: Condition to display the user informationtion

    05-01-2008, 11:57 AM
    • Loading...
    • srachuri
    • Joined on 04-10-2008, 8:20 PM
    • Texas
    • Posts 76

    I dont know about that..

    but If I am going to check with webservices like the user exists or not.. its exisiting each time..

    is there any thing that i can check with that..

     

  • Re: Condition to display the user informationtion

    05-01-2008, 8:50 PM
    • Loading...
    • mbanavige
    • Joined on 11-06-2003, 8:29 AM
    • New England, USA
    • Posts 6,852
    • Moderator
      TrustedFriends-MVPs

    srachuri:

    I dont know about that..

    Ok - If you don't know then i'm pretty sure that you are not using any of the Futures controls.  The Futures controls are a very specific set of preview controls that you need to download.  They are not something included with VS.  This particular forum section you are posting to is intended only for threads related to those specific Futures controls.

    For database questions or Web Service questions you can look at one of these forums:  http://forums.asp.net/default.aspx?GroupID=16

    Or if you have questions about the security / Membership system, you can try this forum: http://forums.asp.net/25.aspx

    Remember - alway post to the most specific forum whose topic relates directly to your question.

     

    Mike Banavige
    ~~~~~~~~~~~~
    Dont forget to click "Mark as Answer" on the post that helped you.
    This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
Page 1 of 1 (6 items)