DataGridView and ComboBox Column Problem

Hiii all

I have a problem in DataGridView, and i need help.

I use DataGridView has column its "column type property" is ComboBox ok..., i want to add items into every cell of type comboBox, i want to add items in a cell of type comboBox different from items in another cell.

this line adds items in all cells of type ComboBox

Column1.Items.Add("value")

please help me

Thnx




Answer this question

DataGridView and ComboBox Column Problem

  • Arjan Pot

    I dont understand what do u mean

  • Clément

    Hiii sir

    i develop with VB.NET 2005.

    and my problem is that i want to fill the combobox in each row of this CombBox Columns with different items.

    when i fill the CombBox in a row all other ComboBox in the other rows are filled also, but i want to fill every row CombBox seperatly.

    i want to deal with each row combox alone.

    I hope u understanded the problem.

    Thanks



  • William Yeung

    Hi,

    I'm just wondering what software your developing with. Are you developing an Access database and the problem your having is with creating a form, or are you developing in .NET

    need more information.



  • Big Jim C

    Hi,

    I thought I posted a reply to this but it seems to be lost. I understand what you want to do but I don't think it's possible. The data grid view is a database like view of data, its very unlikely a database would allow a different list of entries to be input for a row. You generally want a column to contain a choice of values set for all rows.

    You could try the Window Forms forum. Someone there might know a way but I think its doubtful.

    http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=8&SiteID=1



  • Gary B.

    hello there,

    Is this in an Access form



  • DataGridView and ComboBox Column Problem