Here Mudassar Ahmed Khan has explained with an example, how to prevent / disable / hide adding of New Row to DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.
This article will explain two ways to prevent / disable / hide addition (creation) of New Row in DataGridView.
1. Using Properties Window.
2. Using Code.
↧