Thanks.  I looked at the examples and noticed the the return result 
of the DataEval function is an object.  Page 618 assumes in will be 
an integer.  I put a cast in the function FilterProducts and it 
worked. 

--- In [EMAIL PROTECTED], "ssuing8825" 
<[EMAIL PROTECTED]> wrote:
> Need to know what the code behind looks like specifically this 
> function FilterProducts.
> 
> This site also inplements this technique.
> http://www.asp.net/ReportsStarterKit/
> 
> 
> --- In [EMAIL PROTECTED], "scaevola637" 
> <[EMAIL PROTECTED]> wrote:
> > ASP.NET Unleashed has an example in Chapter twelve (page 618) of 
a 
> > nested Datagrid.  I cannot seem to get it to work.  Here is the 
> code :
> > (I am using C#, for what its worth)
> >             <P><asp:repeater id="rptCategories" Runat="Server">
> >                             <ItemTemplate>
> >                                     <h2>
> >     <%#DataBinder.Eval(Container.DataItem, "CategoryName" )%>
> >             </h2>
> >     <asp:DataGrid 
> > DataSource='<%# FilterProducts(Container.DataItem("CategoryID"))%
>' 
> > runat="server" />
> >                             </ItemTemplate>
> >                     </asp:repeater></P>



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/saFolB/TM
---------------------------------------------------------------------~->

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 

Reply via email to