PC Review


Reply
Thread Tools Rate Thread

binding to a custom property

 
 
Cordine
Guest
Posts: n/a
 
      18th Nov 2004
just as we can bind the text property of a textbox to a column/field of a
table,
can we do the same for a custom property of a class to a field of a table.

To put it simply, i'd like to have a property cName in a class, which i'd
like to bind
to the Name field/column of a datatable. & when this value changes in the
data table,
i want the value in the cName property to change & automatically i want some
otherthings
to happeyn (basically i'd like to put in some code in the SET of the cName
property).

This is so that i can bind the cName property of my custom to a textbox &
not bind the actual data column to the textbox.

???



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Binding control property to class property? Johnny Jörgensen Microsoft C# .NET 5 3rd May 2007 09:22 AM
Binding to property of property of object collection TS Microsoft ASP .NET 3 31st Aug 2006 01:57 PM
Custom control within repeater with custom object binding - .net 1 =?Utf-8?B?SmF5YnVmZmV0?= Microsoft ASP .NET 9 21st Feb 2006 03:38 AM
problem updating CurrencyManager.Position when binding to a custom object's ArrayList property Bob DeRemer Microsoft Dot NET Framework Forms 4 13th Oct 2004 08:58 AM
Binding the Image property of the picturebox to a another class.property Cade Carvell Microsoft VB .NET 1 9th Jul 2003 05:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:52 AM.