views:

298

answers:

1

i am using data grid view in C# winforms, lets say there are n records that i am displaying after that the (N+1)th empty row is always displayed. how to make it not show\hide

+2  A: 

Set AllowUserToAddRows property as false.

danish
:) that simple... thanks
Junaid Saeed