dsCall_Event_History.Merge(tempCheck); dsCall_Event_History.AcceptChanges(); tempCheck = null; tempCheck = dsCall_Event_History.GetChanges(); if ( tempCheck != null ) MessageBox.Show(tempCheck.Tables[0].Rows.Count.ToString()); else MessageBox.Show("NULL");