tirso 0 Newbie Poster

hi to all

I have a datagridview created by drag and drop (using details), I was used standard binding navigator, the problem is there is no validation for empty text box or data types. Though there is autogenerated me.validate() by the system. So before the add button press by the user then I must check first if all required fields was fill-up correctly by the user. It is possible to make my own validation for all textboxes before adding new records or saving the data using code below.

Me.Tk_employeesBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.TimekeepingDataSet)

Any suggestion would greatly appreciated

Thanks in advance

Tirso

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.