C#SQL语句的from字句错误
OleDbDataAdapter adapter = new OleDbDataAdapter("select * from check where 电影名称 ='"+varNumber+"'", conn);
------解决方案--------------------check是关键字吧,加个中括号试试
OleDbDataAdapter adapter = new OleDbDataAdapter("select * from [check] where [电影名称] ='"+varNumber+"'", conn);
------解决方案--------------------check和系统关键字check重复了