08 2019 档案
摘要:1.阴影 <Border.Effect> <DropShadowEffect Color="Gray" Direction="320" BlurRadius="20" Opacity="0.7" ShadowDepth="10"/> </Border.Effect> 2.在Loaded中添加控件的按
阅读全文
摘要:1.变量基本属性及反序列化 using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; na
阅读全文
摘要:ComboboxEdit this.cmbCalMethod.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; //设置ComboboxEdit 只可选择不可编辑
阅读全文
摘要:第一步 (C中)创建 第二步:(A中)声明、绑定 第三步:(B中)触发 方法 第三步:(A中)绑定的方法
阅读全文
摘要:一 绑定 1.绑定动态图片 2.绑定动态:repositoryItemPopupContainerEdit 二.编辑表格 编辑表格其实是对数据源的操作,所以如需编辑必定要有数据源,哪怕是空表。
阅读全文
摘要:1、移去空格 replace(@CertigierEmpId,' ','') 2、值对应转换显示 SELECT (case FlowStatus WHEN 1 then 4 WHEN 2 then 3 END ) AS FlowStatus FROM dbo.FlowExpense 3、表中插入一个
阅读全文
摘要:地址写法 <!--<Image HorizontalAlignment="Center" VerticalAlignment="Center" Source="/XDS_SmartC_Client;component/Images/GIF/fileUpload.png"/>--> 图片预览:UCIm
阅读全文
摘要:DECLARE @t TABLE ( [RoleID] [INT] , [RoleName] [NVARCHAR](50) , [RoleLevel] [INT] , ) INSERT INTO @t ( [RoleID] , [RoleName], [RoleLevel] , )SELECT [R
阅读全文
摘要:根据鼠标滚轮缩放图片及拖动(可查看UCLeaveAndOverBlock) 以下是根据网上一些代码调整测试后的代码xaml <Image x:Name="imgUpload" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="
阅读全文
摘要:1.在程序中直接使用 sqlStr = 'AppliantType=''请假''' string sql= "Exec('select * from TableName where " + sqlStr + "')"; SQL如果直接set @StepCondition 用法类同declare @S
阅读全文
摘要:?.表示如果不为空LoginUserCode = s.Element("LoginUserCode") != null ? s.Element("LoginUserCode").Value:string.Empty,>> LoginUserCode = s.Element("LoginUserCod
阅读全文
摘要:对于一些复杂的Sql数据处理,可写成Procedure,在Service中使用 var item = Context.SqlQuery<T>("存储过程名称", CommandType.StoredProcedure, pars).ToList(); pars要点1.输入参数(一一对应) DbPar
阅读全文
摘要:从字典(DicRoleForScope)中查询对应(role)的值再赋值给其他变量( DicSelectedRoleForScope) Dictionary<string, object> dic = DicRoleForScope.Where(s => s.Value.ToString().Con
阅读全文