摘要: 方便的进行对象转换,仅作使用笔记 https://www.cnblogs.com/arvinzhang/p/8282922.html 例子: var result = new List<EquipmentRegistrationPart>(); var dbViewParts = wcfDataPr 阅读全文
posted @ 2020-09-23 14:00 Forbid404 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 控制设备显隐 方法一: <input type="button" id="sfsfd" style="margin-left: 10px" onclick="SelectVisible()" class=" btn" /> <div id="collapseTwo" style="display: 阅读全文
posted @ 2020-06-09 15:45 Forbid404 阅读(72) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-05-21 09:12 Forbid404 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-05-21 09:02 Forbid404 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 内容主要来源:https://www.runoob.com/css/css-syntax.html CSS 指层叠样式表 (Cascading Style Sheets) 语法: CSS 规则由两个主要的部分构成:选择器,以及一条或多条声明; CSS注释以 "/*" 开始, 以 "*/" 结束; i 阅读全文
posted @ 2020-05-20 13:13 Forbid404 阅读(279) 评论(0) 推荐(0) 编辑
摘要: 最近遇到个项目,设备上没有鼠标,界面为全屏的一个DataGrid,需要实现按小键盘的0和1让DataGrid的当前选中行进行上下滚动 起到重要参考的是: https://blog.csdn.net/sinat_31608641/article/details/105428496 实现后台滚动到当前选 阅读全文
posted @ 2020-05-15 17:09 Forbid404 阅读(663) 评论(0) 推荐(1) 编辑
摘要: public class RestClientMethod { /// <summary> /// 请求服务器地址 /// </summary> public string BaseUri; //例如: http://10.0.0.193 public RestClientMethod(string 阅读全文
posted @ 2020-04-27 16:42 Forbid404 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 有类: public class ImgInfo { public int fs { get; set; } public string FileName { get; set; } public string oldPricute { get; set; } } 转换: 需要添加Newtonsof 阅读全文
posted @ 2020-04-27 16:22 Forbid404 阅读(764) 评论(0) 推荐(0) 编辑
摘要: 需求:如题,C#本地要调用Webservice接口,上传本地的照片到服务器中; 参考:客户端: https://blog.csdn.net/tiegenZ/article/details/79927670 服务端: https://www.cnblogs.com/zzzili/archive/201 阅读全文
posted @ 2020-04-27 16:10 Forbid404 阅读(1240) 评论(0) 推荐(0) 编辑
摘要: 问题:VS中创建了WebAPI项目,如何在项目中打断点在本地调试? 解决方法: 1、在属性->Web中,添加虚拟目录: 2、打开IIS,添加对应端口的网站 3、设置应用程序池 2020.04.24 记, 有新问题后续继续补充 阅读全文
posted @ 2020-04-24 13:59 Forbid404 阅读(1027) 评论(0) 推荐(0) 编辑