PC Review


Reply
Thread Tools Rate Thread

DataBinding with Custom Objects

 
 
Steve
Guest
Posts: n/a
 
      22nd Jul 2003
I have an object returned from a Web Service that I would
like to Bind to a Repeater. However, at runtime I get an
error saying the property doesn't exist. Since the
wsdl.exe tool generated the stubbed object on the client
side I don't want to edit it. I thought as long as the
field is public, it should act like a property. Can
someone help?

Code Sample
<%# DataBinder.Eval(Container.DataItem, "ApprovalLevel") %>
ApprovalLevel is a public field on my object.

Thanks
Steve
 
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
Databinding expressions are only supported on objects that have a DataBinding event jobs Microsoft ASP .NET 0 26th Sep 2007 12:54 AM
Databinding: Objects within Objects as Properties Aaron Moore via .NET 247 Microsoft Dot NET Framework Forms 0 10th Jun 2004 03:48 PM
DataBinding with Custom Objects Steve Microsoft Dot NET Framework 0 22nd Jul 2003 08:52 PM
Re: DataBinding to Lists of Custom Objects (Implements iList, iCollection, etc.) John Bonds Microsoft Dot NET 0 14th Jul 2003 08:46 PM
Re: databinding to custom objects Ken Tucker Microsoft ADO .NET 1 8th Jul 2003 05:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:06 PM.