steven4733-gmail
-
1/25/2012 10:42:10 AM
how to get a combination name using Eval()
I'm wondering how to get a combination name like "test1" by using <%# Eval("id") %>
I want to name a div by the id field from a datatable, I can get the id in frontend by using <%# Eval("id") %>, I want the div name to be something like test1, test2...
Is this right? <div id="<%# test+Eval("id") %>"></div>
This code is supposed to write in frontend page of an asp.net website project.
|