Results 1 to 4 of 4

Thread: .Net assembly DataGridVveiw ComboBox

  1. #1
    Join Date
    Apr 2009
    Posts
    40

    .Net assembly DataGridVveiw ComboBox

    Hello,

    I wanted to design combobox come up in datagrid view control which will appear in the Windows forms project and it should be populated from a SQL table dataset by giving criteria from a previous form.

    It need to have 6 columns overall in the dataset, and the last column should be consisting of combo box column asking whether "Done" and "Pending".

    How do I do that using the combobox please Let me know...

  2. #2
    Join Date
    Apr 2008
    Posts
    193

    Re: .Net assembly DataGridVveiw ComboBox

    DataGridViewColumns .NET 2.0 assembly allows you to use all strengths of the MS Windows .NET 2.0 forms DataGridView control without waiving the user interface elements of a customers need.

    To use the DataGridVeiw controls in your program you need to define the following proprties:
    1. box.DataSource-> a source for DataGridView values list as System.
    2. box.DisplayMember-> field to display in combo as String
    3. box.DisplayMode->Identifies what kind of data you would like to see in whole
      • DataGridView customized column, as DataGridViewColumns.DisplayModes.
      • ShowDisplayMember
      • ShowValueMember
    4. box.allDictionaryColumns
      • allFields
      • allFields_ExceptRelationKey

  3. #3
    Join Date
    Dec 2008
    Posts
    202

    Re: .Net assembly DataGridVveiw ComboBox

    DataGridView control lots of times while developing a Data Driven Application.

    usually it is recommended that it is need to bind the DataGridView control with some BindingSource. Also we can bind the DataGridView's ComboBox Column with the some other BindingSource. and therefor DataGridView has mostly different DataSource and vice-versa ComboBox column has a different.

    First create a simple User Interface,then bind the DataGridView control with the same OrderDetail DataTable,then think about the front-end the Product_ID column will be set to ComboBox Column in which you could populate the Products' Name.

  4. #4
    Join Date
    Oct 2008
    Posts
    167

    Re: .Net assembly DataGridVveiw ComboBox

    If you really Need then Why dont you go for available DataGridViews online this would be best deal for you.Here i will provide little info about the RustemSoft DataGridView Columns .NET 2.0 assembly,this software package specifically designed for Windows Forms.

    By using available assembly you are allow to create as per your requirements DataGridViewColumn objects with the custom column for the Windows Forms DataGridView control and add them to the GridColumnsCollection.

Similar Threads

  1. Need Help With ComboBox
    By Reyas in forum Software Development
    Replies: 1
    Last Post: 29-04-2012, 12:53 PM
  2. Use of combobox in script
    By Martien in forum Software Development
    Replies: 3
    Last Post: 15-01-2010, 11:58 AM
  3. Combobox and Text value
    By HarshaB in forum Software Development
    Replies: 5
    Last Post: 09-11-2009, 07:16 PM
  4. How to lock combobox
    By JamesB in forum Software Development
    Replies: 3
    Last Post: 19-03-2009, 07:20 PM
  5. Add ComboBox in DataGrid in VB 6.0
    By Jateen in forum Software Development
    Replies: 3
    Last Post: 15-01-2009, 06:31 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,526,899.84061 seconds with 17 queries