- 博客(11)
- 资源 (1)
- 收藏
- 关注
原创 C# SimHash文字相似度
using System;using System.Collections.Generic;using System.Linq;using System.Numerics;using System.Text;namespace chx{ public class SimHash { private String tokens; private BigInteger strSimHash; private int hashbits
2021-11-26 14:25:48
440
原创 【C#判断时间段是否重复】
C#判断时间段是否重复 public bool IsIn(DateTime StartTime1, DateTime EndTime1, DateTime StartTime, DateTime EndTime) { DateTime start1 = (StartTime1); DateTime end1 = (EndTime1); DateTime start2 = (StartTime);
2021-11-17 17:05:46
1044
原创 C# Selenium
C# Selenium踩坑总结元素定位到。但是点击报错无头模式截图判断元素是否存在等待元素加载元素定位到。但是点击报错 addressElement.Click();//此方法。定位到元素但不可点击会报错 dr.ExecuteScript("arguments[0].click();", addressElement);无头模式 ChromeOptions options = new ChromeOptions(); options.AddArguments("headl
2021-11-10 10:49:42
2182
原创 vs2017添加ef链接mysql问题解决
VS2017 在添加ef 连接mysql的时候版本冲突dbfirst报错工具——》NuGet包管理器——》程序包管理器控制台PM>Install-Package EntityFramework -Version 6.0.0Install-Package EntityFramework.zh-Hans -Version 6.0.0Install-Package MySql.Data -Version 6.10.8Install-Package MySql.Data.Entity -Versio
2021-08-27 11:33:11
119
原创 EF常用语法
EF常用语法方法一 Linq to Entities:` var info = from p in entity.Users where p.ID >= 10 orderby p.ID descending select p; foreach (var item in info) { Console.WriteLine("ID:" + item.ID + " " + "登录名:" + item.LoginNam
2021-08-24 22:21:10
568
原创 js获取对象所有属性
var that = thisvar keys = Object.keys(CuttomFieldJson); keys.forEach(function (element, index) { if ($(that).closest("tr").find("input[name=" + element + "]")) $(that).closest("tr").find("input[name=" + element + "]").val(CuttomFieldJson[element
2021-01-14 15:26:48
659
原创 js获取对象所有属性
var Func={ init: function () { this.FirstFunc(); this.SecondFunc(); } ,FirstFunc:function(){ } ,SecondFunc:function(){ }}Func.init();
2021-01-13 15:25:44
178
原创 layui关闭当前窗体,刷新父级页面
window.parent.location.reload();var index = parent.layer.getFrameIndex(window.name);parent.layer.close(index);
2021-01-13 15:20:03
473
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人