CheckDuplicatesInCSV is a Windows Forms application that reads a CSV file, identifies duplicate records, and displays them in a grid.
- Load and read CSV files
- Identify duplicate records
- Display data in a user-friendly grid
- Utility methods for enhanced CSV processing
- Clone the repository:
git clone https://github.com/yourusername/CheckDuplicatesInCSV.git
- Open the project in Visual Studio.
- Build and run the application.
- Click the Browse button to select a CSV file.
- Click Read CSV to load and display the file’s content.
- Click Find Duplicates to detect and display duplicate records.
Handles CSV processing:
ReadCSV(path, delimiter, hasHeader, colNumber)
: Reads a CSV file and returns a list of records.NumFilesXZip(recordList, output)
: Counts files in ZIP archives.ExtractRecordsOfZip(recordList, selectedZip, output)
: Extracts records from a specific ZIP file.GetDuplicatesFromList(list)
: Identifies duplicates.
Provides utility functions:
CSVFileExists(txtPath)
: Checks if a CSV file exists.GetCSVConfiguration(txtDelimiter, cboSelectedCol)
: Retrieves CSV configurations.DataTableFromList<T>(lists, indexes)
: Converts lists into a DataTable.
Handles UI events and data presentation.
Contributions are welcome! Feel free to fork the repository and submit pull requests.
- C#
- Windows Forms
- CSV Processing
- Data Management
- Duplicate Finder