for (int i = 0; i <lts.Count; i++)
{
LoginName = @"{1}";
xh = (lts[i].LoginName == Logins.GetCurrentLogin().LoginName) ? @"<tr><td class=""hidden"">{0}</td><td><span>
//id值
<a href=""DT.aspx?id={1}"">{1}</a>
</span></td><td><a class="""" onclick=""Del('{0}')"">取消关注</a></td><td class="""" id=""Ln"" name=""Ln"" >{4}</td></tr>":"" ;
sb.AppendFormat(xh, lts[i].ID, lts[i].Memo2, lts[i].LoginName,lts[i].Content,lts[i].OperateTime,lts[i].Operator,lts[i].TimeFinger,lts[i].PostTime,lts[i].Status,lts[i].BlackList,lts[i].WhiteList,lts[i].Reads,lts[i].Description,lts[i].Checker,lts[i].CheckTime,lts[i].CheckResult,lts[i].CheckOpinion,lts[i].Memo1,lts[i].Memo3,lts[i].Memo4,lts[i].Memo5);
}
if (lts.Count<1)
{
sb.Append("<tr><td>暂无数据</td></tr>");
string LoginName ="id";
//id值传给loginname
List<Article> lts = Articles.GZYHgetList(LoginName);
StringBuilder sb = new StringBuilder();
string xh = string.Empty;
传值:Response.Redirect("网址?id="+id+"")
接值:string LoginName = request["id"]; 试试这个 虽然看不懂你的代码 但这个是一般的跨页面传值语句