Real Time C# Scripts
File Operations
- Delete files older than N days from a folder
- Get the oldest file from a folder
- Get the latest file from a folder
- Copy all files from one folder to another
- Copy files and overwrite existing files
- Move files from one folder to another
- File.MoveTo does not work - file already exists
- Move and rename files with datetime in name
- Copy files and add datetime to filenames
Import Files (CSV or Text) to Database
- Insert file properties into SQL Server table
- Import text file to SQL Server table
- Import multiple text files to SQL Server
- Import files with dynamic columns
- Create SQL table dynamically from flat file
- Load data from flat files to SQL tables by file names
- Import multiple CSV files to SQL Server
Export from Database to Files (CSV or Text)
- Export data to text file
- Export stored procedure results to text file
- Combine multiple CSV files into one
- Export all tables to flat files
- Export all tables to Excel files with datetime
- Export large table to multiple Excel sheets
Excel to Files (CSV or Text)
CSV/Text to Excel
- Convert CSV/Text files to Excel
- Create and append Excel sheet from CSV
- Import multiple CSV files into separate Excel sheets
- Import data from multiple CSV/Text to single Excel sheet
Import to SQL Server from Excel
- Import Excel sheet to SQL Server
- Create table per Excel file and import all sheets
- Skip rows and import Excel data
- Import Excel files with single or multiple sheets
- Import data to tables by sheet names
- Create table for each Excel sheet and import data
- Import multiple Excel files to one SQL Server table
- Get Excel file info and import to SQL
- Import only matching columns to SQL
- Import Excel data with file and sheet names
- Read Excel cell value
Export to Excel from Database
- Export tables to Excel dynamically
- Export stored procedure result to Excel
- Export table/view records to Excel
Console Applications
- Why console window disappears without displaying output
- Difference between Console.Write and Console.WriteLine
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.