62,025
社区成员
发帖
与我相关
我的任务
分享
using System;
namespace test.model
{
public class Article
{
private int _id;
public int Id
{
get { return _id; }
set { _id = value; }
}
private string _title;
public string Title
{
get { return _title; }
set { _title = value; }
}
}
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<%= %>
</div>
</form>
</body>
</html>
namespace test.web
{
public partial class WebForm1 : System.Web.UI.Page
{
protected model.Article ArticleModel = new model.Article();
protected void Page_Load(object sender, EventArgs e)
{
}
}
}