This is probally a pretty simple fix but I can't seem to find an answer anywhere. I have page level Trace enabled and I'm trying to Display SQL sttaement that is passed to my SQL database durin a Update.
The Following code:
Trace.Write("SQL Stmt", SqlDataSource1.UpdateCommand)
returns
UPDATE [HazConType] SET [HazConType] = @HazConType WHERE [HazConTypeID] = @HazConTypeID
in the Trace Information section.
What I would like returned is the Actual values that are being passed for '@HazConType' and '@HazConTypeID'.
Does anyone know how to do this? Appreciate any assisatnce.
Thanks in Advance,
-MARK-
Mark Buckley
The Following code:
Trace.Write("SQL Stmt", SqlDataSource1.UpdateCommand)
returns
UPDATE [HazConType] SET [HazConType] = @HazConType WHERE [HazConTypeID] = @HazConTypeID
in the Trace Information section.
What I would like returned is the Actual values that are being passed for '@HazConType' and '@HazConTypeID'.
Does anyone know how to do this? Appreciate any assisatnce.
Thanks in Advance,
-MARK-
Mark Buckley