上一页 1 2 3 4 5 6 7 ··· 16 下一页
摘要: C#实现Oracle数据批量导入源码(利用SqlLdr )效果展示 下载地址:https://download.csdn.net/download/rrrgy236116/11227170 阅读全文
posted @ 2021-01-05 13:02 不要摸我的腰 阅读(187) 评论(0) 推荐(0) 编辑
摘要: c#常用文件操作 1.Web 获取绝对路径 string filePath = HttpContext.Current.Server.MapPath("~/EmailFiles/"+m.ms_username); 线程中:HttpRuntime.AppDomainAppPath.ToString() 阅读全文
posted @ 2021-01-05 13:00 不要摸我的腰 阅读(56) 评论(0) 推荐(0) 编辑
摘要: C#设计模式00 六大原则 单一职责、里氏替换、依赖倒置、接口隔离、迪米特、开闭 六大原则 : 单一职责、里氏替换、依赖倒置、接口隔离、迪米特、开闭 阅读全文
posted @ 2021-01-05 12:58 不要摸我的腰 阅读(112) 评论(0) 推荐(0) 编辑
摘要: C#设计模式01 单例模式 单例模式一 public class Singleton private static object mylock = new object(); private Singleton() //首次初始化信息 public static Singleton CreateIn 阅读全文
posted @ 2021-01-05 12:56 不要摸我的腰 阅读(67) 评论(0) 推荐(0) 编辑
摘要: MVC Action 接收model 中属性默认值 不能设置为 public int i=-1; 只能用构造函数初始化 public class class1 {<!-- --> public class1() {<!-- --> i=-1; } public int i {get ;set ;} 阅读全文
posted @ 2021-01-05 12:53 不要摸我的腰 阅读(122) 评论(0) 推荐(0) 编辑
摘要: MVC easyui-switchbutton 和 checkbox 、radio 使用和赋值 JQ select 取值 初始化默认: <input id="cdt_level" class="easyui-switchbutton" data-options="onText:'是',offText 阅读全文
posted @ 2021-01-05 12:52 不要摸我的腰 阅读(699) 评论(0) 推荐(0) 编辑
摘要: MVC Html.Partial RenderPartial Action RenderAction 区别 阅读全文
posted @ 2021-01-05 12:51 不要摸我的腰 阅读(67) 评论(0) 推荐(0) 编辑
摘要: MVC 获取controllerName和actionName var actionName=ViewContext.RouteData.Values["action"].ToString().ToLower(); 2.过滤器中获取 var actionName = (filterContext.R 阅读全文
posted @ 2021-01-05 12:48 不要摸我的腰 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 获取程序地址或路径 Web地址: JS: var baseUrl = window.location.host;//不带http:// 结果为: localhost:8033 asp.net: string host = HttpContext.Current.Request.Url.Host; s 阅读全文
posted @ 2021-01-05 12:46 不要摸我的腰 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 解决C#时间格式问题,不在受系统时间格式影响 if (DateTimeFormatInfo.CurrentInfo != null) 阅读全文
posted @ 2021-01-05 12:44 不要摸我的腰 阅读(273) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 16 下一页