private void Dgv_Summary_CellClick(object sender, DataGridViewCellEventArgs e) { if (Btn_Update.Enabled == true&& Dgv_Summary.SelectionMode == DataGridViewSelectionMode.FullRowSelect) { col.DisplayStyle = DataGridViewComboBoxDisplayStyle.ComboBox; col.DisplayStyleForCurrentCellOnly = true; } }
col = (DataGridViewComboBoxColumn)Dgv_Summary.Columns["YN"]; col.FlatStyle = FlatStyle.Popup; col.DisplayStyle = DataGridViewComboBoxDisplayStyle.ComboBox; col.DisplayStyleForCurrentCellOnly = true; Dgv_Summary.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)