【发布时间】:2013-02-04 03:13:18
【问题描述】:
我在我的 SqlCommand 变量中使用 Parameters.AddWithValue。
我可以通过说将输出转储到文本框
tb.Text = command.CommandText.ToString();
但它不会将我的参数值转储到文本框中。
关于如何验证参数是否“ok”的任何建议?
我正在使用 VS2012 为 Windows 8 使用 WinForm
【问题讨论】:
-
在
Intellitrace查看它。 -
看看我对这个问题的回答stackoverflow.com/questions/2611446/…
标签: c# sql string winforms sqlcommand