Ask a Question related to ASP.NET General, Design and Development.
-
Kevin Etchison #1
Re: Bind an ArrayList to a Repeater
This may or may not help. but the TimeTracker Sample App that can be
downloaded w/ Source Code on [url]http://www.asp.net[/url] uses this on every datagrid
and dropdownlist it uses, so its a really good sample to work from.
Hope that helps.
Thanks,
Kevin A. Etchison
[email]thoughtpolice_29@hotmail.com[/email]
"Jim French" <not.me@yahoo.com> wrote in message
news:bfmlps$g9oeq$1@ID-147295.news.uni-berlin.de...syntax> I would like to bind an ArrayList to a Repeater control. What is the> I need to use on the client side. So, right now, I have this:
>
> <asp:Repeater ID=Repeater2 OnItemDataBound="Repeater2_OnItemDataBound"
> Runat=server>
> <ItemTemplate>
> nbsp; -- <a
> onclick="javascript:window.open('addressaddcasedis play.aspx?id=<%#
> Container.DataItem %>');" href="#"><%# Container.DataItem%></a>
> </ItemTemplate>
> </asp:Repeater>
>
> If I wanted to, say, have the Key field as the id parameter of the
> window.open statement, how would I write it?
>
> Thank you,
> Jim
>
>
Kevin Etchison Guest
-
How to pull the data out from two table and bind to repeater
HI All, Can somebody help what's wrong with my SQL Query statement when i want to create a join table query. It suppose work perfectly fine, but... -
Repeater and ArrayList
Hi, I am trying to use arraylist (of strings) as Datasource for a repeater. what do I write in item template? DataBinder.Eval....??? The list... -
ArrayList and datagrid
Hello, I have a problem to bind my arrayList to a datagrid. I have read the article on MSDN but I dont ' understand where is the bug. I have 2... -
Cannot bind IList returned from a web service to a repeater
After I retrieved a list of objects (e.g Employees) and put it into a IList (ArrayList) and bind it to a repeater. everything works fine so far. ... -
bind a dynamically created dataTable to a repeater
Hi alll, How can I bind a dynamically created dataTable to a repeater? I do not know the number of columns and the column names at design time....



Reply With Quote

