Вопрос

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