2018年9月28日
摘要:
连接字符串 CONCATENATE("UPDATE dbo.PingDingItem SET ItemCode='",C2,"',Pinyin='",B2,"' WHERE Name='",A2,"';") CONCATENATE("INSERT INTO dbo.PingDingItem(Name
阅读全文
posted @ 2018-09-28 17:46
Smile向前
阅读(781)
推荐(0)
2018年9月19日
摘要:
/*键盘Enter事件*/ document.onkeydown = function (e) { var search = document.getElementById('DialogAddFeeItem_FeeItemSelect'); if (search == document.activ
阅读全文
posted @ 2018-09-19 14:28
Smile向前
阅读(205)
推荐(0)
摘要:
<style type="text/css"> .switch-btn { cursor: pointer; width: 45px; height: 28px; position: relative; border: 1px solid #dfdfdf; background-color: #fd
阅读全文
posted @ 2018-09-19 14:25
Smile向前
阅读(1925)
推荐(0)
摘要:
if (btnsearch == document.activeElement) { var theEvent = window.event || e; //获取窗体的输入 var code = theEvent.keyCode || theEvent.which; //如果输入了回车 if (co
阅读全文
posted @ 2018-09-19 14:22
Smile向前
阅读(378)
推荐(0)
2018年9月14日
摘要:
public static class h { public static List<string> GetFieldNames(this SqlDataReader dr) { var list = new List<string>(); for (var i = 0; i < dr.FieldC
阅读全文
posted @ 2018-09-14 14:43
Smile向前
阅读(93)
推荐(0)
2018年8月23日
摘要:
string[] obj = PathologyIDNew.Split(','); int len = obj.Length;//长度
阅读全文
posted @ 2018-08-23 13:51
Smile向前
阅读(217)
推荐(0)
2018年8月7日
摘要:
1,新建存储过程名称 2,传入变量 3,声明变量(declare)如果需要的话 4,逻辑 CREATE PROC sp_UpdateByID @PId INT,@Id INT AS BEGIN declare @Pidx int SELECT TOP 1 @Pidx=Pidx FROM aa WHE
阅读全文
posted @ 2018-08-07 17:41
Smile向前
阅读(122)
推荐(0)
2018年7月27日
摘要:
收藏sql优化:https://www.cnblogs.com/ShaYeBlog/p/3227244.html
阅读全文
posted @ 2018-07-27 11:20
Smile向前
阅读(66)
推荐(0)
2018年7月20日
摘要:
http://www.my97.net/demo/index.htm https://blog.csdn.net/xiangff_csdn/article/details/78688506 SELECT * FROM ( SELECT ROW_NUMBER() OVER ( ORDER BY p.C
阅读全文
posted @ 2018-07-20 16:52
Smile向前
阅读(257)
推荐(0)
摘要:
//四舍五入方法 public static class DecimalHelper { public static decimal CutDecimalWithN(decimal d, int n) { string strDecimal = d.ToString(); int index = s
阅读全文
posted @ 2018-07-20 14:42
Smile向前
阅读(1607)
推荐(0)