一般数据库问题 [英] general database question

查看:84
本文介绍了一般数据库问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我今天开始尝试使用visual studio。我已经使用VB6多年了。而且我正在努力继续前进。

I started today to try out visual studio. I have been using VB6 for some years now. And i'm trying to move on.

我一直在VB6中使用DAO数据库方法,但使用它的运气并不乐观。

I have been using the DAO database approach in VB6, but have not much luck using it is Visual studio.

我习惯使用以下代码:

Set Db = OpenDatabase(mypath & "dbname.mdb")
Set Rs = DbProd.OpenRecordset("SELECT...")

Do While Not rs.EOF
      list1.additem rs!fieldname
     rs.movenext   
loop
db.close


我喜欢自己填充vb控件。

I like to populate the vb controls myself.

我的问题是,最好的方法是什么:

My question is, what is the best way to go:

坚持使用DAO?或者使用ODBC更好/更快地使用数据库服务器情况

stick with DAO ? Or is it better/faster to use a database server situation using ODBC

您推荐其他解决方案吗?

are there other solutions you recommend ?

请咨询,

Michael

推荐答案

https://msdn.microsoft.com/en-us/library/ms668604(v = vs.110).aspx

http://www.wpf-tutorial.com/listview-control/introduction/

http://www.wpf-tutorial.com/listview-control/introduction/


这篇关于一般数据库问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆