访问数据库问题 [英] access database question

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

问题描述

不确定这是否在论坛上的正确位置,但这是我的问题

Not sure if this is in the right spot on the forum but here is my question

im使用ole使用c#2003访问数据库,现在我的代码直接访问数据库,由于我相信可能会导致问题,所以想将其全部移至数据集,我从未使用过数据集,但快速浏览了一下它们看起来很简单,我的问题是,如果我移到现在拥有的代码上,是否必须从根本上清除所有代码,还是可以轻松地将其转移到读/写数据集上?

im using c# 2003 access database using ole and right now my code accesses the database directly, with I belive might cause problems so wanted to move it all over to datasets, I have never used datasets but with a quick glance at them it looks easy, my question is do I have to basicly whip out all my code if I move to them that I have now or can it be transfered over to read/write the dataset farily easy?

非常感谢

推荐答案

您不需要花费数据访问代码.如果愿意,可以保留代码和数据集,只要它们确实有意义
You don't need to whip out your data access code. If you want you can keep your code and the dataset both if they really make sense


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

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