presently i am developing windows forms.my requirment is i want to delete data from gridview and database.for this i am having a form named like "new invoice" in this i am using two tables those are.tbl_report1 ,tbl_report2.tbl_report2 columns are:invoiceno(PK),companyname,companyaddress,orderno,ondate,invoicedate,amountstatus,netvat,netamount,tamount
tbl_report1 columns are:invoiceno(Fk),particulars,quantity,perprice,amount,orderno,invoicedate,ondate,companyname,invoiceid.
based on the above information how can i solve my issue.please do the needful.
private void btn_delete_Click_1(object sender, EventArgs e)
if (this.GridView1.SelectedRows.Count > 0)