I need to get the values of USERID and put it in a string.

Sep 30 2004 3:17 PM
string strSQL = "SELECT USERID FROM TBUSERS WHERE USERNAME='" + strReportTo + "'"; OdbcCommand myCommand = new OdbcCommand(strSQL, myConnection); myConnection.Close();

Answers (2)