document.write('')例子

调用页面(shtml、页面前台):

"news2">

新闻列表页面前台:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TopNew.aspx.cs" Inherits="CF.CMS.Web.TopNew" %>

新闻列表页面后台:

builder.Append(string.Format("document.write('
  • {3}{2}
  • ');\n
    ", pageUrl, title, Settings.SubStr(title, _length), Settings.FormatDate(addTime, 0)));

     Response.Write(builder.ToString());
                Response.End();

     

     

    转载于:https://www.cnblogs.com/tianrui/archive/2013/01/17/2863980.html

    你可能感兴趣的:(document.write('')例子)