Using a default value in a cell in the datagridview
I have a datagridview in which the user can add freely new rows.
But in the row there is one hidden cel which holds the ID of an installation.
That cell should automatically have the ID filled in and the user shouldn't have to worry about it.
But how do I automatically fill in the ID in that cell when the user adds a new row?
edit : solved my problem thx to this link :
http://forums.microsoft.com/MSDN/Sho...52467&SiteID=1
I hope it will help some1 else with their problem with the datagridview.
Re: Using a default value in a cell in the datagridview
Checkout DataGridView UserAddedRow event.