Click here to Skip to main content
15,902,636 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have one textbox and one datagridview. suppose i entered number 6 in textbox, i want to create 6 empty rows in datagridview. suppose i entered number 10 in textbox, iwant to create 10 empty rows in datagridview. how to add rows in datagridview?
Please help me.

thank you.
Posted

 
Share this answer
 
Comments
Christian Graus 9-Feb-12 9:53am    
Because it's .NET, the code is virtually interchangable. Are you really saying that you still didn't think to type your question in to google ? http://csharp.net-informations.com/datagridview/csharp-datagridview-add-column.htm is an article in C#.
Christian Graus 9-Feb-12 9:57am    
Why did you restate the question ? If you can't read the article I linked to and do it, why would me typing out the same instructions help you ? It sounds to me like you just have no idea what you're doing. If this is so, choose a more basic task, and buy a basic book to work through. This is obvious beyond you.
 
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