Re: Simple data binding in ASP.NET

Patrick Steele <[email protected]> Tue, 26 Feb 2008 12:01:33 -0500
Newsgroups gmane.comp.windows.devel.dotnet.web
Message-ID <006001c87899$3df25440$b9d6fcc0$@org>
Google for "asp.net databinding".  Tons of hits (I think the 2nd one is
Microsoft's documentation).

---
Patrick Steele
Microsoft .NET MVP
http://weblogs.asp.net/psteele


-----Original Message-----
From: Discussion of building .NET applications targeted for the Web
[mailto:[email protected]] On Behalf Of chris Burgess
Sent: Tuesday, February 26, 2008 10:52 AM
To: [email protected]
Subject: [DOTNET-WEB] Simple data binding in ASP.NET

I have a 'Person' object with 2 properties (name, age).

I want to bind these properties to textboxes on an ASP.NET page
(NameTB, AgeTB). Is there a way to do this that is similar to the
simple data binding methods used in a Winform (using the Binding
object)?

So far, I've only been able to setup INotifyPropertyChanged, and
handle this through event calls.

Thanks!

Chris

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com