17/04/2014, 11:28
dediğiniz gibide denemiştim ama yine olmamıştı where olayında tekrarsız olan ID seçeneğini dediğiniz şekilde ekledim bu seferde ölçüt ifadesinde veri türü uyuşmazlığı hatası alıyorum yazdığım kod şöyle;
Dim Sql As New String("UPDATE TAPUBİLGİLERİ SET ADISOYADI='" & TextBox1.Text & "',İL='" & TextBox2.Text & "',İLÇE='" & TextBox3.Text & "',MAHALLEKOY='" & TextBox4.Text & "',MEVKİİ='" & TextBox5.Text & "',PAFTA='" & TextBox6.Text & "',ADA='" & TextBox7.Text & "',PARSEL='" & TextBox8.Text & "',YÜZÖLÇÜMÜ='" & TextBox9.Text & "',İMARDURUMU='" & TextBox10.Text & "'WHERE ID = '" & TextBox0.Text & "'")
Sql = String.Format(sql, DataGridView1.CurrentRow.Cells(0).Value)