<script type="text/javascript">
</script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
vb.net中怎样删除Datagrid中的数据
vb.net中怎样删除Datagrid中的数据
大哥大姐们帮个忙吧
谢谢你们的帮忙
__________________________________________________________________________
1. ''清除DataGrid控件中的数据
DataGrid1.DataSource = Nothing
2。重新绑定
DataGrid1.Databind();
分拿来!
__________________________________________________________________________
lz,你都被盯上了还不自知。
__________________________________________________________________________
故伎重演,呵呵。
__________________________________________________________________________
删除datagrid的数据源,然后重新帮定!
__________________________________________________________________________
DataGrid本身有行删除,加入的功能
__________________________________________________________________________
用sql语句删除,然后重新邦定
__________________________________________________________________________
这个是倒分的。
__________________________________________________________________________
被盯上了?lz干吗了?
__________________________________________________________________________
被怀疑倒分了,那句 "分拿来 "看起来挺嚣张的.
__________________________________________________________________________
有这个语句试试
For Each row As DataGridViewRow In Me.DataGridView1.SelectedRows
Me.DataGridView1.Rows.Remove(row)
Next
以上是删除选定的行,如果要清除所有的,你只要写dataset.clear就行了
__________________________________________________________________________
为什么lz这么慷慨?这么简单的题目给出100分的高分咧?
__________________________________________________________________________
是啊,接分是正道啊
__________________________________________________________________________
哦原来这就是倒分啊,终于让我看到了直播~ ~ ~
__________________________________________________________________________
刚来,不知道分数在论坛里面有什么用处。倒分做什么?
__________________________________________________________________________
這招不錯,高手!
__________________________________________________________________________
我来学习下大家的高超技术
__________________________________________________________________________
嘘~~
小声点
人家都不敢结贴了
__________________________________________________________________________
mvpmvpckp00
===============
ckp看来很想当MVP 哦
__________________________________________________________________________
怎么这贴结的这么慢??
__________________________________________________________________________
还不到10天就绝得慢?
__________________________________________________________________________
哈哈,LZ不敢结贴了....
__________________________________________________________________________
哈哈,跟一下
__________________________________________________________________________
无语~~~~~
__________________________________________________________________________
接分。。
__________________________________________________________________________
什么情况?
__________________________________________________________________________
也给俺点啊~
别自己来啊~
__________________________________________________________________________
我晕,原来csdn还有倒分的,有什么用吗?多个小星星?
__________________________________________________________________________
没用.星星不能代表一切
__________________________________________________________________________
这次他没敢结贴,哈哈
__________________________________________________________________________
jf
__________________________________________________________________________
哈
__________________________________________________________________________
凑个热闹!
__________________________________________________________________________
发表时间: 2007-5-29 16:54:43
ckpckphaha(生) ( ) 信誉:96 Blog
加为好友 2007-5-29 16:55:43 得分: 0
=========================
操,回得也太快了吧~~
__________________________________________________________________________
http://community.csdn.net/Expert/topic/5565/5565827.xml?temp=.6228449
楼主自己看看吧,估计这周就会把你拉出去毙了
__________________________________________________________________________
lz都已经是星星了。难道倒分这么久,现在才被发现??
__________________________________________________________________________
呵呵。。。lz胆子真小。。敢倒分怎么就不敢承认呢?连帖子都不敢结了。。。哈哈哈哈哈
__________________________________________________________________________
vb.net中怎样删除Datagrid中的数据
vb.net中怎样删除Datagrid中的数据
大哥大姐们帮个忙吧
谢谢你们的帮忙
__________________________________________________________________________
1. ''清除DataGrid控件中的数据
DataGrid1.DataSource = Nothing
2。重新绑定
DataGrid1.Databind();
分拿来!
__________________________________________________________________________
lz,你都被盯上了还不自知。
__________________________________________________________________________
故伎重演,呵呵。
__________________________________________________________________________
删除datagrid的数据源,然后重新帮定!
__________________________________________________________________________
DataGrid本身有行删除,加入的功能
__________________________________________________________________________
用sql语句删除,然后重新邦定
__________________________________________________________________________
这个是倒分的。
__________________________________________________________________________
被盯上了?lz干吗了?
__________________________________________________________________________
被怀疑倒分了,那句 "分拿来 "看起来挺嚣张的.
__________________________________________________________________________
有这个语句试试
For Each row As DataGridViewRow In Me.DataGridView1.SelectedRows
Me.DataGridView1.Rows.Remove(row)
Next
以上是删除选定的行,如果要清除所有的,你只要写dataset.clear就行了
__________________________________________________________________________
为什么lz这么慷慨?这么简单的题目给出100分的高分咧?
__________________________________________________________________________
是啊,接分是正道啊
__________________________________________________________________________
哦原来这就是倒分啊,终于让我看到了直播~ ~ ~
__________________________________________________________________________
刚来,不知道分数在论坛里面有什么用处。倒分做什么?
__________________________________________________________________________
這招不錯,高手!
__________________________________________________________________________
我来学习下大家的高超技术
__________________________________________________________________________
嘘~~
小声点
人家都不敢结贴了
__________________________________________________________________________
mvpmvpckp00
===============
ckp看来很想当MVP 哦
__________________________________________________________________________
怎么这贴结的这么慢??
__________________________________________________________________________
还不到10天就绝得慢?
__________________________________________________________________________
哈哈,LZ不敢结贴了....
__________________________________________________________________________
哈哈,跟一下
__________________________________________________________________________
无语~~~~~
__________________________________________________________________________
接分。。
__________________________________________________________________________
什么情况?
__________________________________________________________________________
也给俺点啊~
别自己来啊~
__________________________________________________________________________
我晕,原来csdn还有倒分的,有什么用吗?多个小星星?
__________________________________________________________________________
没用.星星不能代表一切
__________________________________________________________________________
这次他没敢结贴,哈哈
__________________________________________________________________________
jf
__________________________________________________________________________
哈
__________________________________________________________________________
凑个热闹!
__________________________________________________________________________
发表时间: 2007-5-29 16:54:43
ckpckphaha(生) ( ) 信誉:96 Blog
加为好友 2007-5-29 16:55:43 得分: 0
=========================
操,回得也太快了吧~~
__________________________________________________________________________
http://community.csdn.net/Expert/topic/5565/5565827.xml?temp=.6228449
楼主自己看看吧,估计这周就会把你拉出去毙了
__________________________________________________________________________
lz都已经是星星了。难道倒分这么久,现在才被发现??
__________________________________________________________________________
呵呵。。。lz胆子真小。。敢倒分怎么就不敢承认呢?连帖子都不敢结了。。。哈哈哈哈哈
__________________________________________________________________________