Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / November 2006

Tip: Looking for answers? Try searching our database.

Q: Assign a component in a cell in DataGridView, possible?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Martin Arvidsson - 20 Nov 2006 16:09 GMT
Hi!

I have created a ComboBox, with special features. When I use a DataGridView
i want to use my ComboBox instead of the built in combobox. How can i do
this?

Regards
Martin
Dave Sexton - 21 Nov 2006 03:18 GMT
Hi Martin,

I suspect that you'll have to derive from the DataGridViewComboBoxCell or
DataGridViewComboBoxColumn classes.

Here's an article that I haven't read myself, but it looks like it may be
useful to you:

"Build a Custom RadioButton Cell and Column for the DataGridView Control"
http://msdn2.microsoft.com/en-us/library/aa730882(vs.80).aspx

Signature

Dave Sexton

> Hi!
>
[quoted text clipped - 4 lines]
> Regards
> Martin

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.