摘要: 1. 设置 IISExpress 配置文件 applicationhost.config VS2015 :这个配置文件 在工程目录下的 .vs/config 隐藏目录 其他版本 :在用户目录中的 IISExpress 文件夹下 将属性 bindingInformation="*:7632:local 阅读全文
posted @ 2020-12-20 16:00 fenix 阅读(472) 评论(0) 推荐(0) 编辑
摘要: 窗口函数累加递增 select a.OrderNum,a.num,a.CreateTime,b.audittime, sum(a.num) over(order by a.OrderNum range between unbounded preceding AND CURRENT ROW) as c 阅读全文
posted @ 2020-07-20 10:04 fenix 阅读(157) 评论(0) 推荐(0) 编辑
摘要: select * from T_YW_Gongdan order by GDCodeoffset 660 rowsfetch next 11 rows only Offset跳过前面的660条数据 fetch next 获取接下来的11条数据 可以用来实现分页获取数据 Sql 2012后支持 阅读全文
posted @ 2020-07-16 09:14 fenix 阅读(147) 评论(0) 推荐(0) 编辑
摘要: update select联合语句 update T_YW_CKItemstockset itemname=t2.itemname,size=t2.size,unitname=t2.unitname from T_YW_CKItemInfo t2,T_YW_CKItemstock t1where t 阅读全文
posted @ 2020-03-31 11:31 fenix 阅读(177) 评论(0) 推荐(0) 编辑
摘要: SELECT 表名 = Case When A.colorder=1 Then D.name Else '' End, 表说明 = Case When A.colorder=1 Then isnull(F.value,'') Else '' End, 字段序号 = A.colorder, 字段名 = 阅读全文
posted @ 2019-03-11 11:13 fenix 阅读(177) 评论(0) 推荐(0) 编辑
摘要: nuget中安装Microsoft ASP.NET Web API Cors相关的两个包EnableCors可以在方法 类上用EnableCorsAttibute设置也可以在WebApiConfig的Register方法中,直接config.EnableCors()IIS的设置,在web.confi... 阅读全文
posted @ 2016-01-13 17:37 fenix 阅读(1000) 评论(0) 推荐(0) 编辑
摘要: 转自:http://blogs.microsoft.co.il/blogs/arik/archive/2010/05/28/wpf-single-instance-application.aspxThe ProblemThe question this post solves is how to e... 阅读全文
posted @ 2015-05-29 17:33 fenix 阅读(203) 评论(0) 推荐(0) 编辑
摘要: http://mahapps.com/guides/styles.htmlStylesTable of ContentsOverviewHow to change the current theme... via App.xamlHow to change the current theme... ... 阅读全文
posted @ 2014-09-11 14:20 fenix 阅读(1588) 评论(0) 推荐(0) 编辑
摘要: appcmd set config /section:staticContent /+"[fileExtension='.apk',mimeType='application/vnd.android.package-archive']" appcmd set config /section:staticContent /+"[fileExtension='.xap',mimeType='application/x-silverlight']" appcmd set config /secti 阅读全文
posted @ 2013-11-06 19:41 fenix 阅读(308) 评论(0) 推荐(0) 编辑
摘要: import datetimeimport copyimport random__TIMES = 0def crs(A,B): return [a+b for a in A for b in B]_DTS = '123456789'_RS = 'ABCDEFGHI'_RU = ('ABC','DEF','GHI')_CS = _DTS_CU = ('123','456','789')_SQS = crs(_RS,_CS)_UL = [crs(_RS,c) for c 阅读全文
posted @ 2013-05-27 20:52 fenix 阅读(217) 评论(0) 推荐(0) 编辑