Mischamel
Well-known member
I
DataAdapter1.Update(Dataset11, "PAM")
OleDbUpdateCommand1
Me.OleDbUpdateCommand1.CommandText = "UPDATE Administrator SET AdministratorName = ?, networkinstallation = ?, NetworkP" & _
"ath = ?, [Password] = ?, setupcomplete = ? WHERE (AdministratorName = ?) AND (Ne" & _
"tworkPath = ? OR ? IS NULL AND NetworkPath IS NULL) AND ([Password] = ? OR ? IS " & _
"NULL AND [Password] IS NULL) AND (networkinstallation = ?) AND (setupcomplete = " & _
"?)"
Me.OleDbUpdateCommand1.Connection = Me.OleDbConnection1
Me.OleDbUpdateCommand1.Parameters.Add(New System.Data.OleDb.OleDbParameter("AdministratorName", System.Data.OleDb.OleDbType.VarWChar, 50, "AdministratorName"))
Me.OleDbUpdateCommand1.Parameters.Add(New System.Data.OleDb.OleDbParameter("networkinstallation", System.Data.OleDb.OleDbType.Boolean, 2, "networkinstallation"))