Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Thread Tools Search this Thread
Old 06-05-2009
Join Date: Apr 2009
Posts: 40
.Net assembly DataGridVveiw ComboBox


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...
Reply With Quote
Old 06-05-2009
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
Reply With Quote
Old 06-05-2009
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.
Reply With Quote
Old 06-05-2009
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.
Reply With Quote

  TechArena Community > Software > Software Development
Tags: , , ,

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads for: ".Net assembly DataGridVveiw ComboBox"
Thread Thread Starter Forum Replies Last Post
Need Help With ComboBox Reyas Software Development 1 29-04-2012 12:53 PM
Use of combobox in script Martien Software Development 3 15-01-2010 11:58 AM
Combobox and Text value HarshaB Software Development 5 09-11-2009 07:16 PM
How to lock combobox JamesB Software Development 3 19-03-2009 07:20 PM
Add ComboBox in DataGrid in VB 6.0 Jateen Software Development 3 15-01-2009 06:31 PM

All times are GMT +5.5. The time now is 03:41 PM.