Hl.WebMain/AdmPage/BizMarketManage/TSSvcAndVehicleInfo.aspx.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using Hl.Code;
using Hl.WebMain.Common;
namespace Hl.WebMain.AdmPage.BizMarketManage
{
public partial class TSSvcAndVehicleInfo : System.Web.UI.Page
{
#region "全局变量及属性"
public Hl.DataModel.BizVehicleInfo McarInfo = null;//当前车辆
#endregion
#region "页面初始及加载"
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
Test_Perm();
Bind_Info();
Bind_Data();
}
}
#endregion
#region "绑定数据及验证"
protected void Test_Perm()
{
}
protected void GetModel()
{
string strsvcid = Request["svcid"];
if (strsvcid == "" || strsvcid==null )
return;
DataModel.DataHelp dataHelp = new DataModel.DataHelp();
dataHelp.DataComm.TopNum = "";
dataHelp.DataComm.Fields = " BizServiceInfoHistory.MileageBeforeEnter, BizServiceInfoHistory.CreateDate,BizServiceInfoHistory.VehicleId,BizServiceInfoHistory.VehicleNo, BizServiceInfoHistory.ServiceNo,BizServiceInfoHistory.ServiceType,BizServiceInfoHistory.AdvisorServiceNo,BizServiceInfoHistory.OperatorNo,BizCustomerLinkManInfo.Name,BizCustomerLinkManInfo.Fixed, BizCustomerLinkManInfo.Phone,BizCustomerLinkManInfo.Profile";
dataHelp.DataComm.SWhere = " and BizServiceInfoHistory.Id=" + strsvcid;
dataHelp.DataComm.TbName = "BizServiceInfoHistory";
dataHelp.DataComm.TbJoin = "Left Join BizCustomerLinkManInfo On BizServiceInfoHistory.LinkManId=BizCustomerLinkManInfo.Id ";
dataHelp.DataComm.SortBy = "";
DataBll.DataHelp.SelectInfo(dataHelp);
foreach (DataRow row in dataHelp.Mreasult.Tables[0].Rows)
{
htmlCreateDate.Value = DataConvert.ToDateTime(row["CreateDate"], DateTime.Now).ToString("yyyy-MM-dd HH:mm");
htmlVehicleNo.Value = DataConvert.ToString(row["VehicleNo"], "");
htmlServiceNo.Value = DataConvert.ToString(row["ServiceNo"], "");
htmlLinkManNo.Value = DataConvert.ToString(row["Name"], "");
后面还有 47 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
