摘要:
RibbonPageGroup //设置数组 private List<BarButtonItem> barButtonItemList; private RibbonPage pageDataAnalysis; private void BuildUIElements() { barButtonI 阅读全文
摘要:
如何让IIS10支持WCF服务呢? 首先添加MIME类型:扩展名“.svc”,MIME类型 “application/octet-stream”: 然后在“Handler Mappings(处理程序映射)”中添加Managed Handler(添加托管处理程序):Request path: *.sv 阅读全文
摘要:
for xml path()以xml形式展现 select ‘|’+Name from table for xml path('') stuff(param1,startIndex,length,param2)将param1中的startIndex开始,删除length字符串,用param2代替// 阅读全文
摘要:
var(--status-bar-height)、var(--window-top)、var(--window-bottom), .top { /* #ifdef H5 */ top: var(--window-top); /* #endif */ top: 0; } .bottom { /* #i 阅读全文
摘要:
web.config 文件 <httpProtocol> <customHeaders> <add name="Access-Control-Allow-Origin" value="*" /> <add name="Access-Control-Allow-Headers" value="Cont 阅读全文
摘要:
sslVerify:false 阅读全文
摘要:
对象数组中找数据List.find((value)=>value.name=值).列名 //例如 list.find((value)=>value.id='1').name 数组中是否存在该数据List.findIndex( item => item.id ==值)) //如果在该数组中有数据则>0 阅读全文
摘要:
this.aTimer = new System.Timers.Timer(); // // aTimer // this.aTimer.AutoReset = false;//是否重复执行 this.aTimer.Interval = 300;//设定时间 this.aTimer.Synchron 阅读全文
摘要:
该做法在滑动过快的情况下 可能会出现卡死 设置colum properties属性1.FieldName 设定命名(该字符串必须唯一)2.ColumnEdit 设置PirtureEdit3.UnboundType 设置Object 在MainView 的数据表中添加事件 columnUnboundC 阅读全文
摘要:
在config中取AppSettings下的值 ConfigurationManager.AppSettings[“AppId”]; 例在config中取client 属性的值: //获取client属性下的值 ClientSection clientSettings = Configuration 阅读全文