I have a sql server database that I want to bring into a datagrid. I want to use DBAccess as the way to do this. As of right now I have: _dba = DBAccess("server=server;database=database;user=user;password=password") I need to write this data into a dataset and be able to insert and update into the database. Can anyone point me in the right direction for some tutorials or give me some advice on this? Any help is appreciated. Thanks.

有帮助吗?

解决方案

http://www.dotnetspider.com/resources/41983-ADO-Net-Architecture.aspx

it is about ado.net disconnected architecture. in the example they write a select query and give the result to a dataset. and then show it in a datagridview. i hope it helps.

其他提示

Take a look a this post, it is really easy :)

http://mka-soft.com/learn-db/44-database-tutorial-02-datagridview-an

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top