label6.Text = "判断题数量:" + dt_试卷信息.Rows[0]["ps"].ToString();
label8.Text = "名词题数量:" + dt_试卷信息.Rows[0]["ms"].ToString();
label10.Text = "简答题数量:" + dt_试卷信息.Rows[0]["jds"].ToString();
}
_ID_试卷 = value;
}}
private void btn选择题_Click(object sender, EventArgs e)
{
if (ID_试卷 > 0)
{
S_试卷试题 s_试卷试题 = new S_试卷试题();
s_试卷试题.ID_试卷 = ID_试卷;
s_试卷试题.S_试题类型 = 0;
s_试卷试题.LoadData();
s_试卷试题.ShowDialog();
ID_试卷 = ID_试卷;
}
else
MessageBox.Show("试卷未保存,请先报存试卷信息.");
}
private void btn填空题_Click(object sender, EventArgs e)
{
if (ID_试卷 > 0)
{
S_试卷试题 s_试卷试题 = new S_试卷试题();
s_试卷试题.ID_试卷 = ID_试卷;
s_试卷试题.S_试题类型 = 1;
s_试卷试题.LoadData();
s_试卷试题.ShowDialog();
ID_试卷 = ID_试卷;
}
else
MessageBox.Show("试卷未保存,请先报存试卷信息.");
}
private void btn判断题_Click(object sender, EventArgs e)
{ 《计算机网络》课程通用题库管理系统设计与实现(18):http://www.751com.cn/jisuanji/lunwen_183.html