G
Guest
The following code generates the error "...not all code paths return a value" but I can't find the problem. I have tried putting "return;" or "return 0;" just after the close of the "if" statement with no luc
protected void sGetError(SqlException oException, SqlConnection db
int i
sError = ""
if (db != null)
for (i = 0; i < oException.Errors.Count - 1; i++
sError = sError + oException.Errors.ToString() + "/n"
protected void sGetError(SqlException oException, SqlConnection db
int i
sError = ""
if (db != null)
for (i = 0; i < oException.Errors.Count - 1; i++
sError = sError + oException.Errors.ToString() + "/n"