value of life certificate is not updating through this code.
myconn.Open()
cmd.Connection = myconn
cmd.CommandText = " UPDATE Pension_Master SET l_cer='" & l_cer & "',validfrom=convert(datetime,'" & validfrom.Date & "',101)," & _
"validto=convert(datetime,'" & validto.Date & "',101) WHERE ppo_no = ' " & TextBox1.Text & "'"
If (payment_register.Visible = True) Then
payment_register.TextBox4.Text = Me.RadioButton6.Text
End If
cmd.ExecuteNonQuery()
myconn.Close()