后台:
protected string getNo(object
o)
{
string result =
"";
string s =
o.ToString();
//下面用StringBuilder类效率更好
result = "<a target=\"_blank\" href=\"UpdateUrl.aspx?url=" + s +
"\">upload</a> ";
return result;
}
前台:
<%#getNo(Eval("url"))%>