sql语句错误,where前面缺少空格,把语句改为:comm.CommandText = "select * from "+Tablename+" where Row between 2 and 3";
comm.CommandText = "select * from "+Tablename+" where Row between 2 and 3";where 前面加空格
你把你的sql语句输出来看看, 是不是表名和where连起来了。