Click here to Skip to main content
15,914,500 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
I have to display data in gridview control dynamically at run time. How can i build the gridview at runtime?
Posted
Updated 14-Feb-10 1:27am
v3

See here[^].
 
Share this answer
 
for example you can use this code:

[text column in this example]
dataGridView1[i, j].Value = "persian boy";
i is colundIndex and j is rowIndex

:thumbsup:
 
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