Click here to Skip to main content
15,117,279 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
    <ID value="1" />
    <Clues value="xxxx" />
    <Answer value="xxxx" />
    <Difficulty value="4" />
    <Date value="09/14/21" />

What I have tried:

It is a WPF C# app and I have multiples window. One of them is Update which open a new window and displays textbox of ID(Int)and String for the rest Answer, Difficulty and Date. How do select an item from ListView and populate the textbox with the items and update the list values E.g Clues, Answer, Difficulty or date based on ID selection?

Thank you
lmoelleb 28-Sep-21 4:04am
I recommend you go through tutorials showing you how to use MVVM. WPF is hard to learn for a beginner. If it is worth it depends on how much you will use it (or derived tech like .NET Core MAUI in the future). If you just want a quick UI and won't spend much time on client UI in the future, I recommend using WinForm. It is less powerfull, but also easier to understand.

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