日期:2014-05-17  浏览次数:20388 次

捣腾了一天了,各位快帮帮忙吧。

  大概是这样的,在后台页面得到了一个业务层的对象BLLResponse,但是我在前台的<td>中需要显示BLLResponse.Obj()的值,(Obj是BLLResponse的一个属性)

这应该怎么样实现啊。

------解决方案--------------------
。。。用服务器控件吧这个值输出出去。
------解决方案--------------------
<td><%=BLLResponse.Obj%></td>
------解决方案--------------------
楼主有ispostback判断?如果有的话就不行
探讨

引用:

HTML code
<form id="form1" runat="server">
<div>
<table>
<tr>
<td>
<%=student.StudentName %>
</td>
</tr>
……




谢啦,我想我找到原因了啊。现在前台是有数据的啊。就是没有显示了。呵呵。

------解决方案--------------------
探讨
HTML code
<form id="form1" runat="server">
<div>
<table>
<tr>
<td>
<%=student.StudentName %>
</td>
<……