what's wrong?

  • Thread starter Thread starter Hrvoje Voda
  • Start date Start date
H

Hrvoje Voda

What is wrong with this code line ?

DataRow[] Urows = db.dataSetAccounts.Users.Select("UserID='" +
nUserID.ToString() + "'" );



Hrcko
 
Assuming there are no exceptions thrown and your resultset is empty, make
sure your UserID is a string type. Your statement infers that the UserID is
a string type.
 
Back
Top