Click here to Skip to main content
Licence CPOL
First Posted 24 Nov 2003
Views 41,532
Bookmarked 16 times

Data bound ListView control

By | 24 Nov 2003 | Article
C# implementation of data bound ListView control

Introduction

This is a data bound / data-aware ListView control written in C#. Well, since I didn't find such control for C# - I’ve decided to convert the existing one, from MSDN, originally written in VB. I made just a few small changes to the original code:

  1. null object referenced properties are displayed as empty strings now (originally was NullReference exception text)
  2. I set ListViewItem.Tag property to the referenced object.

Disclaimer

I am not an author / person, who originally wrote this control in VB. Please address all questions to the original author: Rockford Lhotka, Magenic Technologies Inc. Original code and article located at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnadvnet/html/vbnet08262002.asp

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Alex Cherkasov

Web Developer

United States United States

Member

Senior System Architect with 11+ yrs experience. Masters degree in CS (PhD is
in progress). Experienced in design and implementation of enterprise wide computer systems,
n-Tier applications, application servers, computer vision, image analysis and
AI. Provide project design, development and management consulting services
through owned company http://www.xpidea.com



Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralFor a really databound listview PinmemberNoiseEHC3:12 27 Nov '03  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web01 | 2.5.120517.1 | Last Updated 25 Nov 2003
Article Copyright 2003 by Alex Cherkasov
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid