L
Leon Shaw
I'm I Assign the value to the following store procedures correctly in
vs.net?
(The code is my only concern)
Me.cmdAddMember.Parameters("@Username").Value = Me.txtUsername.Text
Me.cmdAddMember.Parameters(2).Value = Me.txtPassword.Text
Me.cmdAddMember.Parameters(3).Value = Me.ddlSecretQuestion.SelectedItem
Me.cmdAddMember.Parameters(4).Value = Me.txtSecretAnswer.Text
Me.cmdAddMember.Parameters(5).Value = Me.txtFirstName.Text
Me.cmdAddMember.Parameters(6).Value = Me.txtLastName.Text
Me.cmdAddMember.Parameters(7).Value = Me.ddlBirthMonth.SelectedItem
Me.cmdAddMember.Parameters(8).Value = Me.ddlBirthDay.SelectedItem
Me.cmdAddMember.Parameters(9).Value = Me.txtBirthYear.Text
etc.
vs.net?
(The code is my only concern)
Me.cmdAddMember.Parameters("@Username").Value = Me.txtUsername.Text
Me.cmdAddMember.Parameters(2).Value = Me.txtPassword.Text
Me.cmdAddMember.Parameters(3).Value = Me.ddlSecretQuestion.SelectedItem
Me.cmdAddMember.Parameters(4).Value = Me.txtSecretAnswer.Text
Me.cmdAddMember.Parameters(5).Value = Me.txtFirstName.Text
Me.cmdAddMember.Parameters(6).Value = Me.txtLastName.Text
Me.cmdAddMember.Parameters(7).Value = Me.ddlBirthMonth.SelectedItem
Me.cmdAddMember.Parameters(8).Value = Me.ddlBirthDay.SelectedItem
Me.cmdAddMember.Parameters(9).Value = Me.txtBirthYear.Text
etc.