代码如下:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="testweb.WebForm1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Xml TransformSource="XSLTFile1.xslt" ID="minanva" runat="server"></asp:Xml>
</div>
</form>
</body>
</html>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace testweb
{
public partial class WebForm1 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
minanva.DocumentContent = @"<站点导航列表 来访员工=''>
<站点导航 站点名称='设计计划' 站点编号='EPM' 站点链接='../NWEPDI.EPM.WEB/../Project/ProjectList.aspx?QueueType=EPM0101' />
<站点导航 站点名称='设计作业' 站点编号='DDM' 站点链接='../MoEngineer/ProjectMgr.aspx' />
<站点导航 站点名称='设计流程' 站点编号='DFM' 站点链接='../MoFlow/CWorkItemList.aspx?QueueType=DFM0101' />
<站点导航 站点名称='印务管理' 站点编号='PPM' 站点链接='../MoPrint/PrintMgr.aspx?QueueType=PPM0101' />
<站点导航 站点名称='工时管理' 站点编号='WHM' 站点链接='../MoWorkHour/HourMgrPrj.aspx?QueueType=WHM0103' />
新闻热点
疑难解答
图片精选