Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

clearing a datagridview

$
0
0

Hi! how can i clear all the cells of the datagridview (when are bounded) this is my scenario:

i use a DataGridView to register products for a sale ticket, but if i decide cancel the ticket i have to clear the products, there is an event, datagridview.clear but it returns "the list cannot be cleared" something like that


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>