hi, all i need to add combobox in datagridview.
actually i have 3 fields in database which are
Sid Fee status
what i want to add combo column in field [status] with two option PAID or UNPAID which a user can select and update it .
i am all clear with filling the datagridview from database and updating but only problem is adding a combobox in third field that is status.
i tried it with this
Dim combo As DataGridViewComboBoxColumn DataGridView1.Columns("combo") combo.Items.Add("PAID") combo.Items.Add("UNPAID")
above code add the column with combobox but not with field status but as a fourth column which i does not require i need to add it at third field . i am sure you guys can help.
thanks in advance
Edited 7 Years Ago by ayesha789: n/a