• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 580
  • Last Modified:

How to use Databinding in Listview to bind dataset? (VB.NET 2005)

I have a dataset (one datatable) that have 5 columns.  I want to bind only 2 columns to ListView.  How can I do it?

Thanks in advance!!!

p.s. I use VB.NET 2005
0
ipdicky
Asked:
ipdicky
1 Solution
 
SanclerCommented:
The ListView, as it stands, does not support databinding.  But you can create your own control, inheriting from ListView, which does.  Have a look at this

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnadvnet/html/vbnet08262002.asp

Roger
0
 
ipdickyAuthor Commented:
Thank you very much!!!
0
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.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now