摘要:
用ResolveClientUrl比如你的图片放在应用程序根目录下的images里面,名为a.gif<img src='<%=ResolveClientUrl("~/images/a.gif")%>'/>~代表应用程序根目录 阅读全文
摘要:
create table tb(time datetime)insert into tb select '2010-10-25 22:10:30' union all select '2010-11-03 15:20:00' union all select '2010-12-15 11:11:11'goselect * from tb a where abs(datediff(s,getdate(),time))=(select min(abs(datediff(s,getdate(),time))) from tb)godrop table 阅读全文