Hi
Sorry my english isn't the best ;-)
I've got a Windows Application Project in Vb.NET.
There's a form which contains some Textboxes, an component of my typed
DataSet, a BindingSource, a BindingNavigation, and a datatableadapter
component.
All this is created by the designer, i just dragged the table on my form
from the databinding window.
That all seems to work fine ;-)
Now i've a little problem. There are some bound textboxes (Firstname,
Lastname, Street) which must not be empty. The must contain a value. How can
i check, if the user has filled out these field, before he navigates to the
next record?
Well, I could put a validation in every textboxs validating - event
procedure. But isn't there a better solution?
Thanks in advance
Kind regards
Laurin Stoll
Laurin Stoll - 17 Feb 2006 15:21 GMT
Sorry that i post again.
I found a class in ASP.NET named RequiredFieldValidator. Why isn't it
possible to set some required fields on Databound Controls in Windows Forms.
Some idea?
I just wan't to set some required fields..... i can't realise this with the
validating event - what if the user didn't set the focus to a field?
> Hi
>
[quoted text clipped - 21 lines]
>
> Laurin Stoll