
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
c# .net跨线程可以实现全局共享变量共享值 需要用到 AsyncLocal浅析 .NET 中 AsyncLocal 的实现原理 - 黑洞视界 - 博客园
using Newtonsoft.Json;using System;using System.Collections.Generic;using System.Data;using System.IO;using System.Linq;using System.Reflection;using System.Runtime.Serialization.Json;using System.Tex
转载:Linq之求和,平均值,最大值,最小值 - wolfy - 博客园写在前面最近一直在弄统计的内容,和统计相关的操作,就需要用到了,而有些在数据库中操作起来非常不方便,没办法就用c#中的linq来实现了。代码一个例子using System;using System.https://www.cnblogs.com/wolf-sun/p/4483134.htmlusing System;usin
c#对js的encodeURI() 编码 decodeURI()解码 ,escape() 编码unescape()解码,encodeURIComponent()编码 decodeURIComponent() 解码,字符串加密解密

/// <summary>/// 判断是否是通过手机访问/// </summary>/// <returns></returns>public bool IsPhoneRequest(){if (Request==null){return false;...
一、用数据库监视看先排除EF自身的另一种方法看EF执行的SQL语句方法:使用sqlserver中的sqlprofiler 监测工具,这个每次执行都会得到相应的sql的工具》SQL Server Profiler》第一步:连接第二步:直接默认,直接点“运行”如果有数据库操作就可以看到了,如果你嫌弃,记录太多,你可以在菜单栏》编辑》清除跟踪窗口或者菜单栏下边的工具栏上面有个橡皮檫,也是“清除跟踪窗口”
log4net:ERROR Failed to find configuration section 'log4net' in the application's .config file. Check your .config file for the <log4net> and <configSections> elements. The configuration .
Format属性 改成custom该控件 CustomFormat属性 改成 yyyy-MM-dd HH:mm:ss前台就能输入时间了后台获取 用datetimepicker.Value.ToString("yyyy-MM-dd HH:mm:ss");this.meslabel.Text = this.dateTimePicker1.Value.ToString("yyyy-MM...
首先:新建winform窗体,并把ComboBox控件拖到窗体内第一步:声明数据模型类-Region/// <summary>/// 地区/// </summary>public class Region{/// <summary>/// 地区ID///...
多次点击这个按钮会弹出多个窗体, 怎么才能只显示一个窗体?第一种解决方法 “单例”点击按钮弹出窗体private void toolStripLabel1_Click(object sender, EventArgs e){AddStudent add=AddStudent.AddStudentCreateInstance();...







