G
Guest
Hi!
I wrote a procedure in my sybase database this procedure is one line only,
and attemp to insert a record in a table generating a constraint violation of
a primary key and an exception.
I do this only for test...
then when I call the procedure from .net:
com.Connection = conn
com.CommandType = CommandType.StoredProcedure
com.CommandText = "PRUEBA"
Dim valor
Try
conn.Open()
com.ExecuteNonQuery()
Catch ex As System.Data.OleDb.OleDbException
ms = ex.Message
finally
conn.Close()
End Try
there is not excetion catch!!! , I try several code modification whitout
result...
I wrote a procedure in my sybase database this procedure is one line only,
and attemp to insert a record in a table generating a constraint violation of
a primary key and an exception.
I do this only for test...
then when I call the procedure from .net:
com.Connection = conn
com.CommandType = CommandType.StoredProcedure
com.CommandText = "PRUEBA"
Dim valor
Try
conn.Open()
com.ExecuteNonQuery()
Catch ex As System.Data.OleDb.OleDbException
ms = ex.Message
finally
conn.Close()
End Try
there is not excetion catch!!! , I try several code modification whitout
result...