예제 #1
0
    /// <summary>
    /// 获取数据
    /// </summary>
    /// <returns></returns>
    public DataSet GetModelList()
    {
        string  fileds = "ID,userName,trueName ,currentScore , totalScore,sex ,province,city,isBusiness,registNumber,department,position,phone,address,addTime";
        DataSet ds     = common.Up2PageInfo("tb_sys_userinfo", "userName,addTime", fileds, (name != "" ? "userName='******'" : ""), 10, CurrentIndex, 2);

        if (Tools.Validator.CheckDataSet(ds))
        {
            return(ds);
        }
        else
        {
            return(null);
        }
    }
예제 #2
0
    /// <summary>
    /// 获取数据
    /// </summary>
    /// <returns></returns>
    public DataSet GetModelList()
    {
        string  fileds = "id,receiveName,postAddress,province,city,telephone,phone,zipCode,addtime";
        DataSet ds     = common.Up2PageInfo("tb_sys_distribution", "addtime", fileds, "", 10, CurrentIndex);

        if (Tools.Validator.CheckDataSet(ds))
        {
            return(ds);
        }
        else
        {
            return(null);
        }
    }
예제 #3
0
    /// <summary>
    /// 获取数据
    /// </summary>
    /// <returns></returns>
    public DataSet GetModelList()
    {
        string  fileds = "id,fielsName,filesUrl ,showLeft , addUser,addTime ,menuName";
        DataSet ds     = common.Up2PageInfo("View_SystemFiles", "classId", fileds, (menuId != -1 ? "classId=" + menuId : ""), 10, CurrentIndex);

        if (Tools.Validator.CheckDataSet(ds))
        {
            return(ds);
        }
        else
        {
            return(null);
        }
    }
예제 #4
0
    /// <summary>
    /// 获取数据
    /// </summary>
    /// <returns></returns>
    public DataSet GetModelList()
    {
        string fileds = "id,name,value,typeTag,addUserId,addUserName,addTime ";

        if (Tools.RequestCheck.CheckKeyWord(SearchValue))
        {
            FinalMessage("查找对象含有非法关键词", "Manage_SysParam.aspx", 1);
        }

        DataSet ds = common.Up2PageInfo("tb_sys_paramcenter", "typeTag", fileds, (SearchValue != "" ? "typeTag like '%" + SearchValue.Trim() + "%'" : ""), 10, CurrentIndex);

        if (Tools.Validator.CheckDataSet(ds))
        {
            return(ds);
        }
        else
        {
            return(null);
        }
    }