hello all, i using c#.net create windows application, here use datagridview add new details , use combobox datagridview combobox coloum select items , want add new item here. i aslo set datasoure for datagridview coloum bind data base, i want edit datagridview combobox coloum, here color column want add new color cant , restrict enter number on column here design here code add datagridview combobox coloum on load datagridviewcomboboxcolumn cmb1 = new datagridviewcomboboxcolumn(); cmb1.headertext = "color"; gvvd.columns.add(cmb1); private void gvvd_editingcontrolshowing(object sender, datagridvieweditingcontrolshowingeventargs e) { datagridviewcomboboxeditingcontrol combocontrol = e.control datagridviewcomboboxeditingcontrol; if (combocontrol != null) { //set dropdown style editable combobox if (combocontrol.dropdownstyle != combo
Comments
Post a Comment