I have a VB.Net DataGridView that I am creating and filling during load time. My problem is that I want a drop down list for one of my columns. How would I go about this?
How I am Creating the grid:
Download vb.netLanguage: net
dgvWeapons.Columns.Add("col1", "Weapon Name")
dgvWeapons.Columns.Add("col2", "Hand")
dgvWeapons.Columns.Add("col3", "Type")
dgvWeapons.Columns.Add("col4", "Size")
dgvWeapons.Columns.Add("col5", "Damage Type")
dgvWeapons.Columns.Add("col6", "Size")
dgvWeapons.Columns.Add("col7", "Critical")
dgvWeapons.Columns.Add("col8", "Reach")
How I add to the DataGridView:
Download vb.netLanguage: net
dgvWeapons.Rows.Add(WeaponsName, WeaponsHand, WeaponsDamageType, WeaponsSize, WeaponsCritical, WeaponsReach, WeaponsDamage, WeaponsSpecial)
I want "Type" to become a ComboBox Cell type. It will have two options, "Melee" and "Ranged"