Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding Combo To DataGridView
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01440197
Message ID:
01440222
Views:
38
>I'm trying to add a combo box to a data grid view. I'm following this example:
>http://www.c-sharpcorner.com/UploadFile/RustemSoft/DataGridCombo07302005031036AM/DataGridCombo.aspx
>
>So I type this in:
>
>DataGridComboBoxColumn cboTables = new DataGridComboBoxColumn();
>
>
>The compiler complains that I'm missing a reference. I Google it and find it's in System.Windows.Controls. Except this namespace
>does not exist. Using VS 2008.
>
>How the heck do you add a combo to a grid?


The Rustemsoft control are datagridcolumns themselves. You will need to first add a reference

C:\Program Files\RustemSoft\DataGridViewColumns .NET 2.0 assembly\DataGridViewColumnsTrial.dll

or something like that. then you will do a

using Rustemsoft.DataGridViewColumns

That should get you the intellisense you need

( the Rustemsoft controls have to be first downloaded and installed, of course)

http://www.softplatz.com/Info/RustemSoft.html

To do it with straight .net

http://msdn.microsoft.com/en-us/library/7tas5c80%28VS.80%29.aspx


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform