<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>C#</title><link>http://forums.asp.net/37.aspx</link><description>Discussions/Questions about the C# language. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=13&amp;c=23" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: issues with timer class c#</title><link>http://forums.asp.net/thread/3271920.aspx</link><pubDate>Thu, 02 Jul 2009 17:21:10 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3271920</guid><dc:creator>MetalAsp.Net</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3271920.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=37&amp;PostID=3271920</wfw:commentRss><description>&lt;p&gt;Ah ok, I see.&amp;nbsp; I&amp;#39;m on VS 2008 and I see the control under the &amp;quot;AJAX Extensions&amp;quot; tab.&amp;nbsp; I can refer you to this page, but I don&amp;#39;t know if downloading the Extensions 1.0 stuff will get you the Timer control.&amp;nbsp; I&amp;#39;ll let you investigate and decide for yourself:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.asp.net/ajax/downloads/archive/"&gt;http://www.asp.net/ajax/downloads/archive/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: issues with timer class c#</title><link>http://forums.asp.net/thread/3271880.aspx</link><pubDate>Thu, 02 Jul 2009 17:05:19 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3271880</guid><dc:creator>danny_rome</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3271880.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=37&amp;PostID=3271880</wfw:commentRss><description>&lt;p&gt;sorry for my ignorance....I work with c# and visual studio 2005(so framework 2.0)..so..is timer control available for my configuration? &lt;/p&gt;&lt;p&gt;thank you for being so kind :)&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: issues with timer class c#</title><link>http://forums.asp.net/thread/3271871.aspx</link><pubDate>Thu, 02 Jul 2009 17:00:58 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3271871</guid><dc:creator>MetalAsp.Net</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3271871.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=37&amp;PostID=3271871</wfw:commentRss><description>&lt;p&gt;There&amp;#39;s no code to show you.&amp;nbsp; Simply put the timer control in your design view, and double click on it to create the Tick handler.&amp;nbsp; Then you can put the code you currently have (whatever processing you want to achieve) in there.&amp;nbsp; It&amp;#39;s that simple.&lt;/p&gt;</description></item><item><title>Re: issues with timer class c#</title><link>http://forums.asp.net/thread/3271714.aspx</link><pubDate>Thu, 02 Jul 2009 15:34:51 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3271714</guid><dc:creator>danny_rome</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3271714.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=37&amp;PostID=3271714</wfw:commentRss><description>&lt;p&gt;hem...I&amp;#39;m pretty new with c# and asp.net in general...can you make me an example of the code?&amp;nbsp; :P&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: issues with timer class c#</title><link>http://forums.asp.net/thread/3271536.aspx</link><pubDate>Thu, 02 Jul 2009 14:06:36 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3271536</guid><dc:creator>MetalAsp.Net</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3271536.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=37&amp;PostID=3271536</wfw:commentRss><description>&lt;p&gt;How about dragging a Timer control to your design view, and handling the Tick event, where you can put your code...&lt;/p&gt;</description></item><item><title>issues with timer class c#</title><link>http://forums.asp.net/thread/3270745.aspx</link><pubDate>Thu, 02 Jul 2009 08:29:38 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3270745</guid><dc:creator>danny_rome</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3270745.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=37&amp;PostID=3270745</wfw:commentRss><description>&lt;p&gt;hi everyone..you are my last hope :D&lt;/p&gt;&lt;p&gt;I have a problem...I&amp;#39;d like to try to do this thing (i&amp;#39;ll write it in a pseudo-code)&lt;/p&gt;&lt;p&gt;(every 5 seconds){ do something}&lt;/p&gt;&lt;p&gt;well as concerne the &amp;quot;do something&amp;quot; part I have already wrote the code. the big problem is how to use timer! I tryed this thing&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre name="code" class="c-sharp"&gt;try{
.....
Timer timer = new Timer();
timer.Interval = 5000;
timer.Enabled=true;
timer.Start();
timer.Elapsed += delegate
{
 String p = prestazioni[j].ToString();
                    Label2.Text = p;
                    if (j == (righe - 1))
                        j = 2;
                    gvdati.DataSource = elaboraQuery02(prestazioni, j);
                    gvdati.DataBind();
                    gvdati01.DataSource = elaboraQuery01(prestazioni, j);
                    gvdati01.DataBind();
                    gvdati02.DataSource = elaboraQuery(prestazioni, j);
                    gvdati02.DataBind();
                    j++;
                };
}
catch...
finally...&lt;/pre&gt;&lt;p&gt; the problem is that&amp;nbsp; after &amp;quot;timer.Start();&amp;quot; the code skip the delegate(I checked it with debug) and I don&amp;#39;t know why...anyone can help me? &lt;/p&gt;&lt;p&gt;If you think is better to change&amp;nbsp; the code and/or you have any hints you are more than welcome... help please :)&lt;/p&gt;&lt;p&gt;bye bye&lt;/p&gt;&lt;p&gt;daniele&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>