Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
E

e wrench

@e wrench
About
Posts
1
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Online Quiz wanted to show questions in random order
    E e wrench

    Another way to do that is to load the questions into a datatable. Create an integer array from 0 to datatable row count. Then use the Fisher-Yates algorithm to shuffle the array. Clone the original datatable and then load rows into the cloned datatable using the order of the shuffled array. Alternatively you could have a question order field in the question database and shuffle the numbers in the datatable. Finally bind the datatable to the detailsview grid. Cheers.

    Mike Rehner IT Teacher Northeast Career Center Columbus OH 43219

    ASP.NET database sql-server sysadmin tutorial lounge
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups