文本类型的,呵呵
[CODE]sql = "select top 9 * from tablename1 where pan=1 order by addtime desc"
在sql里sql = "select top 9 * from tablename1 where pan="1" order by addtime desc"这样试试吧...[/CODE]我记得sql可能会出现空格的