Change textbox column to combo box column in datagridview
Hello All Experts,
In my window application i have taken one combobox column with its collection as "amc", "war" etc.
Now in my datagridview this combobox column is display as Textbox column, i want to change it to combobox with the above collection "amc","war".
I have retreiving the result in datagrid through sql query, hence in datagrid edit column section we doesnot have that part to change to Combobox column.
Please let me know how it will be possible by using vb.net code.
Looking for the solution.
Thanks,
AKM
Re: Change textbox column to combo box column in datagridview
You don't change a text box column to a combo box column any more than you change a dog into a cat. If you want a combo box column then you have to add a combo box column in the first place. Data-binding will never create one for you. Follow the CodeBank link in my signature and check out my thread on the topic.