public ExecuteScalar ( string sSQL, CommandType oType ) : object | ||
sSQL | string | |
oType | CommandType | |
return | object |
public object ExecuteScalar(string sSQL, CommandType oType)
{
ValidateConnection();
m_oCommand.CommandText = sSQL;
m_oCommand.CommandType = oType;
return m_oCommand.ExecuteScalar();
}
DBWrapper::ExecuteScalar ( string sSQL ) : object |