Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
New record, text controls, save record not working
After I create a new record, the user will click a button to get a vendor record through a data reader and populating some text controls on the form with the vendor fields like this:
Me.editCompany.Text = drRow.GetString(2) etc.
When I save the record this field is empty.
However, if put the cursor into the Me.editCompany.Text and the others, and tab through them, the information _is_ saved.
Is there a validation going on here? I know my users aren't going to move through the fields.
Any idea how I can make sure the text control saves the field?
Thanks.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement