//从数据库中选择单选题
  case 1:
  SqlDataAdapter myadapter1 = new SqlDataAdapter("select * "
  + "from tb_Questions where que_type='语文题'and que_lessonid='"
  + dd1 + "'and que_taotiid='" + dd2 + "'order by newid()", con);
  DataSet myds1 = new DataSet();
  myadapter1.Fill(myds1);
  DataList1.DataSource = myds1;
    
  DataList1.DataBind();
  //生成单选题题号
  int[] array;
array = new int[DataList1.Items.Count];
array[0] = 0;
 for (int tID1 = 1; tID1 <= DataList1.Items.Count; tID1++)
  {
  Label lblSelect = (Label)DataList1.Items[tID1 - 1].FindControl("Label2");
  lblSelect.Text = tID1.ToString() + "、";
  array[i] = tID1; }
  break;