Asp.net 使用where条件更新AccessDataSourceCCE
正在尝试使用visual studio更新asp中的access数据库Asp.net 使用where条件更新AccessDataSourceCCE,asp.net,sql,ms-access,Asp.net,Sql,Ms Access,正在尝试使用visual studio更新asp中的access数据库 有人能帮我吗 在给定字符串参数时尝试使用单引号 accessDatabase2.UpdateCommand = "UPDATE [Rooms] SET [Occupancy] = 1 Where [RoomType] = 'Single';" Exception Details: System.Data.OleDb.OleDbException: No value given for one or more requ
有人能帮我吗 在给定字符串参数时尝试使用单引号
accessDatabase2.UpdateCommand = "UPDATE [Rooms] SET [Occupancy] = 1 Where [RoomType] = 'Single';"
Exception Details: System.Data.OleDb.OleDbException: No value given for one or more required parameters.
accessDatabase2.UpdateCommand = "UPDATE [Rooms] SET [Occupancy] = 1 Where [RoomType] = 'Single';"