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-6854e3600d5d9298684736/] 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-6854e3600ddc3951647692/] Step 2: Add below namespaces in your project [crayon-6854e3600ddca888434921/] Step 3:  Add below method and send file path to this method as parameters. [crayon-6854e3600ddce024230292/]  This method get file path

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