I am creating a part of a game in ASP.NET (VB). There is a database with four tables (topics), and in those tables there are three items. I need the application to be able to show a random item (for example the three items are 1, 2, 3 - I just want one random entry from 2) within the table and show it on the app. There also needs to be a option to check so that that entry does not show up again when the user clicks for another random entry. How would I go about doing that?
Jump to Post
For getting random numbers you need to have a bit of code like this
Random Number Generator -- Generate Random Numbers (Int) between Rang -- Create the variables for the random number generation DECLARE @Random INT DECLARE @Upper INT DECLARE @Lower INT ---- This will …
All 5 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.