Click here to Skip to main content
15,888,454 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to dispaly my records rendomly in my gridview, i.e. some time record no8 will display 1st in grid view n some time record no 4 diaplay n so on... Can any one help me out??? Thnx in advance...
Posted

1 solution

u will try newid() in sqlserver.
like as follows

select * from table order by newid()
 
Share this answer
 
Comments
Naikniket 16-Nov-11 6:46am    
it is not working in access.. :(

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900