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)
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Oladotun ObileyePosted Oct 19, 2017, 6:43 PM
ali tuncerPosted Oct 19, 2017, 5:12 AM
dataGridView1.Rows.Count will return you datagrid row count, you can check if it exceeds 4 before you save..