.net c# 超链接传递参数
超链接传递参数:bh、lb,一直调试不过去,请指导一下吧!!strings_bh=dr["lsxwk_bh"].ToString();strings_lb=dr["lsx...
超链接传递参数:bh、lb,一直调试不过去,请指导一下吧!!
string s_bh = dr["lsxwk_bh"].ToString();
string s_lb = dr["lsxwk_lb"].ToString();
lt_jieshao.Text = lt_jieshao.Text + "<a href=" + "'" + "gentail.aspx?bh=<%=" + s_bh + "%>lb=<%=" + s_bh + "%>target='_blank'" + "'" + ">" + dr["lsxwk_content"] + " <br />"; 展开
string s_bh = dr["lsxwk_bh"].ToString();
string s_lb = dr["lsxwk_lb"].ToString();
lt_jieshao.Text = lt_jieshao.Text + "<a href=" + "'" + "gentail.aspx?bh=<%=" + s_bh + "%>lb=<%=" + s_bh + "%>target='_blank'" + "'" + ">" + dr["lsxwk_content"] + " <br />"; 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询