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

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