Click here to Skip to main content
15,867,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I am creating an ADODB.Recordset and dropping it into a System.Array. How would I get this array to render in a WPF DataGrid? I have been searching on the net for what feels like years to find some way to bind the DataGrid to the array and I still have no idea how :) Is there a far better solution other than using the System.Array?
Posted
Comments
[no name] 10-Oct-14 9:44am    
http://www.codeproject.com/Articles/30905/WPF-DataGrid-Practical-Examples
Member 11143847 10-Oct-14 10:00am    
Hi Wes,

Thank you for the link. I have read through so many articles today trying to solve this without reaching out to others that I simply can't process the information any more. I should probably just leave it for the weekend and come back to it but I'm not even close to comprehending how to approach this. I'm also struggling to get my head around all of the C# examples. Could I possibly ask how you'd approach this once you had the data in the recordset?
[no name] 10-Oct-14 10:16am    
Well if it were me, I would bind the data to the datagrid. Of course, I would not be trying to use ancient VB6 era code to do it with.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900