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-67659aa7e5036311053515/] 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-67659aa7e571c412451987/] Step 2: Add below namespaces in your project [crayon-67659aa7e5723422297686/] Step 3:  Add below method and send file path to this method as parameters. [crayon-67659aa7e5726363338101/]  This method get file path

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