Web/Controls/Left1.ascx.cs
(完整代码) 1KBusing System;
namespace Maticsoft.Web.Controls
{
public partial class Left11 : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
WebEdit();
BindLoad();
}
private void BindLoad()
{
Maticsoft.BLL.ContactInfo cBll = new Maticsoft.BLL.ContactInfo();
DataContact.DataSource = cBll.GetList(" E_CompanyTypeID=1 ");
DataContact.DataBind();
}
private void WebEdit()
{
Maticsoft.BLL.WebEditInfo eBll = new Maticsoft.BLL.WebEditInfo();
int Maxid = eBll.GetMaxId() - 1;
Maticsoft.Model.WebEditInfo eModel = eBll.GetModel(Maxid);
lblAdress.Text = eModel.Address;
lblEamil.Text = eModel.E_Email;
lblLiinkModel.Text = eModel.ModelPhone;
lblLinkPhone.Text = eModel.E_LinkPhone;
//lblweburl.Text = eModel.E_WebUrl;
lblWrite.Text = eModel.LinkWrite;
}
//private void InitaoLoad()
//{
// Maticsoft.BLL.ContactInfo cBll = new Maticsoft.BLL.ContactInfo();
// DataContact.DataSource = cBll.GetList(" E_CompanyTypeID=1 ");
// DataContact.DataBind();
//}
//private void WebEdit()
//{
// Maticsoft.BLL.WebEditInfo eBll = new Maticsoft.BLL.WebEditInfo();
// int Maxid = eBll.GetMaxId() - 1;
// Maticsoft.Model.WebEditInfo eModel = eBll.GetModel(Maxid);
// lblAdress.Text = eModel.Address;
// lblEamil.Text = eModel.E_Email;
// lblLiinkModel.Text = eModel.ModelPhone;
// lblLinkPhone.Text = eModel.E_LinkPhone;
// //lblweburl.Text = eModel.E_WebUrl;
// lblWrite.Text = eModel.LinkWrite;
//}
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
