Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to show Array1 in column1 in Table format. Array2 in Column2. Array3 in Column3. No need Database connection. Just i'll pass 4 arrays in datagridview or any table and it will display the contents of array. array1=column1, array2=column2 and so on....
Posted

1 solution

A DataGridView[^] is just a windows control, and can contain whatever data you wish. You can populate it manually, cell by cell, or set up some binding between it and a suitable dataset. See A Detailed Data Binding Tutorial[^] for further guidance.
 
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