Wednesday, January 4, 2012

Scheduler in asp.net

I have created a Mailsend.cs class

using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Net.Mail;

///
/// Summary description for Mailsend
///

public class Mailsend
{
public void Mailsend1()
{
// code here
}


}


After that i have just done a timer setting in global.aspx page
<%@ Application Language="C#" %>
<%@ Import Namespace="System.Timers" %>

No comments:

Post a Comment