private void button3_Click(object sender, EventArgs e)//第一轮加载界面 { ad_ServicesBLL servicesBLL = new ad_ServicesBLL(); studataGridView.DataSource = servicesBLL.stuGetmatchdata(); teadataGridView.DataSource = servicesBLL.teaGetmatchdata(); }
private void Matching_Load(object sender, EventArgs e)//加载 { tabControl1.TabPages[0].Text = "第一轮双选匹配"; tabControl1.TabPages[1].Text = "第二轮双选匹配"; ad_ServicesBLL servicesBLL = new ad_ServicesBLL(); studataGridView.DataSource = servicesBLL.stuGetmatchdata(); teadataGridView.DataSource = servicesBLL.teaGetmatchdata(); }