Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Binding Textbox to a Class Property
Message
From
01/06/2004 12:35:27
 
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00908931
Message ID:
00908937
Views:
26
Kevin ... Binding to a DataTable is what's normally done, but there's no reason that you can't bind to a property.

Gary ... how about posting some code? I have no clue otherwise as to where your problem might be.

~~Bonnie



>Gary,
>
>Unless there's a capability of binding that I'm not aware of, the binding is to a dataset/datatable, not to an class object like the one you described.
>
>If you need to set/get what's entered into that textbox and put it into your object, you could write some code for when the textbox is refreshed/validated, etc.
>
>But as far as I know, normally you bind to a dataset.
>
>Kevin
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform