Home > Database (Page 4)

How to import data from MS Excel

If you have data in excel and you want to add data in you database using C# this is useful example. Follow below steps: Step 1: Create database tables to import data [crayon-6ab53b35e5543684368280/] Step 2: Add below namespaces in your project [crayon-6ab53b35e5548286255729/] Step 3:  Add below method and send file path to this method as parameters. [crayon-6ab53b35e554a494602939/]  This method get file path

This Article is TAGGED in , , , , . Read more