日期:2014-05-18 浏览次数:20622 次
Literal lt = new Literal(); lt.Text = "<img src='" + s + "'/><a href=\"javascript:__doPostBack('" + this.LinkButton1.ClientID + "','" + p + "')\">删除</a>"; this.Controls.Add(lt); //触发LinkButton1的Command事件时调用的方法 protected void LinkButton1_Command(object sender, CommandEventArgs e) { // string a = e.CommandArgument.ToString(); }