Asp.net maintaining sessions
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
i m developing a web portal using asp.net with C#.i have to add one online testing module in it.for online tests question papers must have different questions for different users and it must fetch questions in random order from the databse .how i can do it ?:doh: TripathiH
-
i m developing a web portal using asp.net with C#.i have to add one online testing module in it.for online tests question papers must have different questions for different users and it must fetch questions in random order from the databse .how i can do it ?:doh: TripathiH
What DB do you use? MS SQL has function that genterates a unique identifier value. It's NEWID(). You can use it to sort records randomly.
select top 10 * from YourTableName order by newid()