问题描述
- vb.net 至少一个参数没有被指定值
-
Dim Name_CN As String = Name_CN_TextBox.Text
Dim Personal_guid
Personal_guid = Message_Oprations.DataGridView1.CurrentRow.Cells(14).Value.ToString cn = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:Userstodd.geDocumentsVisual Studio 2010Projects9.16WindowsApplication4information.mdb;Persist Security Info=False") cn.Open() Dim sql4 As String = "update Personal_table set Name_CN = '" & Name_CN & "' where Job_guid ='" & Personal_guid & "'" cm = New OleDbCommand(sql4, cn) cm.ExecuteNonQuery() cn.Close() cn.Open()
已经单个测试过,Name_CN和Personal_guid都有值
时间: 2025-01-23 14:49:50