asp.net+js实现的ajax sugguest搜索提示效果(2)


<%@ Page Language="C#" %>
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
Response.ContentType = "text/xml";
Response.ContentEncoding = Encoding.GetEncoding("utf-8");
Response.Write("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n");
Response.Write("<keylit>");
Response.Write("\t<key value=\"阿会楠一直在坚持走自己的路\" />\n");
Response.Write("\t<key value=\"阿会楠今年25岁了!\" />\n");
Response.Write("\t<key value=\"阿会楠现在在汕头!\" />\n");
Response.Write("\t<key value=\"阿会楠会回广州!\" />\n");
Response.Write("\t<key value=\"搜索吧是阿会楠在大学期间的作品之一!\" />\n");
Response.Write("\t<key value=\"sosuo8.com by ahuinan\" />\n");
Response.Write("</keylit>");

}
}
</script>


打包下载

您可能感兴趣的文章:

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wjfzxw.html