Click here to Skip to main content
15,885,980 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am quit new to c# wpf and visual studios so i don't know how things are made...
So my question: i have an string[,] of data and i have a string[] of the columns
now i want to create e.g. a datagrid with these columns and the data in it. It should be still working if there are more or less columns and if there is more or less data [dynamic :)].

How could i try to do that.

sorry for my bad english and this probably silly question.

What I have tried:

ask google in many different ways
Posted
Updated 17-Jul-22 21:41pm

1 solution

Take a look at DataGrid Class (System.Windows.Controls) | Microsoft Docs[^]. You should also look at some of the articles at WPF[^] for more ideas.
 
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