DataSet ds = new DataSet(); conn = new OleDbConnection(); conn.ConnectionString = gm.ConnectionString; OleDbDataAdapter da = new OleDbDataAdapter(); da.SelectCommand = new OleDbCommand("select * from [ExecutiveMember]", conn); da.Fill(ds); DataRow dtrowdelete = ds.Tables["ExecutiveMember"].Rows[index]; dtrowdelete.Delete(); ds.Tables["ExecutiveMember"].AcceptChanges(); da.Update(ds.Tables["ExecutiveMember"]); MessageBox.Show("Data Deleted!...");
ds.Tables["ExecutiveMember"].Rows[index]
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)