Click here to Skip to main content
15,897,273 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
outofindex exception to be throw
Posted
Comments
DamithSL 14-Nov-14 1:22am    
update the question with your code

Please check the following link to add empty rows in grid.. hope this is what you are looking for..

http://www.dotnetspider.com/forum/160519-Dynamically-adding-empty-rows-DataGridView.aspx[^]

Please try to add sample code with your questions..
 
Share this answer
 
Hi,

You can create datagridviewrow object and then add corresponding column values programmatically. For telling it precisely tell me how your actual code is?
 
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