Click here to Skip to main content
15,899,313 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
after datagridview's binding with data i want to fill remaining space with blank rows. how can i do this?
Posted

1 solution

Hi Muhamad Faizan Khan,

From what I know, it's not possible to add empty rows to a bound DataGridView - if you really want "empty" rows you have to add "dummy" (simulating empty data) objects to your datasource.
But maybe question your requirement first - maybe you can either go for "binding" or manual row-"binding"?

Kind regards

Johannes
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900