trystring y;
....<%# y =(string)(DataBinder.Eval(Container.DataItem, "x")) %>NOTE: if the expression is in ItemTemplate for controls like DataGrid, y will take the value of "x" from the last record
....<%# y =(string)(DataBinder.Eval(Container.DataItem, "x")) %>NOTE: if the expression is in ItemTemplate for controls like DataGrid, y will take the value of "x" from the last record
解决方案 »
- 网页播放视频,无法播放rmvb格式。代码如下。期待高手
- asp.net的第三方控件做统计图比较好的
- 求此良药:病症为----用户控件源文件必须具有 .ascx 文件扩展名
- dundas chart for asp.net 做饼图时,某项太少,会被自动放置到other类中,真是奇怪问题?
- XML查询问题?????
- 高手进:关于XMLHttpResquest发送数据后返回的问题
- VS2005 sp1的问题,web应用程序发布失败
- 请问如何在DataGrid中实现分页显示?如何统计数据库中数据的总条数?
- 我怎么不能调试asp.net应用程序?
- 搞了三个小时了,还没有解决!怪!
- 请问高手:做网站时,如何使同一用户帐号不能重复登录?
- 为什么我不能新建ASP.net webservice项目?
y = str
setVar = y
end function <%# setVar((string)(DataBinder.Eval(Container.DataItem, "x"))) %>
y = str
setVar = y
end function <%# setVar((string)(DataBinder.Eval(Container.DataItem, "x"))) %>thx,这样可以取得预期的Y值.
但<%# setVar((string)(DataBinder.Eval(Container.DataItem, "x"))) %>
已经输出了值.能做到取得Y值的同时,数据绑定的语句没有输出?
y = ......;
}