Home > C# (Page 4)

How to Schedule Jobs in Windows Azure Worker Roles

The following is an example that demonstrates how I was able to successfully schedule jobs. Start by implementing the IJob interface to create a job that can be managed by Quartz.Net. [crayon-6a08e48d61e87439254749/] Then in the RoleEntryPoint OnStart() method create and configure the scheduler with a trigger and the daily job. This is the part that was greatly lacking in

This Article is TAGGED in , , , . Read more

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

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