摘要:报告描述了在同组人员吴玉成同学完成学籍管理系统的后台数据库开发的基础上,本人用visual basic完成前台开发过程及其代码。在开发后台数据库的时候,是严格按照软件工程原理的方法做的。但是考虑到本人对开发工具vb不是很熟,所以在前台设计的时候也只是完成了部分的功能。我们把重点都放在数据库的后台设计开发上。对整个数据库做了详细的分析设计。这部分的报告在同组人员吴玉成的报告中。我的报告不再重复。Vb虽然有很多方法和数据库建立连接,也有很多控件可以直接对数据库的数据进行操控,但是为了实现一些有意义的功能,而不是简单的上一条记录下一条记录等查看。与ADO数据访问控件不同,ADO操作数据主要使用程序代码。通过代码创建对象,与数据源连接,执行命令等。
关键字:与sql server 2000建立连接;vb实现
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001254s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.109438s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.001175s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001151s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.000996s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003126s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.000922s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.003649s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.016155s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001386s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 512305 [ RunTime:0.014779s ]