我现在也是为这个问题伤脑筋吖?总是出错!不过我是连接access的,那位兄弟可以帮忙解决一下!

2007-04-27 17:53
2007-05-09 12:25
2007-05-10 11:36
2007-05-10 11:59
2007-05-10 13:14
2007-05-10 14:34

2007-05-10 14:41
2007-05-10 14:53
2007-05-10 15:23
如果我要查询 表PZBM 但中 SL >5 的怎么写
SqlCommand strSql = new SqlCommand("Select * from Pzbm where sl>5", cnn);
是这样吧
如果5是个变量
int lnInt =5
SqlCommand strSql = new SqlCommand("Select * from Pzbm where sl>?lnInt", cnn);
或是
SqlCommand strSql = new SqlCommand("Select * from Pzbm where sl>?@lnInt", cnn);
2007-05-12 08:39