CY_ZZJY.Web/admin/total/company_total.aspx.cs
(完整代码) 1KBusing System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using CY_ZZJY.Service.Sys;
namespace CY_ZZJY.Web.admin.total
{
public partial class company_total : System.Web.UI.Page
{
public string StrColumns = string.Empty;
private SYS_DICTIONARIES_Service _SYS_DICTIONARIES_Service = new SYS_DICTIONARIES_Service();
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
DataTable dtDic = this._SYS_DICTIONARIES_Service.QueryToDataTable("企业性质");
if (dtDic != null && dtDic.Rows.Count > 0)
{
foreach (DataRow row in dtDic.Rows)
{ this.StrColumns += "{title: '" + row["VALUE"].ToString() + "', field: '" + row["VALUE"].ToString() + "', width: 90, align: 'right' },"; }
this.StrColumns = this.StrColumns.Substring(0, this.StrColumns.Length - 1);
}
}
}
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。