摘要
目的:介绍利用VC++6.0进行Sql Sever2000数据库信息的查询和打印技术。方法:利用VC++6.0的ADO(ActiveX data object)技术,进行Sql Sever2000数据库中数据的查询。通过在基于对话框的程序中添加文档/视图架构实现打印及打印预览。结果:实现了从Sql Sever2000数据库中进行数据的查询和对所查询数据进行打印。结论:提供了在基于对话框的程序中实现打印的一种方法。
Objective To introduce database information query and its printing technology with the Sql Sever 2000 software based on the VC++6.0 software. Methods The data query from the sql Sever 2000 database made use of ADO technology of VC++6.0 and implemented the print and print preview via append document and view frame in the procedure of the dialog box. The data query from Sq1 Sever 2000 database was implemented and the queried data was printed. Conclusion It offers one printing method in the dialog box procedure.
出处
《医疗卫生装备》
CAS
2009年第6期53-54,共2页
Chinese Medical Equipment Journal