Is there a way to return a random row from a table using LINQToSQL?
Never tried it, but i suspect the following will get the job done
Random rnd = new Random(); int count = db.MyTable.Count(); int skip = rnd.Next(count); var row = (from r in db.MyTable select r).Skip(skip).Take(1);