473,508 Members | 2,324 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HELP - ComboBox in DataGrid

I know it is an ongoing issue, yet, I still look for a solution.
I saw a solution using a DataGridComboBoxColumn class. I use C# with
Visual Studio .NET 2003, and that class is not recognized. Any idea
what is going on here?
Can anybody finally show me a simple and complete way of turning a
Windows Forms DataGrid column style into a ComboBox style?

Thanks,
David

Nov 17 '05 #1
4 2462
Hi David,

This is not a standard part of the Framework. There is an MSDN sample in the
overview of the DataGridColumnStyle class which is actually the source code
of such a column style - can you start from there?

--
Sincerely,
Dmytro Lapshyn [Visual Developer - Visual C# MVP]
"David K." <ke*******@013.net> wrote in message
news:11**********************@l41g2000cwc.googlegr oups.com...
I know it is an ongoing issue, yet, I still look for a solution.
I saw a solution using a DataGridComboBoxColumn class. I use C# with
Visual Studio .NET 2003, and that class is not recognized. Any idea
what is going on here?
Can anybody finally show me a simple and complete way of turning a
Windows Forms DataGrid column style into a ComboBox style?

Thanks,
David


Nov 17 '05 #2
Hi Dmytro,

Thanks. I tried the link that you gave me, but it is not available. Can
you give any other link or source?

David

Nov 17 '05 #3
http://64.78.52.104/FAQ/WinForms/FAQ_c44c.asp#q480q

--

HTH

Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Concept S2i inc. (www.s2i.com)

"David K." <ke*******@013.net> wrote in message
news:11**********************@l41g2000cwc.googlegr oups.com...
I know it is an ongoing issue, yet, I still look for a solution.
I saw a solution using a DataGridComboBoxColumn class. I use C# with
Visual Studio .NET 2003, and that class is not recognized. Any idea
what is going on here?
Can anybody finally show me a simple and complete way of turning a
Windows Forms DataGrid column style into a ComboBox style?

Thanks,
David

Nov 17 '05 #4
http://msdn.microsoft.com/library/de...classtopic.asp

--
Sincerely,
Dmytro Lapshyn [Visual Developer - Visual C# MVP]
"David K." <ke*******@013.net> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
Hi Dmytro,

Thanks. I tried the link that you gave me, but it is not available. Can
you give any other link or source?

David


Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1405
by: Gamze | last post by:
Hi, In my vb.net windows application ,i have combobox which is populated by sqlserver database table.When i select value from combobox ,value saved in to other table of my database and i use to...
2
5114
by: Anita C | last post by:
Hi, How do I associate or map a specific column in a datatable to a particular element present in an xml document - to read into a datatable as well as write from the datatable to the xml element?...
3
4236
by: Bill C. | last post by:
Hello, I know this has been discussed a lot already because I've been searching around for information the last few weeks. I'm trying to implement a DataGridComboBoxColumn class. I've found...
2
2366
by: john sutor | last post by:
Does anyone know how to create a combobox in a standard datagrid? I can create check boxes , but not the combobox
1
2478
by: anonymous | last post by:
I've been trying to put a them, please help me out. Here's the major parts of my code: public Form1() { DataSet myDataSet = new DataSet("myDataSet"); DataTable testTable = new...
3
3016
by: PeterZ | last post by:
G'day, After doing much searching and pinching bits of ideas from here there and everywhere I came up with a fairly 'clean' solution of including a comboBox into a dataGrid column. You can...
3
6805
by: TT (Tom Tempelaere) | last post by:
Hay there, I'm writing my own DataGridComboBoxColumn because .NET 1.1 does not have one (I hope .NET 2.0 supplies one). I based it on this article:...
1
1458
by: John Doe | last post by:
Now i know how to manually add a combobox to a datagrid, but how would i handle the recordset below? ID | FirstName | LastName | Job -------------------------------- 1 |Joe | Smith |...
0
407
by: dbuchanan | last post by:
ComboBox databindng Problem == How the ComboBox is setup and used: My comboBox is populated by a lookup table. The ValueMember is the lookup table's Id and the DisplayMember is the text from a...
0
1294
by: Familjen Karlsson | last post by:
Hi I have downloaded some code and tried it and nothing happens with the datagrid. Explain what is wrong and what I have to do please. I have tried to Import the namespace Hamster and it didn't...
0
7224
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7118
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7323
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7493
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5049
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
1550
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
763
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
415
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.