471,627 Members | 1,483 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,627 software developers and data experts.

DataGridView Control

Can someone show me how to delete all the items within my gridviewcontrol so
I can repopulate with new data?

Thanks
Dec 9 '05 #1
2 1112
TR
Are you referring to the standard Datagrid?? If so, then you would use <name
of your dataset>.clear()
ex: dsDataset1.clear()

"dm1608" <dm****@spam.net> wrote in message
news:u0*************@tk2msftngp13.phx.gbl...
Can someone show me how to delete all the items within my gridviewcontrol
so I can repopulate with new data?

Thanks

Dec 9 '05 #2
This is (can be) done 'automatically" by DataGridView - take a good look at
all available properties of this control.

"dm1608" wrote:
Can someone show me how to delete all the items within my gridviewcontrol so
I can repopulate with new data?

Thanks

Dec 30 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by DraguVaso | last post: by
7 posts views Thread by Mitchell S. Honnert | last post: by
reply views Thread by jeastman - Hotmail | last post: by
1 post views Thread by Jeff | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.