Skip to content
Code for Devs
  • Home
  • JavaScript
  • WordPress
  • Excel
  • VBA
  • C#
  • Miscellaneous
  • Contact Us
  • Home
  • C#
  • Page 3

Category: C#

How to Check if a File Exists by Using C#

October 5, 2022October 5, 2022 codef4devs

When you need to check whether a particular file exists on a specified path, you can use File.Exists(string) method of C#. This method requires full file name i.e. file name along with its extension and […]

Leave a commentC#

How to Copy Visible Cells only in Excel Filter by C#

October 2, 2022October 2, 2022 codef4devs

After applying filter to excel range, rows not satisfying the filter condition get hidden and only rows satisfying the filter condition are visible. Refer our previous post for detailed Excel AutoFilter by C# information. Below […]

Leave a commentC#

Using Auto Filter on Excel Range by C#

September 28, 2022September 30, 2022 codef4devs

Here in this article, we are going to provide you an overview of applying and working with filters on Excel range. C# Syntax of Applying Filters in Excel The below code line applies filter on […]

Leave a commentC#

Find Last Used Row or Column of Excel in C#

August 22, 2022August 20, 2022 codef4devs

While working with excel using C# you can require to find the last used row or column in a range. Here in this post, we are providing you the code snippets that will simplify your […]

Leave a commentC#

Copy Format from One Range to Another in Excel using C#

August 20, 2022August 20, 2022 codef4devs

This example demonstrates how to copy format from one excel range to another excel range. For this, you need to use PasteSpecial() method of Range with xlPasteFormats. For example, you have set the desired format […]

Leave a commentC#

How to Automate MS Excel using Microsoft Office Interop in C#

August 14, 2022August 18, 2022 codef4devs

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

Leave a commentC#

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#

Posts navigation

Previous 1 2 3 4 Next

Categories

  • C#
  • Excel
  • JavaScript
  • Miscellaneous
  • MySQL
  • Python
  • Uncategorized
  • VBA
  • WordPress

Recent Posts

  • Python code to Find a Cell in Excel having Specific Date
  • Python Error: ‘module ‘win32com.gen_pyxxxx’ has no attribute ‘CLSIDToClassMap’ Solution
  • Group Concat in Excel-Concatenating Cell Values based on Grouping Rows
  • Python: Send Email from Outlook with Attachment
  • How to Add Checkbox in DataGridView in C# Windows Form Application
Copyright © All rights reserved.