private void frmImport_Load(object sender, EventArgs e) { GetGameLIST(); dtArea.Columns.Add("chk"); dtArea.Columns.Add("id"); dtArea.Columns.Add("ServerNM"); dtArea.Columns.Add("Server_Ip"); //取得大区列表 int igame_id = CommonCLS.GetGameID(this.cbxGameName.Text.Trim()); GetAreaList(igame_id); }
private void cbxGameName_SelectedIndexChanged(object sender, EventArgs e) { string strsql = string.Empty; try { if (this.cbxGameName.Text.Trim() != string.Empty) { //取得大区列表 int igame_id = CommonCLS.GetGameID(this.cbxGameName.Text.Trim()); GetAreaList(igame_id); } } catch (System.Exception ex) { CommonCLS.SaveLog("cbxGameName_SelectedIndexChanged->" + ex.Message); } }