比如:我想比较成绩。小于某个分值的列出来。
例:double i;
CString sql="select score2.score from score2 where score.score<i";
ReadtoList();
不知道这样写对吗?
反正我用是不对、出现什么#3092错误。。
请高手帮写个正确的。。
例:double i;
CString sql="select score2.score from score2 where score.score<i";
ReadtoList();
不知道这样写对吗?
反正我用是不对、出现什么#3092错误。。
请高手帮写个正确的。。
sql.Format("select score2.score from score2 where score.score<%d",i);