Author: Rawler | Posted on: 8/24/2009 8:26:06 AM | Views : 256

Hi,


Im doing all sql queries using SqlConnection and SqlCommand classes; most of my queries usesSqlCommand.Parameters, what I need to print is the whole sql query with all parameters on it; because I can print the string but it will show me something like this:
INSERT INTO Table1 (Field1, Field2, Field3) VALUES (@Value1, @Value2, @Value3)

how can I make to show it with all already fixed like this:
INSERT INTO Table1 (Field1, Field2, Field3) VALUES ("Brat", "McQueen", "M")


...

Go to the complete details ...