public string js;
protected void tupian()
{
FC.BLL.lianjie lianjie = new FC.BLL.lianjie();
string str = "ftype='广告' and fname='首页图片轮换' ";
string strb = "fid desc";
DataSet dt = lianjie.GetList(5, str, strb);
string ii = "";
string b = "";
for (int i = 0; i < dt.Tables[0].Rows.Count; i++)
{
ii += "|" + "../Admin/UpLoadPic/" + dt.Tables[0].Rows[i]["fpic"].ToString();
b += "|" + dt.Tables[0].Rows[i]["flink"].ToString();
}
js += "var pics='" + ii.Substring(1) + "';";
js += "var links='" + b.Substring(1) + "';";
}