62,067
社区成员
发帖
与我相关
我的任务
分享
protect String Get(object str)
{
return (str.tostring().substring(0,50)+"......");
}
<asp:Label ID="Label7" runat="server" Text='<%# Convert.ToString(Eval("case_problem")).Length>20?Convert.ToString(Eval("case_problem")).Substring(0,20)+"..":Eval("case_problem") %>' Width="100px"></asp:Label>