3

I Want to display the CommandText of SqlCommand with all parameter value..

When I Use,

MessageBox.Show(cmd.CommandText);

The messagebox just display,

ex: "insert into nasabah values(@nama,@kontak)"

I Want, the messagebox show the query with all parameter values, example:

"insert into nasabah ('Deni','021899999');
4

0 回答 0