实例的代码
public partial class AboutEloo : System.Web.UI.Page{
hou ho = new hou();
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
initDate();
}
}
protected void initDate()
{
//得到数据
LBabouteloo.Text = ho.AboutEloo();
}
}
}