1 2 3 4 5
private DataRow GetRandomRow(DataTable dataTable) { Random rnd = new Random(); return dataTable.Rows[rnd.Next(dataTable.Rows.Count)]; }