Member Avatar

So, I'm loading some date from DataTable and showing it in DataGridView...I'm also editing and deleting data from that DataGridView... problem is next:

when i'm deleting data, i must confirm that in MsgBox by clicking Yes...if the No button is clicked, row in DataGridView is also deleted and what i'm trying to do is to refresh DataGridView and load data again (because i'm trying to show row that has been deleted only from DataGridView).

I've tried with clearing DataTable, with this...
DataGridView1.DataSource = Nothing
DataGridView1.Rows.Clear()

...and some other stuff...but i don't get what i need... any idea? Thank you...

Member Avatar

anyone? I could define problem more if you think i need to...