DeleteCommand="DELETE FROM [users] WHERE (([username] = ?) OR ([username] IS NULL AND ? IS NULL)) AND (([password] = ?) OR ([password] IS NULL AND ? IS NULL)) AND (([Right] = ?) OR ([Right] IS NULL AND ? IS NULL)) AND (([Money] = ?) OR ([Money] IS NULL AND ? IS NULL)) AND (([Label] = ?) OR ([Label] IS NULL AND ? IS NULL))"
这是向导自动生成的
GridView中有username,password,Right,Money,Label这几个字段,在调用删除功能的时候出现"至少一个参数没有被指定值"错误,这是为什么,还有DeleteCommand中的sql语句是什么意思