你知道为什么我会在这里得到一个错误吗?我正在尝试执行参数化查询以插入到数据库中
Imports System.Data.SqlDbType --Imported the Correct Library
cmd.Parameters.Add("@RichTextBox1 as String", SqlDbType.String) --Error Here
cmd.Parameters("@RichTextBox1").Value = {RichTextBox1_SuggestionBox.Text}发布于 2017-07-31 21:43:37
将代码更改为
cmd.Parameter.Add("@RichTextBox1",SqlDbType.NVarChar).Value = RichTextBox1_SuggestionBox.Texthttps://stackoverflow.com/questions/45417565
复制相似问题