How to bind a class property to a textbox
- From: cbtechlists@xxxxxxxxx
- Date: Tue, 26 Feb 2008 11:11:40 -0800 (PST)
I have a person class that has a 'name' property. I want to bind that
property to a textbox on an ASP.NET form.
In a winform, I can do something like this:
dim nameBinding as binding = new binding("text", me.person, "name",
true)
me.nameTB.databindings.add(nameBinding)
Is there an equivalent in ASP.NET?
Thanks,
Chris
.
- Follow-Ups:
- Re: How to bind a class property to a textbox
- From: Eliyahu Goldin
- Re: How to bind a class property to a textbox
- Prev by Date: Re: Frustrated setting up write permission to a folder
- Next by Date: Re: Frustrated setting up write permission to a folder
- Previous by thread: vs2005 reformating my html - Why
- Next by thread: Re: How to bind a class property to a textbox
- Index(es):