I have an initialization function that loads data into the NameTextBox text box, and then add "s" to the name. Then I click the Save button, which does SaveButton_Click when debugging the value for NameTextBox.Text is still the source string (FirstName), not (FirstNames). Why is this? Thanks.
Edit: Sorry, here you go, let me know if you need more ...
Page_Load (sender, e)
Info = GetMyInfo() Initialize()
Initialize ()
NameTextBox.Text = Info.Name
SaveButton_Click (sender, e)
Dim command As SqlCommand command = GetSQLCommand("StoredProcedure") command.Parameters.AddWithValue("@Paramter", NameTextBox.Text) ExecuteSQLCommand(command)
source share