Esempio n. 1
0
        /// <summary>
        /// 查询选择的信息
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void QueryClubPeobutton_Click(object sender, EventArgs e)
        {
            string clubname = ClubNametextBox.Text.Trim();
            string stunum   = StuNumtextBox.Text.Trim();

            if (clubname != "")
            {
                this.dataGridView1.DataSource = clubBLL.Find_ClubPeoByClubName(clubname);
            }
            else if (stunum != "")
            {
                dataGridView1.DataSource = clubBLL.Find_ClubPeoByStuNo(stunum);
            }
            else
            {
                QueryClubPeoForm_Load(sender, e);
            }
        }