日期:2010-06-11  浏览次数:20555 次

Random R = new Random();
 int intRandomNumber = R.Next(1,1000);
string sql = "select top 10 id As 序号,Title As 标题 from Document Order By Rnd("
      + (-1 * intRandomNumber).ToString() + "*id)";
........
..........