Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Urgent Repeater Help

Hey,
I have a repeater which renders the items as tables (each item is a table). I want to set the ID of each table Dynamically, based on the data in the row. How can I do it?

I tried having <table id='<%=name%>'>

and in the OnDataItemBind event i set

name = (DataRowView)e.Item.DataItem["id"];

but for some reason (maybe since the strings are evaluated last) all tables end up having the same id...:(

Is there a way to get around this???????
[514 byte] By [Raffee] at [2007-11-11 6:33:50]
# 1 Re: Urgent Repeater Help
Raffee i don't really get what u are trying to do and why
naijacoder at 2007-11-11 23:14:15 >