日期:2014-05-17 浏览次数:21297 次
$.get("ListLineMen.aspx", function (data) {
var listLineMen = eval(data);
var listLineMenHtml = "";
for (var i = 0; i < listLineMen.length; i++) {
listLineMenHtml = listLineMenHtml + "<a href='javascript:;' v='" + listLineMen[i].username + "'>" + listLineMen[i].names + "</a>";
}
$("#priceLinkMenNex").html(listLineMenHtml);
loadStatus++;
});
public string data()
{
string strUser = "8042";
string sqlSt1 = "select * from UserInfo where UserId='" + strUser + "'";
DataTable dt = DBclass.ExecSel(sqlSt1);
string username = dt.Rows[0]["UserName"].ToString();
return username.ToString() ;
}