© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
5 replies
Runa

Validate datagridview cell values

I have a data grid view that my user can edit and add new lines
This is my grid:
Quantity | Item | unit price | price
The column quantity needs to be a number

Is there a way to automatic validate the cell value or do I have to do it manually?

I sent a print from the visual studio format string dialog from the cellstyle builder, but does not work, as expected lol
qMvNytzR562s8pHL.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

Datagridview
C#CC# / help
11mo ago
❔ DataGridView Issue
C#CC# / help
3y ago
❔ DataGridView Buttons
C#CC# / help
4y ago