Friday, February 5, 2016
Clear Grid View rows
[code] for (int i = 0; i < dataGridView1.Rows.Count ; i++) { dataGridView1.Rows.RemoveAt(i); i--; if (dataGridView1.Rows.Count == 0) break; } [/code]
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment