Values of textbox are not being saved in the following routine:
Function FillTextBox(ByRef TextBox As TextBox, ByVal Value As Object)
If Not IsDBNull(Value) Then
TextBox.Text = Value
Else
TextBox.Text = ""
End If
End Function
Private Sub EditForm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Poluate text box.
FillTextBox(txtAccountName, TOverride.Account_Name)
FillTextBox(txtPolicyNumber, TOverride.PolicyNumber)
FillTextBox(txtUserId, TOverride.ModifiedUID)
End Sub
Function FillTextBox(ByRef TextBox As TextBox, ByVal Value As Object)
If Not IsDBNull(Value) Then
TextBox.Text = Value
Else
TextBox.Text = ""
End If
End Function
Private Sub EditForm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Poluate text box.
FillTextBox(txtAccountName, TOverride.Account_Name)
FillTextBox(txtPolicyNumber, TOverride.PolicyNumber)
FillTextBox(txtUserId, TOverride.ModifiedUID)
End Sub