DotNet.WebApplication/Modules/Common/User/Address.aspx.cs

(开头部分) 10KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

//-----------------------------------------------------------------
// All Rights Reserved , Copyright (C) 2013 , Hairihan TECH, Ltd .
//-----------------------------------------------------------------

using System;
using System.Data;
using System.Web.UI;
using System.Web.UI.WebControls;

using DotNet.Business;
using DotNet.Utilities;

/// <remarks>
/// Address
/// 内部通讯录
///		
/// 修改记录
///
///		2012.5.9 JChan 建立代码。 
///		
/// 版本:1.0
///
/// <author>
///		<name>JChan</name>
///		<date>2012.5.9</date>
/// </author> 
/// </remarks>
public partial class Address : BasePage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            this.SortExpression = BaseStaffEntity.FieldSortCode;
            this.SortDire = " ASC";
            // 页面初次加载时的动作
            this.DoPageLoad();
        }
        this.myNavigator.PageChange += new PageChangeHandler(this.myNavigator_PageChange);
    }
    private String DownloadFileName = "内部通迅录列表";

    #region private void FormatData(DataTable dataTable) 格式化数据
    /// <summary>
    /// 格式化数据
    /// </summary>
    /// <param name="dataTable">数据表</param>
    private void FormatData(DataTable dataTable)
    {
        // 格式化数据
        string[][] columnsName = new string[][]
            {
                new string[] { "RealName", "名称" },
                //new string[] { "DepartmentName", "部门" },
                //new string[] { "DutyName", "职位" },
                new string[] { "OfficePhone", "办公电话" },
                new string[] { "Mobile", "手机" },
                new string[] { "ShortNumber", "短号" },
                new string[] { "Email", "电子邮件" },
                // new string[] { "QQ", "QQ" }
后面还有 271 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。