15,896,063 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 Python 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 ankkor (Top 4 by date)
ankkor
8-Dec-16 15:57pm
View
Thanks again. The thought that comes to mind is "The only constant is change". The "best" tool is an ever-changing target. I think someone could focus on Microsoft technologies alone and over the years, it could be quite challenging to complete a real-world project if you forcibly kept moving to the latest version of "best". I like what I've seen with databinding but big disappointment to learn that it isn't consistent enough to be a universal solution...sad since it seems like a tremendous opportunity lost. But got to keep moving to the next "best"........
ankkor
6-Dec-16 20:00pm
View
Thanks for the reply. You'd think at this point in the development arena that certain basic functionality would be more automatic and standardized and not demand the writing of code but not so much. Each developer is still left with the time-consuming task of working out the details of data validation. And the approach varies depending on use of TextBox or MaskedTextBox or Grid or something else. So I've been looking at some kind of Validation class that could fit to cover the possibilities. Quite challenging.
ankkor
24-Nov-16 16:44pm
View
Thank you for the reply.
I should try to be more specific about my challenge. I understand about the various controls and I've done some things with various controls along with MaskedTextBox and its ValidationType.
Ideally I'd like to find "one" place (dataset, DB Table, DB column, DataBindings, Parse, etc.) where custom validation can be developed and then implemented regardless of the control used... So what I'm really asking is more like this.....
DataBindings allows me to provide alternative Parse/Format methods which (as I understand it) can take care of any validation. MaskedTextBox has ValidationType but other controls don't have it. A DataGridView is provided a DataSource but I don't know if DataBindings (for columns) applies to it the way it applies to TextBox, ComboBox, etc.
It's not consistent. Ideally I want to define validation for a table's column only once and then implemented regardless of whether the final control is a grid, a textbox, a masked textbox, etc.
Where would that one location be or does such a thing exist today?
ankkor
23-Nov-16 13:15pm
View
If only it was clear to me then I wouldn't be asking the question. What part of my question is the answer you are referring to please? Thank you for your help.