© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•16mo ago•
37 replies
cipro

WPF - Binding json data into datagrid and datagrid updates during runtime

Hey guys, I have attached screenshots here to help understand what im trying to do. so in my json file theres a bunch of usernames that are already there and during runtime i will want to add and delete logins (as the admin staff can do that). my issue here is that im trying to make the data grid output that data and read everything from the json file but i dont know the actual code for that in my XAML and cs. i tried the itemsource binding syntax but that didnt seem to work (o maybe it does but i didnt know what to put in my cs bit.)
image.png
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Binding error Datagrid WPF
C#CC# / help
2y ago
Binding Dictionary to DataGrid (WPF)
C#CC# / help
2y ago
Dynamic Binding for DataGrid WPF
C#CC# / help
4y ago
❔ WPF data binding
C#CC# / help
3y ago