PC Review


Reply
Thread Tools Rate Thread

Been a while since I've done Asp.net..

 
 
Andy
Guest
Posts: n/a
 
      15th Aug 2008
So I need some help with something very basic.

I have a repeater and I'm binding it via the DataSourceId property to
a DataSourceControl, which is bound to a business object (Rma) I have.

The BO in question has a property which is a collection,
ItemsReceived. I'm trying to get the repeater to display the items IN
the collection.. so I also set the repeaters DataMember property to
ItemsReceived.

The page doesn't work... in the ItemTemplate for the repeater, I try
Eval( "PartNumber" ). The error I get is that PartNumber doesn't
exist on the Rma type.. but it does on the items within the
ItemsReceived collection.

What am I doing wrong?

Thanks
Andy
 
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



Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:55 AM.