Posted on: 1/11/2014 7:56:42 AM | Views : 801

Hello everyone 
So i have a timer with counterdown in a repeater 
Each time the counterdown is over
i want to send the item auctionID into another page and each time and only once 
can someone check my code and tell if it is good
Protected Sub timer1_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles timer1.Tick For Each item As RepeaterItem In Repeater1.Items Dim hidden = TryCast(item.FindControl("HiddenField1"), HiddenField) Dim label2 = TryCast(item.FindControl("lblTimer"), Label) 'Grab your DateTime object (checking that it exists)' Dim label3 = TryCast(item.FindControl("Label2"), Label) 'Store your TimeSpan Difference' Dim ts = (DateTime.Now - DateTime.Parse(hidden.Value)) Dim travelTime As New TimeSpan(0, 0, 0, 0) ...

Go to the complete details ...