How to Automate MS Excel using Microsoft Office Interop in C#
Here in this article, we are going to guide you to create a program in C# to automate MS Excel workbook. To do this you need to add reference to the dynamic link library of […]
Here in this article, we are going to guide you to create a program in C# to automate MS Excel workbook. To do this you need to add reference to the dynamic link library of […]
Windows.edb is a search index database file of the Windows Search service. This file helps users to search for data and files in the file system in a faster way as it keeps indexing of […]
In this article, we are going to describe an example that will read the data from table available in Word document by using C# and then this data will be stored in C# data table. […]
We use File.Copy method in C# to copy a file from one directory to another directory. This method takes three parameters. 1: SourceFileName: Existing file name with full existing path name 2: DestinationFileName: New file […]
This code will help you to write C# datatable to a csv file with headers. You can also define your own desired csv delimiter (comma, semicolon, pipe etc.) Below given code snippet demonstrates the example […]
This article will help you to know how to export C# data table to HTML. Suppose below given data is in CSV format and you need to generate the code HTML code for that data. […]
This code will help you to import a CSV file into DataTable using C#. As you know that a CSV file is like a text file which contains data fields separated by delimiter (comma, semicolon, […]
If you are automating outlook, it is good practice in your C# program to ensure that outlook is opened. If outlook is not opened, your code will not work as expected. Below C# code snippet […]
This article demonstrates an example of sending outlook emails automatically by using C# code snippet. For this, you need to add a reference to the dynamic link library of Outlook called Microsoft.Office.Interop.Outlook.dll. Follow the below-given […]
Substring function in C# helps you to retrieve a part of the string. It means you can extract a specific portion of a given string like retrieving first n characters, last n characters or characters […]