simple question but want help.....

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default simple question but want help.....

    Hi, I got a ASP problem wanna ask....

    Sql_check = "select * from user_table where user_id =' " & user & " ' "
    Set Rs_check = Conn.Execute(Sql_check)

    In the user_table , there is an attribute called password, I wanna display
    the password of the specified user name, what should I do?? Is that there is
    something like Rs_check.password?? Please help


    THANKS alot....


    chris Guest

  2. Similar Questions and Discussions

    1. Need Simple Answer to Simple Contribute/Firefox question
      Hello all; I've tried the Adobe help in CS3, tech support, phone support, this forum, other forums, Mozilla, and nowhere can I get a straight...
    2. simple question
      Hi there, As an absolute beginner I have a simple question. I have a scene with two layers. Layer 1 should start again at frame 1 while Layer 2...
    3. SImple question?
      Can anyone please tell me how to keep 2 windows open so that as soon as I click on one of them, the other one does not minimise and have to be...
    4. another simple question.
      select from db where id = 3... if it doesn't exist, how can i display a message saying so. for example: "3" is not a valid selection. ...
    5. A simple question but ..
      Hi Can someone give me a link where i can see (and do it my self) how to create a shape tweening? (Flash MX) Yes i am a newbie but want to learn...
  3. #2

    Default Re: simple question but want help.....

    Simple questions are fine. :]
    <%
    Sql_check = "SELECT [Password] FROM user_table WHERE user_id='" & user & "'"
    ''Did you want spaces before and after the '?
    Set Rs_check = Conn.Execute(Sql_check)
    If Not Rs_check.EOF THen
    Response.Write "The password is " & Rs_check.Fields.Item(0).Value
    Else
    Response.write "That user wasn't found."
    End If

    Rs_check.Close : Set Rs_check = Nothing
    Conn.Close : Set Conn = Nothing
    %>


    Also, please read these:

    [url]http://www.aspfaq.com/show.asp?id=2096[/url]
    [url]http://www.aspfaq.com/show.asp?id=2080[/url]

    Ray at work


    "chris" <router88@sinaman.com> wrote in message
    news:bra0hh$lkd81@imsp212.netvigator.com...
    > Hi, I got a ASP problem wanna ask....
    >
    > Sql_check = "select * from user_table where user_id =' " & user & " ' "
    > Set Rs_check = Conn.Execute(Sql_check)
    >
    > In the user_table , there is an attribute called password, I wanna display
    > the password of the specified user name, what should I do?? Is that there
    is
    > something like Rs_check.password?? Please help
    >
    >
    > THANKS alot....
    >
    >

    Ray at Guest

  4. #3

    Default Re: simple question but want help.....

    Thanks alot! It's too good for me already!

    ^_^ cheers~

    "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> ¼¶¼g©ó¶l¥ó·s»D
    :#VU3wl$vDHA.1272@TK2MSFTNGP12.phx.gbl...
    > Simple questions are fine. :]
    > <%
    > Sql_check = "SELECT [Password] FROM user_table WHERE user_id='" & user &
    "'"
    > ''Did you want spaces before and after the '?
    > Set Rs_check = Conn.Execute(Sql_check)
    > If Not Rs_check.EOF THen
    > Response.Write "The password is " & Rs_check.Fields.Item(0).Value
    > Else
    > Response.write "That user wasn't found."
    > End If
    >
    > Rs_check.Close : Set Rs_check = Nothing
    > Conn.Close : Set Conn = Nothing
    > %>
    >
    >
    > Also, please read these:
    >
    > [url]http://www.aspfaq.com/show.asp?id=2096[/url]
    > [url]http://www.aspfaq.com/show.asp?id=2080[/url]
    >
    > Ray at work
    >
    >
    > "chris" <router88@sinaman.com> wrote in message
    > news:bra0hh$lkd81@imsp212.netvigator.com...
    > > Hi, I got a ASP problem wanna ask....
    > >
    > > Sql_check = "select * from user_table where user_id =' " & user & " ' "
    > > Set Rs_check = Conn.Execute(Sql_check)
    > >
    > > In the user_table , there is an attribute called password, I wanna
    display
    > > the password of the specified user name, what should I do?? Is that
    there
    > is
    > > something like Rs_check.password?? Please help
    > >
    > >
    > > THANKS alot....
    > >
    > >
    >
    >

    chris Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139