Guest Majed Abbas Posted January 18, 2021 Posted January 18, 2021 Hello i want to add new column to datatable from combobox all items my code is Dim newColumn As New Data.DataColumn("Mån", GetType(System.String)) newColumn.DefaultValue = ComboBox1.Items.ToString dt.Columns.Add(newColumn) DataGridView3.DataSource = dt but is not working column is add but all items are System.Windows.Forms.ComboBox + ObjectCollection any help thanks Continue reading... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.