Click here to Skip to main content
15,896,063 members

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.