- 1、本文档共11页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
新疆农业大学
英文文献翻译
题 目: Visual Basic程序设计课程教学网站的设计与 实现 姓 名: 陈春 学 院: 计算机与信息工程学院 专 业: 计算机科学与技术 班 级: 042 学 号: 044632208 指导教师: 罗江岩 职称:讲师 2007年12月25日 新疆农业大学教务处制
Visual Basic Database ConnectivityAn Introductory Guide
1. Create the VB .Net Application
Create a blank VB .Net solution in your account and add a newproject to the solution. This should automatically create a blankform for you. Also copy the Authors.mdb database file from the COMP315 library folder into your account.
2. Using Data Adapters and Data Sets
To manipulate data in an access database you need to use a data adapter to connect to the database and a data set to manipulate the data.
3. Creating the Data Adapter
To create a Data Adapter that contains the SQL statement you want to populate the dataset with, do the following: Click on the Data tab in the tool box and then double click on the OleDbDataAdapter control to add it into the form. The Data Adapter Configuration Wizard will automatically appear to help you configure the Data Adapter.
Figure 1. Location of the Data tab in the toolbox.
Click on Next to move to the next screen. Now the Data connection to use box should be blank so click on the New Connection button to configure the new connection. Select the Provider tab and then select Microsoft Jet 4.0 OLE DB Provider and then click on Next.
In section 1 where it asks for the database to use, click on the … button and then navigate to and select the Authors.mdb database and click on the Open button.. Leave section 2 as it is. Your screen should look similar to this:
Figure 2. Completed Data Link Properties.
Click on the Test Connection button and you should get a message saying Test Connection Succeeded. If you don’t then check you have foll
您可能关注的文档
最近下载
- 广东省烟草专卖局(公司)招聘考试真题2024.docx
- 中小学校长专业发展的理论与演进模式.ppt VIP
- 2024年主任医师(正高)-血液病学(正高)考试历年高频考点题库含答案.docx VIP
- 2025年操作工技能考核考试-手工造型工笔试考试历年典型考题及考点含含答案.docx
- 我国药品管理动态及新法规解读-增补-2025执业药师继续教育答案.docx VIP
- DVD光头识别培训资料.pdf VIP
- 《初中生网络安全教育主题班课件》.ppt VIP
- 血液吸附技术在危重症中的应用.pptx VIP
- 2023年主任医师(正高)-血液病学(正高)考试历年真题集锦附带答案.docx VIP
- 八年级上册全部古诗词(18首).pdf VIP
文档评论(0)