Set Con= server.createobject("adodb.connection")
DSN = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.Mappath("\designmaster\bd\bd.mdb")
Con.Open DSN
randomize()
Set RS= Server.CreateObject("ADODB.Recordset")
RS.Open "SELECT * from banner order by RND(numero) ", con
Question
§uiciDa£
ae galera o q tm de errado nesse codigo ?
porque ele só sorteia o numero 2
alguém tm alguma dica aew ??
vlw t+
Link to comment
Share on other sites
11 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.