标签: c#
我想在C#中将按钮的值传递给“@rr”,这是正确的吗?
答案 0 :(得分:1)
请改为尝试:
cmdLog.Parameters.AddWithValue("@rr", button2.text);