Private Sub ToolStripButton6_Click(sender As Object, e As EventArgs) Handles KY_guncelleTSbutton.Click
bag.Open()
Dim id As String
id = KY_TextBox1.Text
Dim guncel = "update Vatandas_Tablosu Set Adi='" + KY_TextBox6.Text + "', Soyadi='" + KY_TextBox7.Text + "', Dogum_Yeri='" + KY_TextBox8.Text + "', Dogum_tarihi='" + KY_TextBox9.Text + "' where Vatandas_No='" + id + "'"
Dim ka As SqlCommand = New SqlCommand(guncel, bag)
If KY_TextBox6.Text = "" Or KY_TextBox7.Text = "" Then
MsgBox("lutfen bosluk birakmayiniz")
Else
ka.ExecuteNonQuery()
MsgBox("guncelleme kaydedildi")
End If
bag.Close()
End Sub
bu kod blogumun icerisinde Tool strip butonuma bastigimda Conversion failed when converting date and/or time from character string.' hatasi aliyorum yardimci olabilir misiniz acaba ?