How do i validate them, In certain text boxes I have to use only text and in some I have to use only numbers. I never suggested not using the others, but my example is a valid first line of defense.
Is using ASCII is a right method or is there any easier method to do this. Private Sub Text Box1_Key Press(By Val sender As Object, By Val e As System. Try to restrict bad input, but ALWAYS validate EVERYTHING.
The Data Grid View class provides a convenient way to perform validation before data is committed to the data store.It's a good practice to validate data prior to sending updates to the underlying database.This reduces errors as well as the potential number of round trips between an application and the database.If values have been entered into each Text Box, an attempt is made to parse the values into values of type float.If parsing fails, a Message Box is displayed indicating the failure to the user.