<%# DataBinder.Eval(Container.DataItem, "字段","{0}") %>的问题!!
dyss 2003-12-04 02:46:48 我的页面有个datalist,想根据<%# DataBinder.Eval(Container.DataItem, "字段","{0}") %>来在html页面作判断:
本人想在html页面这样写
<td>
<%if 条件 then%>xx
<%Response.Write("是")%>
<%else Response.Write("否") end if%>
</td>
但是,将"条件"换成<%# DataBinder.Eval(Container.DataItem, "字段","{0}") %>就出错,请各位高手,指点一下。我错在那里