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-673f1471a915d611180281/] Step 2: Add below namespaces in your project [crayon-673f1471a9162994426083/] Step 3:  Add below method and send file path to this method as parameters. [crayon-673f1471a9165911814485/]  This method get file path

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