G
Guest
Hi,
I'm very new to C# and am working on using a stored procedure to MSSQL with
two date parameters. The first problem I'm having is that SQL appears to be
throwing an exception (or my parameters are not being passed thru as I think
they are).
1. How can I see exactly what C# (ADO) is sending to the server?
2. How can I see the actual results including messages and errors returned?
I am able to run a stored procedure with no parameters, so I think I have
that part working, but I am unable to figure out what I'm doing wrong with
the parameters. I'd also appreciate seeing a code snippet that actually
passes a date as a parameter to a stored procedure.
Thanks,
CD
I'm very new to C# and am working on using a stored procedure to MSSQL with
two date parameters. The first problem I'm having is that SQL appears to be
throwing an exception (or my parameters are not being passed thru as I think
they are).
1. How can I see exactly what C# (ADO) is sending to the server?
2. How can I see the actual results including messages and errors returned?
I am able to run a stored procedure with no parameters, so I think I have
that part working, but I am unable to figure out what I'm doing wrong with
the parameters. I'd also appreciate seeing a code snippet that actually
passes a date as a parameter to a stored procedure.
Thanks,
CD