1
Reply

how to insert and delete data into a sql data base using DataGridView control in windows forms?

Dyaa Asfour

Dyaa Asfour

16y
4.4k
0
Reply

    The easiest way to configure DataGridView for inserting and deleting data into a sql datat source is to use DataGridView smart tag, choosing the sql data source and check Enable adding and Enable deleting, the insert, delete and update commands of TableAdapter would be formed automatically or you can write your own commands and configure TableAdapter by yourself. After that simply use TableAdapter.Update() and TableAdapter.Fill()

    16y
    0