© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
5 replies
bernie2024

❔ ✅ Cant select an attribute of an object for display in a combobox or textbox

Hey Yall, working on a winforms grading application and having a wierd issue I cannot resolve. Instead of displaying a students name, or the assignments name, it just displays MidtermLib.Student, or MidtermLib.Assignment. I have tried to use the combobox methods DisplayMember and ValueMember to select the right column of the list based on the correct person, but it doesnt seem to be working. I have included a screenshot of the issue and the relevant code, any additional information needed I can provide. Thanks!
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

✅ how change the values of an object attribute?
C#CC# / help
3y ago
Fast search an object in a list using his attribute
C#CC# / help
3y ago
❔ ✅ Display all properties of different types without an attribute in a WPF list?
C#CC# / help
3y ago
❔ WPF a control to display an arbitrary object
C#CC# / help
3y ago