Delete record from DataGridView and update also database

Delete record from DataGridView and update also database

plz provide me code that will delete records from datagridview and
database also. for desktop application using sql server comonds like
sqlconnection ets thanks in advance i really need it plz