/// <summary> /// 绑定控件 /// </summary> void BindControl() { if (dataGridView1.Rows.Count > 0) { personnelChange = m_personnerServer.GetPersonnelChangeInfo(dataGridView1.CurrentRow.Cells["编号"].Value.ToString()); } }