自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 收藏
  • 关注

原创 jquery 委托事件

function getlist(sy) { $.ajax({ type: "POST", url: '/ProductCenters/Cloud/Ajax_Server/CloudManage.ashx', data: { sy: sy, typex: "7" }, success: function (data) { ...

2021-09-18 11:20:20 99

原创 sql 把两条数据拼接为一条数据

select stuff((select '、'+c_nmefrom alislb for xml path('')),1,1,'') as UserName,stuff((select '、'+c_pssfrom alislb for xml path('')),1,1,'') as Num,stuff((select '、' + RTRIM(c_regstt) from alislb for xml path ('')),1,1,'') as Num

2021-09-18 11:18:49 3310

原创 在xml 中如何换行

在xml中如何换行:& lt; br/ & gt;

2021-09-18 11:16:49 4195

原创 递归树 获取同级及子级

/// <summary> /// 创建人:tqy 创建时间:2017-8-24 /// 修改人: 修改时间: /// 说明:获取部门信息,同级及子级 /// </summary> /// <returns>部门信息</returns> public Result GetDepartmentSub(int depid) { ...

2021-09-18 11:15:45 149

原创 layui 列表数据绑定分页、全选、导出、打印

<script src="/app/layui/layui.js"></script> <script src="/app/layui/xm-select.js"></script> <link rel="stylesheet" href="/app/layui/css/layui.css" media="all"> <script>var gclt = $("#gclt").val()...

2021-09-17 11:45:01 572

原创 去重Distinct() 随机排序RandomSortList()

string bannerword="最、最佳、最具、最爱、最赚、最优、最优秀、最好、最大、最大程度";List<string> list = bannerword.Split('、').ToList().Where(c => !string.IsNullOrEmpty(c)).Distinct().ToList();list =RandomSortList(list);bannerword = string.Join("、", list.ToArray());...

2021-04-23 15:39:38 142

原创 xpath 不包含某个样式 不取第一个值

string HNClistTechnologyHotClassClass = "//*[@class='grayborder']/table/tr[@class!='item-tr' or @class='' or not(@class)][position()>1]";不取第一个值的数据position()>1

2020-11-11 10:27:29 998

原创 数据抓取,数据分析

using Ruanm.Framework.Http;using HtmlAgilityPack;public string html = string.Empty; public string yhfx_evaluate_1, yhfx_evaluate_2, yhfx_evaluate_3, yhfx_evaluate_4, yhfx_evaluate_5, yhfx_evaluate_6, yhfx_evaluate_7; public string c...

2020-07-14 14:49:17 257 1

原创 数据抓取,抓取js里面的数据

using Ruanm.Framework.Http;using HtmlAgilityPack;public string html = string.Empty;public string findlongTailChartText;protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { ht...

2020-07-14 14:46:41 334

原创 分页翻页按钮用程序计算拼接

分页,为了能够被蜘蛛爬虫/// <summary> /// 分页的显示分页上一下下一页 bar /// </summary> /// <param name="p">当前页</param> /// <param name="PageSize">//每页显示条数</param> /// <param name="pageCounts">...

2020-07-14 14:32:02 88

原创 sql 行转列 列转行

--创建表CREATE TABLE [dbo].[UserInfo]( [U_id] [int] IDENTITY(1,1) NOT NULL, [UserName] [nchar](10) NULL, [PassWord] [nchar](10) NULL,CONSTRAINT [PK_UserInfo] PRIMARY KEY CLUSTERED( [...

2019-12-19 15:16:45 81

原创 angular.js 绑定下拉框,ng-model的值需要转为字符串类型

Anjular.js下拉框绑定时候的时候,出现<option value="? number:2019 ?"></option>是由于初始化值的时候为number类型,而下拉框的数据为string类型,无法匹配@{varstart = DateTime.Now;}<selectclass="form-control...

2019-07-31 11:34:06 1013

原创 echarts 柱状图头部显示头像

var app = angular.module("app", ['ngDatepicker']);    app.controller("AppController", function ($scope, $http) {        //搜索        $scope.searchData = function () {            try {

2017-08-17 16:37:32 1778

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除