DataBinder.Eval(参数1,参数2,参数3) 请问该函数中第二个参数从哪里取得,是我们自己随便定义的呢?还是在程序中其他地方事先定义的?搞不懂怎么使用。请大虾们指点。多谢了! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 第二个参数其实就是字段名<%# DataBinder.Eval (Container.DataItem, "字段名字") %> <asp:Label ID="Label2" Runat="server"> <%# DataBinder.Eval(Container.DataItem, "KH_DATE","{0:yyyy-MM-dd}") %></asp:Label> 1) container.item the collection of the container2) datacolumnname in the container 3) type the format type you want to convert DataGridViewComboboxCell 弹出下拉框 急!大家给点思路 SmtpClient 出现太多连接必须稍等关掉稍等2分钟重开 输入个整数该怎么输入啊?几种方法呢? listbox怎么能出现左右拉条 如何用C#实现MATLAB中给坐标画线的功能 关闭线程的问题 操作Excel久了,没出错了,请高手们帮忙解决,谢谢 求解?255个数据表,如何能在5个工作日内做它的设计文档? 关于指针与字符串的问题 [C#]我真是笨透了,该怎样把C:\\aaa\\bbb\\a.txt的路径名和文件名分开 刚学.net,在看MSDN里的例程,有一个错误不知道什么原因请帮忙...
<%# DataBinder.Eval (Container.DataItem, "字段名字") %>
<%# DataBinder.Eval(Container.DataItem, "KH_DATE","{0:yyyy-MM-dd}") %>
</asp:Label>
2) datacolumnname in the container
3) type the format type you want to convert