Good day Please i have a datagridview and i use it enter 4 informations at once but dont want the datagridview to exceed more than 4 rows (i dont want the user to enter more than 4 rows at once)
How to Specify the amount of rows in datagridview
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

ali tuncerRank #1,499 · 1.1K reputationPosted Oct 19, 2017, 1:12 AM EDT
dataGridView1.Rows.Count will return you datagrid row count, you can check if it exceeds 4 before you save..
Oladotun Obileye86 reputationPosted Oct 19, 2017, 2:43 PM EDT