benim kodlarım bunlar
Try
Sql = "Update tbl_Cekler SET alistarihi='" & txtalistarihi.Text & "', evrturu='" & txtevrturu.Text & "', kimden='" & txtkimden.Text & "', bankaadi='" & txtbankaadi.Text & "', subeadi='" & txtsubeadi.Text & "', vadetarihi='" & txtvadetarihi.Text & "', cekno='" & txtcekno.Text & "', hesapno='" & txthesapno.Text & "', tutar='" & txttutar.Text & "', notu='" & txtnot.Text & "', kaydeden='" & txtkaydeden.Text & "', drm='" & txtdrm.Text & "' WHERE cno =" & txtcno.Text & ""
ConnDB()
cmd = New OleDbCommand(sqL, conn)
Dim i As Integer
i = cmd.ExecuteNonQuery
If i > 0 Then
cmd.Dispose()
conn.Close()
MsgBox(" Güncelleme Yapılmıştır..", MsgBoxStyle.Critical, "Güncelleme")
Else
MsgBox(" Güncelleme başarısız oldu..", MsgBoxStyle.Critical, "Güncelleme")
End If
Catch ex As Exception
MsgBox(ex.Message & " Modül : frm_Cekler - Güncelletbl_Cekler ")
Finally
cmd.Dispose()
conn.Close()
End Try
DataGridView Veri Güncelleme
Bu Konudaki Yorumlar |
DataGridView Veri Güncelleme - Yazar: emir ustaoğlu - 08/10/2016, 18:43
Cvp: DataGridView Veri Güncelleme - Yazar: C*e*l*o*y*c*e - 08/10/2016, 19:21
Cvp: DataGridView Veri Güncelleme - Yazar: emir ustaoğlu - 08/10/2016, 19:32
Cvp: DataGridView Veri Güncelleme - Yazar: C*e*l*o*y*c*e - 08/10/2016, 19:44
Cvp: DataGridView Veri Güncelleme - Yazar: emir ustaoğlu - 08/10/2016, 20:06
Cvp: DataGridView Veri Güncelleme - Yazar: atoz112 - 10/10/2016, 14:23
Cvp: DataGridView Veri Güncelleme - Yazar: emir ustaoğlu - 10/10/2016, 14:46
Cvp: DataGridView Veri Güncelleme - Yazar: alpeki99 - 10/10/2016, 18:39
Cvp: DataGridView Veri Güncelleme - Yazar: emir ustaoğlu - 11/10/2016, 00:30
|
Konuyu Okuyanlar: 1 Ziyaretçi