16,004,782 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by vincentkoert (Top 5 by date)
vincentkoert
16-Jul-23 11:33am
View
Deleted
You are totally right, it works perfect. I was so stupid to forget to start the new form in "Startup Object", it was running the previous form of your first answer.
Thanks very much for your help (and patience)
vincentkoert
16-Jul-23 10:09am
View
Hi Greame_Grand,
I have removed my aswer and updated my original question like you told.
I just tried your code but sadly it does the same as mine. It add's the new value to the list but doesn't set the new value to the cell, it just goes blank after enter or tab. Am I missing something?
vincentkoert
15-Jul-23 11:39am
View
You have any idea which event to choose?
vincentkoert
15-Jul-23 11:01am
View
Hi Graeme_Grand,
Thanks for your input. It's indeed a WindowsForms app in .NET6.0
I want the user to be able to add values to the list. For instance the list has Green, Blue and Red and they can add Black. In my code this is possible but if they add Black and select another box, the combobox goes blank and you have to select it again to get the just added value.
Im sorry, but it's difficult for me to explain in English, I hope you understand what i mean.
vincentkoert
15-May-23 14:34pm
View
Hi cmarcotte, thanks for your reply. I just looked into it and i'm afraid this is not the solution. The problem is that the datagridview is databound, I can't find anything in this article about databound datagridview. I know that you can change the properties of an unbound datagridview very easily. Do I overlook something?