1
Answer

Populating a datagrid with an ArrayList

shazadali

shazadali

21y
2.3k
1
Does anyone have any code snippets on how to populate a Datagrid from either an Array or ArrayList of objects that I have created, and also change the column header text and width to what you want. All the examples I've seen so far concentrate on Databinding to a Dataset. I just need a simple way of adding my ArrayList of objects in a grid an viewing some of the properties of my objects within that ArrayList. Would I need to convert it into XML to make this easier, and if so how? Cheers.
Answers (1)
0
Akhil Garg

Akhil Garg

NA 3.1k 440.9k 9y
You have window update issue. check this link.

https://social.msdn.microsoft.com/Forums/vstudio/en-US/afeabac0-86d7-4ef1-a630-75c9e5f73663/cant-install-microsoft-framework-4-error-code-0xc8000222?forum=netfxsetup
0
khushboo modi

khushboo modi

NA 12 2.3k 9y

Attachment log.zip

My Firwall is already off.
here i m shairing my log file, as well as the screenshort of the error screen:



0
Akhil Garg

Akhil Garg

NA 3.1k 440.9k 9y
You just check log file or share it. 


You can turn off your firewall and check .