62,047
社区成员
发帖
与我相关
我的任务
分享
using System;
using System.Collections;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using jdyh.Model;
using System.Collections.Generic;
namespace jdyh.manager
{
public partial class mrdg : System.Web.UI.Page
{
protected List<Url> users;
protected int cc;
protected void Page_Load(object sender, EventArgs e)
{
users = UrlServices.GetAllUsers();
}
}
}
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="mrdg.aspx.cs" Inherits="jdyh.manager.mrdg" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0062)http://m.fang.com/zt/wap/201407/huinanloupan.html?city=sh&m=xf -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK"/>
<meta charset="gbk">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>每日导购-往期回顾</title>
<meta content="房天下" name="keywords">
<meta content="房天下" name="Description">
<script src="./jscss/jquery-1.7.1.min.js"></script>
</head>
<body>
<form id="form1" runat="server">
<div id="urllist">
<% if (users != null)
{
for (int ix = 0; ix < users.Count; ix++)
{
%>
<div>
<a href="<%=users[ix].Urls %>">
<%=users[ix].Title %></a>
</div>
<%}
} %>
</div>
</form>
</body>
</html>