I need to get the values of USERID and put it in a string.
string strSQL = "SELECT USERID FROM TBUSERS WHERE USERNAME='" + strReportTo + "'";
OdbcCommand myCommand = new OdbcCommand(strSQL, myConnection); myConnection.Close();
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

aartikaur13 reputationPosted Sep 30, 2004, 8:39 PM EDT
ganesh.ha16 reputationPosted Sep 30, 2004, 9:05 PM EDT