private void DeleteUseRowID(Empmst record) { var row = this.GetRowByRowId(record.rowID, string.Empty); if (row == null) { row = this.dataSet.ttblempmst.NewttblempmstRow(); Empmst.BuildMinimalRow(ref row, record); this.dataSet.ttblempmst.AddttblempmstRow((pdsempmstDataSet.ttblempmstRow)row); } row.Delete(); this.SaveChanges(); }