% mysql="SELECT * FROM NoticeDetails" set Con=Server.CreateObject("ADODB.Connection") Con.open Application("ConStr") set rs=Con.Execute(mysql) if not rs.eof then %>