TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
mathieusgirl2002
NA
5
0
I need Help building this query:
Sep 30 2004 3:08 PM
This is in C# string strSQL = "SELECT USERID FROM TBUSERS WHERE USERNAME='" + strReportTo + "'"; OdbcDataReader dr = null; OdbcCommand myCommand = new OdbcCommand(strSQL, myConnection); if(dr.Read()) { Response.Write (dr); } myConnection.Close(); I just need to get a userid in odbc.If you can help I would appreciate it!
Reply
Answers (
1
)
Request object
I need to get the values of USERID and put it in a string.