This tutorial will demonstrate how to get a random row from your SQL database using ASP.NET 4.0 and C#. Selecting random rows from a database can be useful for many different purposes such as displaying random images, quotes, products, or anything else that your database may contain. In this example we will choose a random number from a database. Adding the Default.aspx Page At this point in the tutorial I have created a new ASP.NET Empty Web Site. What we need to do first is add in a blank Web Form that we will use to test our SQL query and ensure that we are getting the correct results. To do this: Right click the project in your Solution Explorer. Select Add New Item... Select a Web Form and name it Default.aspx. Click Add. We migrated our web sites to Server Intellect over one weekend and the setup was so smooth that we were up and running right away. They assisted us with everything we needed to do for all of our applications. With Server Intell...