Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

Delete the Selected Row on Datagridview - On the database too !

$
0
0

Hello !

I'm trying this for a while and I still can't do it.

What I Want is:

- Delete Rows on the .mdb database (By the selected row on the datagridview)

I tried this:

Me.DataGridView1.Rows.RemoveAt(Me.DataGridView1.CurrentRow.Index)

It only removes the row on the datagridview, not on the database.

Someone please help me !


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>