DataGridView控件 [英] DataGridView Control

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

问题描述

嗨!

我正在使用具有ms访问权限的VB.NET2005.
在我的应用程序中,我使用了一个DataGridView控件.
现在,我想使用gridview将多个记录添加到数据库.

我尝试搜索它,但在vb.net中未得到结果.
所以请帮我提供示例代码.


谢谢!

Hie!

I am using VB.NET 2005 with ms access.
IN my application i used one DataGridView Control.
Now i want to add multiple records using gridview to databse.

I tried to search for it but i didnt get result in vb.net.
so please help me with sample code.


Thank you!

推荐答案

您只需要从控件中捕获要存储的数据,然后使用访问权限将其放入数据库即可.互联网上有很多例子,您的书也是如此.如果您遇到问题,应该尝试自己做,并发布一些带有特定问题的代码.
You need simply to catch the data you want to store, from the control, and put it into your DB using access. The internet abounds with examples, as do your books. You should try to do it yourself and post some code with a specific question if you''re stuck.


Update Database Sample


The internet is the best place to learn about new controls Google is your best tool for finding information


这篇关于DataGridView控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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