We help IT Professionals succeed at work.

How to add buttons to listview vb.net

team2005
team2005 asked
on
5,448 Views
Last Modified: 2013-11-26
Hi!

How do i add button(s) to my listview control ?
I am using vb.net

Must have 3 buttons added to every row.



Comment
Watch Question

Dirk HaestProject manager
CERTIFIED EXPERT

Commented:
Comment found at another forum:
http://social.msdn.microsoft.com/Forums/en-US/winforms/thread/ee232cc4-68c5-4ed3-9ea7-d4d999956504


You might want to look at using a datagridview instead, as that sort of thing is actually pretty easy with a DataGridViewButtonColumn and a simple google should do it.

If you feel you must use a ListView, check out this article.  A bit long and you'll certainly have to download and review the code, but it should work for you

http://www.codeproject.com/cs/miscctrl/ListViewEmbeddedControls.asp
Dirk HaestProject manager
CERTIFIED EXPERT

Commented:
Add Button into ListView in DotNet Windows Application
http://elroy-wu.spaces.live.com/blog/cns!D7A04F0828F01F50!439.entry?sa=695381082

Author

Commented:
Hi!

I need example for vb.net, and not C#

Thanks
Project manager
CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
thanks
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.