PC Review


Reply
Thread Tools Rate Thread

Assigning a variable to a repeater control container

 
 
Chumley the Walrus
Guest
Posts: n/a
 
      12th May 2004
I need to assign a variable to a record drawn from a db by way of a
repeater control:


<ASP:Repeater id="thedata" runat="server">

<itemtemplate>
<%dim display

display = Container.DataItem("displaygroup") %>

<%# Container.DataItem("displaygroup")%>

</ItemTemplate>
</ASP:Repeater>

the display = Container.DataItem("displaygroup") does not work (error:
Name 'Container' is not declared.), and i need to find a way to assign
what's in <%# Container.DataItem("displaygroup")%> a variable

thanks
chum
 
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
Custom container control with limited container region mnuckols@gmail.com Microsoft C# .NET 1 27th Aug 2007 05:01 PM
Reset Function variable after Repeater control is finished sck10 Microsoft ASP .NET 2 4th Sep 2006 01:55 AM
Winforms Repeater Container =?Utf-8?B?UGV0ZSBaYXBwdWxsYQ==?= Microsoft Dot NET Framework Forms 2 17th Nov 2005 11:30 PM
assigning a control to a variable question djc Microsoft Access Form Coding 2 24th Nov 2003 04:37 PM
Make Container UserControl force controls to be added to a child container control Codemonkey Microsoft Dot NET Framework Forms 2 21st Nov 2003 08:22 PM


Features
 

Advertising
 

Newsgroups
 


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