Hi all
I am getting some error message at the bold part, error is
The type cougnt or throw must be derived from the system.exception
how to correct it.
Thanks
Code:private Boolean ExecuteQuery(string queryString) { SqlCommand SqlCommand = new SqlCommand(); try { SqlCommand = ReturnCommand(); SqlCommand.CommandText = queryString; SqlCommand.ExecuteNonQuery(); } catch(Exception Ex) { throw Ex.Message; }//The type cougnt or throw must be derived from the system.exception }


Reply With Quote
