public void BindTop() { // this.Pub1.Add("\t\n<div id='tabsJ' align='center'>"); MapExtXmls fss = new MapExtXmls(); fss.RetrieveAll(); this.Left.Add("<a href='http://ccflow.org' target=_blank ><img src='/DataUser/ICON/" + BP.SystemConfig.CompanyID + "/LogBiger.png' style='width:180px;' /></a><hr>"); //this.Left.Add("<a href='http://ccflow.org' target=_blank ><img src='../../DataUser/LogBiger.png' /></a><hr>"); this.Left.AddUL(); foreach (MapExtXml fs in fss) { if (this.PageID == fs.No) { this.Left.AddLiB(fs.URL + "&FK_MapData=" + this.FK_MapData + "&ExtType=" + fs.No + "&RefNo=" + this.RefNo, "<span>" + fs.Name + "</span>"); } else { this.Left.AddLi(fs.URL + "&FK_MapData=" + this.FK_MapData + "&ExtType=" + fs.No + "&RefNo=" + this.RefNo, "<span>" + fs.Name + "</span>"); } } this.Left.AddLi("<a href='MapExt.aspx?FK_MapData=" + this.FK_MapData + "&RefNo=" + this.RefNo + "'><span>帮助</span></a>"); this.Left.AddULEnd(); }
public void ShowExtMenu() { this.Add("\t\n<div id='tabsJ' align='center'>"); MapExtXmls fss = new MapExtXmls(); fss.RetrieveAll(); this.AddUL(); foreach (MapExtXml fs in fss) { if (this.ExtType == fs.No) { // this.Lab = fs.Name; this.AddLiB("MapExt.aspx?FK_MapData=" + this.FK_MapData + "&ExtType=" + fs.No, "<span>" + fs.Name + "</span>"); } else { this.AddLi("MapExt.aspx?FK_MapData=" + this.FK_MapData + "&ExtType=" + fs.No, "<span>" + fs.Name + "</span>"); } } this.AddLi("<a href='MapExt.aspx?FK_MapData=" + this.FK_MapData + "'><span>帮助</span></a>"); this.AddULEnd(); this.AddDivEnd(); }