DateTime t1 = datenow;
                DateTime t2 = Convert.ToDateTime(ipcon.AddTime);
                int timesp = Convert.ToInt32(((TimeSpan)(t1 - t2)).TotalMinutes);
                if (timesp < 15)
                {
                    Page.RegisterStartupScript("ServiceManHistoryButtonClick", "<script>window.alert('你已经投过票了,谢谢参与!')</script>");
                }
posted on 2009-06-16 19:55  D.Henry  阅读(254)  评论(0编辑  收藏  举报