HighTechTalks DotNet Forums  

Databind to a single instance of a class

Dotnet Framework (WinForms DataBinding) microsoft.public.dotnet.framework.windowsforms.databinding


Discuss Databind to a single instance of a class in the Dotnet Framework (WinForms DataBinding) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
moondaddy
 
Posts: n/a

Default Databind to a single instance of a class - 04-24-2006 , 01:43 PM






I've seen plenty of examples where you can databind to a list of objects,
but in this case I want to bind to a single instance and have no use for a
list. Can anyone refer a good example of how to do this in .net 2.0?

Thanks.


--
moondaddy (AT) noemail (DOT) noemail



Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default RE: Databind to a single instance of a class - 04-24-2006 , 09:55 PM






Hi Moondaddy,

What controls are you trying to bind to the datasource object? Is that a
DataGridView or some textboxes and comboboxes? In other words, are you
doing a simple-bound or a complex-bound? For Simple-Bound(bindings to
control's properties), you can check the following article for more
information.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/
vbtskcreatingsimply-boundcontrolonwindowsform.asp

Kevin Yu
Microsoft Online Community Support

================================================== ==========================
==========================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
================================================== ==========================
==========================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.