摘要:
/// <summary> /// 创建lambda表达式:p=>p.propertyName == propertyValue /// </summary> /// <typeparam name="T"></typeparam> /// <param name="column"></param> 阅读全文
摘要:
Code: /// <summary> /// 导出word /// </summary> /// <param name="id"></param> /// <returns></returns> [HttpGet] [Route("api/Values/Todoc")] public HttpR 阅读全文
摘要:
数据结构接口: /// <summary> /// 实体类必须实现接口 /// </summary> public interface IToTreeModel { int Id { get; set; } int ParentId { get; set; } List<IToTreeModel> 阅读全文
摘要:
方法: /// <summary> /// 实体类复制 /// </summary> /// <param name="objold"></param> public static dynamic EntityCopy(object objone, object objtow) { dynamic 阅读全文
摘要:
项目=》所有任务=》Export =>export repository dump 导入dump文件 epositories=》import existing repository 阅读全文
摘要:
。 public partial class Form2 : Form { public Form2() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { var srcImage 阅读全文
摘要:
修改文件夹 C:\Documents and Settings\All Users\Application Data 的访权限 显示安全文件=》属性=》安全=》高级=》Everyone=》编辑权限为访问 C:\Documents and Settings\All Users\Application 阅读全文
摘要:
验证数据 val.value 是否 //要替换的筛选条件 var reg = new RegExp(val.value, "g"); //替换后的字符 valslist = valslist.replace(reg, ''); //要替换的筛选条件 var reg = new RegExp(",," 阅读全文
摘要:
window下的的tcp通信,有改动 服务端: public static class SocketServer { private static readonly Logger logger = LogManager.GetLogger("DefaultLog"); /// <summary> / 阅读全文
摘要:
public class Tool { ////Donet2.0 需要添加引用 // 从一个对象信息生成Json串 public static string ObjectToJson(object obj) { return JsonConvert.ToString(obj); } // 从一个Js 阅读全文