Skip to main content

AccessTr.neT


DataGridView Veri Güncelleme

DataGridView Veri Güncelleme

#4
benim kodlarım bunlar
Img-grin
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
Cevapla

Bir hesap oluşturun veya yorum yapmak için giriş yapın

Yorum yapmak için üye olmanız gerekiyor

ya da

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:44
Cvp: DataGridView Veri Güncelleme - Yazar: atoz112 - 10/10/2016, 14:23
Cvp: DataGridView Veri Güncelleme - Yazar: alpeki99 - 10/10/2016, 18:39
Task