C#点名程序可以帮助老师在课堂上进行随机点名,帮助老师更好的进行教学工作。本实例采用Visual Studio 2008作为开发工具,采用C#语言开发。为了简单数据存储采用文件的形式。在系统的bin目录下用lottery.asf存放学生的信息。lottery.asf是Access数据库,为了安全改名为lottery.asf。通过参与此系统的开发,读者可以了解信息管理系统的需求分析、设计和实现的完整过程,掌握Access数据库的基本管理方法、常用SQL语言的使用方法以及C#数据库开发技术,积累有效的数据库应用系统实战经验。
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.000864s ]
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.083570s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.001055s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001156s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.000909s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003185s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.000857s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.003630s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.019346s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001300s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 72548 [ RunTime:0.015240s ]