Wrox Programmer Forums
|
Pro VB.NET 2002/2003 For advanced Visual Basic coders working .NET version 2002/2003. Beginning-level questions will be redirected to other forums, including Beginning VB.NET.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 21st, 2003, 02:43 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default Class data binding

Hello,

I've created a class that has a list of properties, for example:

DataItem Class
  property ID
  property Name
  property Description
  property Text
  property State

I have a DataItemCollection class (which inherits from CollectionBase) that contains many DataItem objects. I don't want to return the results as a DataSet or DataTable and bind that to a windows form, I want to data bind a windows form to the DataItemCollection class. Is this possible? If so, how do you make a reference? Can you make a reference at design time, or do you do it at runtime?

Thanks,

Brian Mains
__________________
Brian
 
Old October 21st, 2003, 03:13 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Try these

http://www.ondotnet.com/pub/a/dotnet.../02/ilist.html

http://www.google.com/search?sourcei...ction+bindable

Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
What instance? - Data-binding to my class stevefal Pro Visual Basic 2005 0 April 15th, 2008 06:02 PM
Data Binding - Editing GridView Row Data desk_star BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 7 December 30th, 2007 11:07 AM
Data Binding Quick209 Classic ASP Databases 0 July 18th, 2005 03:23 PM
Data Binding Prashant.k.m Visual Studio 2005 0 April 21st, 2005 06:54 AM
Binding to Filtered Data (or Data subsets) gdbjohnson C# 8 August 27th, 2004 01:59 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.