i currently doing a web based system that has a time watch to keep track the time duration of employees working hours. I've searched for codes and found this......
protected void Timer1_IntervalReached(object sender, CodeControls.TimerEventArgs e)
{
....
}
protected void Timer1_IntervalReached(object sender, CodeControls.TimerEventArgs e)
{
....
}
this is just part of my .aspx.cs...
I found an error on protected void Timer1_IntervalReached(object sender, CodeControls.TimerEventArgs e) and protected void Timer1_IntervalReached(object sender, CodeControls.TimerEventArgs e).. It says that: "The type or namespace name 'CodeControls' could not be found(are you missing a using directive or an assembly reference?)
what does this mean??? :(
I have this in my page:
using System;
using System.Collections;
using System.Configuration;
using System.Data;
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;
what reference does this error means????
please please please help me.. I'm just a 1st year college and not good with this :(
Loading
Amit ChoudharyPosted Mar 22, 2010, 6:13 AM
i can see you are using third party Timer control. so every control have its library i.e. dll from which its all classes, and other related resources are provided. so add that dll reference to your project.
CodeControls.TimerEventArgs This is a class name that is inside the CodeControl namespace inside that dll. so add the reference and get rid of this error.
Please mark as answer if it helps.
Amit ChoudharyPosted Mar 23, 2010, 1:27 AM
post/attach your code file where you are getting error. or send me in Mail i'll send you solution.
janine valenzonaPosted Mar 22, 2010, 9:15 AM
I even hard coded all of the codes in my aspx.cs (the one that I included in my post).. And all of the recent errors I've got replaced with this error : The type name TimerEventArgs does not exist in the type 'CodeControls'.
please please help.. :(