Adding a RadioButton control to a DataGridView

I have tried to add a RadioButton control to a DataGridView and am unable to. Is there anyway at all this can be done? I know there is no DataGridViewRadioButton object but just wondered if there is a work-around?

Who is Participating?
CodeCruiserConnect With a Mentor Commented:
I was referring to DataGridViewRadioButtonCell  class which you can either convert to VB.NET online or put into a C# DLL project and reference in your project.
Christopher KileCommented:
It is clearly possible (see this article from Microsoft's ASP.NET site) to add a RadioButton column to a GridView.  Therefore, it is likely to be a problem in your implementation.  


What did you see that told you adding the RadioButton failed?  If you can, include the actual error message or a captured image that shows the error report.


What is the method you used to add the RadioButton?  Please include source code with the Imports that you used; please obscure anything you consider private such as passwords or directory paths, but please don't delete out any significant code.
This should help us diagnose your issue quickly.
See if you can follow this MSDN article
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

BlakeMcKennaAuthor Commented:
See screenshot!
Have you copied the class code into your project? And is it using any namespace?
BlakeMcKennaAuthor Commented:
What class code are you referring to? Do I need to include it as a reference in my project?
Also...I'm using VB.Net.
BlakeMcKennaAuthor Commented:
Any ideas on this and my screenshot posting? In case I didn't clarify, this is a Windows App and not a Web App. I'm using the DataGridView...not the GridView.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.