Skip to content
Code for Devs
Get your Fast, Reliable, and Secure WordPress Hosting from ChemiCloud.
  • Home
  • JavaScript
  • WordPress
  • Excel
  • VBA
  • C#
  • Miscellaneous
  • Contact Us
  • Home
  • C#

Category: C#

How to Read Table Data in Word Document using C#

January 5, 2022January 21, 2022 codef4devs

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. […]

Leave a commentC#

C# code to Copy file from One Folder to Another

December 27, 2021December 27, 2021 codef4devs

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 […]

Leave a commentC#

Export C# DataTable to CSV file

December 22, 2021December 22, 2021 codef4devs

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 […]

Leave a commentC#

Convert Data Table to HTML using C#

October 17, 2021October 15, 2021 codef4devs

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. […]

Leave a commentC#

How to Convert CSV file to C# Data Table

October 15, 2021October 15, 2021 codef4devs

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, […]

Leave a commentC#

How to Open Outlook Automatically using C#

October 13, 2021October 13, 2021 codef4devs

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 […]

Leave a commentC#

C# Code to Send Outlook Mails Programmatically

October 1, 2021December 22, 2021 codef4devs

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 […]

Leave a commentC#

How to Use Substring function in C#

September 29, 2021September 30, 2021 codef4devs

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 […]

Leave a commentC#

Categories

  • C#
  • Excel
  • JavaScript
  • Miscellaneous
  • VBA
  • WordPress

Recent Posts

  • How to Read Table Data in Word Document using C#
  • C# code to Copy file from One Folder to Another
  • Export C# DataTable to CSV file
  • Convert Data Table to HTML using C#
  • How to Convert CSV file to C# Data Table
Copyright © All rights reserved.