DataGridview cells of one column can't have different type
问题 well I have a datagridview , and i have a column, all i want to do is controlling the cells in this column, sometimes make it combobox, sometimes textBox ....etc I can make the cells of a column have only one type , can i make many cells type in one column ? hope it is clear . 回答1: There are two ways to do this: Cast a DataGridViewCell to a certain cell type that exists. For example, convert a DataGridViewTextBoxCell to DataGridViewComboBoxCell type. Create a control and add it into the