hn_lijia

导航

2019年11月2日 #

linq行转列

摘要: using System;using System.Collections.Generic;using System.Data;using System.Linq;using System.Text; namespace ConvertToTable{ class Program { static 阅读全文

posted @ 2019-11-02 23:49 hn_lijia 阅读(1211) 评论(0) 推荐(0) 编辑

2019年8月10日 #

json转dataset的另外一种解析方式自动生成guid强关联

摘要: /// <summary> /// 将json字符串自动转成dataset,并且自动补全主子关联关系, /// Guid,FKGuid /// Author:lijia /// date:2019-03-28 /// </summary> /// <param name="schemaName">< 阅读全文

posted @ 2019-08-10 16:14 hn_lijia 阅读(389) 评论(0) 推荐(0) 编辑

C#缓存

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Runtime;using System.Runtime.Caching; namespace BD.EAS_ 阅读全文

posted @ 2019-08-10 16:11 hn_lijia 阅读(114) 评论(0) 推荐(0) 编辑

大json直接序列化成dataset

摘要: rtnDs= JsonConvert.DeserializeObject<DataSet>(strBuff); 阅读全文

posted @ 2019-08-10 16:10 hn_lijia 阅读(227) 评论(0) 推荐(0) 编辑

2019年7月2日 #

数据库中根据仓库数量拆分单据--通过游标实现

摘要: declare @yssl int --用来存储需要拆分的原始数declare @name varchar(50) --原始表中的名称declare m_canku cursor scroll for --定义一个原始数据游标select name,sl from tbl_test --原始表数据o 阅读全文

posted @ 2019-07-02 00:19 hn_lijia 阅读(156) 评论(0) 推荐(0) 编辑

2018年6月5日 #

C#动态设置webServer路径

摘要: using BD.SD_BJXYZY_PRO.WsbxService;using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Configuration;namesp 阅读全文

posted @ 2018-06-05 17:31 hn_lijia 阅读(328) 评论(0) 推荐(0) 编辑

2018年4月12日 #

什么是原子性,什么是原子性操作?

摘要: 举个例子: A想要从自己的帐户中转1000块钱到B的帐户里。那个从A开始转帐,到转帐结束的这一个过程,称之为一个事务。在这个事务里,要做如下操作: 1. 从A的帐户中减去1000块钱。如果A的帐户原来有3000块钱,现在就变成2000块钱了。 2. 在B的帐户里加1000块钱。如果B的帐户如果原来有 阅读全文

posted @ 2018-04-12 15:32 hn_lijia 阅读(839) 评论(0) 推荐(0) 编辑

2010年7月14日 #

很实用的iframe自动高度设置

摘要: <iframe id="iframeId" src="a.html"></iframe>----------a.html页面--------<html><head> <title>test</title></head><body>  <form id="forId"><table>... 阅读全文

posted @ 2010-07-14 22:15 hn_lijia 阅读(510) 评论(6) 推荐(0) 编辑

简单获取字符串最后一位

摘要: string a="haojia KF12345;"string b=a.Substring(a.lastindexOf(';'),1) 阅读全文

posted @ 2010-07-14 22:00 hn_lijia 阅读(256) 评论(0) 推荐(0) 编辑