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

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