List/Grid Tag Archives: generate random number
How To Generate Random Numbers In SQL Server
Sometimes you need to generate Random numbers for some kind of functionality in SQL Server. Say you want to create an application to select Lucky Draw winner for any kind of competition from your database. Then you can achieve the same by generating a random number and then selecting that row or person from your database. Here is my article on How To Select nth Row from a Table. Instructions:…
How To Generate Random Number In C#
Some times your Application demands for Random numbers generated at run time and proceed accordingly. Say you are creating a game and you want to place monster or some thing like that at some place. That place too is a random one not always predefined. Here in this tutorial, I will show you an example for generating Random integers or double values and finally i will print them on Console….