awaismalik82
July 2nd, 2004, 12:55 AM
String query1 = "Select COUNT(USERNAME) As TEMP From EB_USERROLES Where ROLEID="+roleInfoObj.id;
this is my query and when i call the executeScalar method as,
eBrokerageCommand = new SqlCommand (query,eBrokerageConn);
int rowCount = (int) eBrokerageCommand.ExecuteScalar();
it gives me an execption. I really dont know whts wrong plz help!
Awais Malik
this is my query and when i call the executeScalar method as,
eBrokerageCommand = new SqlCommand (query,eBrokerageConn);
int rowCount = (int) eBrokerageCommand.ExecuteScalar();
it gives me an execption. I really dont know whts wrong plz help!
Awais Malik