会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
wonderfulday
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
10
11
12
下一页
2016年12月15日
dev gridcontrol把event事件转换成命令
摘要: 可以通过继承gridcontrol的形式来实现 定义DataGridDoubleClickCommand依赖属性 class MyGridControl : GridControl { public ICommand DataGridDoubleClickCommand { get { return
阅读全文
posted @ 2016-12-15 14:14 beautifulday
阅读(270)
评论(0)
推荐(0)
2016年12月14日
gridcontrol datatemplate trigger
摘要: <TextBlock Name="textBlock" HorizontalAlignment="Left" Text="{Binding Value}"></TextBlock> 绑定的cell里面的值 <DataTemplate.Triggers> <MultiDataTrigger> <Mul
阅读全文
posted @ 2016-12-14 13:43 beautifulday
阅读(246)
评论(0)
推荐(0)
2016年12月13日
oracle数据库一些用户管理语句
摘要: 查询所有数据库用户 select * from dba_users 查看数据库名称 select name from v$database 查看权限 select * from user_sys_privs 修改某个用户的密码 alter user scott identified by tiger
阅读全文
posted @ 2016-12-13 14:34 beautifulday
阅读(144)
评论(0)
推荐(0)
dev gridcontrol 绑定int型及日期型的列默认当值为0时显示空白及格式化日期显示方式
摘要: xmlns:sys="clr-namespace:System;assembly=mscorlib" 如只显示日期的时间部分 <dxg:GridColumn Header="测试" FieldName="整型"> <dxg:GridColumn.EditSettings> <dxe:TextEdit
阅读全文
posted @ 2016-12-13 09:49 beautifulday
阅读(1964)
评论(0)
推荐(0)
2016年12月9日
c#计算datatable中某一列值的和
摘要: double sumPercentage = dt.AsEnumerable().Where(dr => { return dt.Rows.IndexOf(dr) > 0; }).Sum(e => Convert.ToDouble(e.Field<String>(6))) //计算某一列的值总和 E
阅读全文
posted @ 2016-12-09 11:17 beautifulday
阅读(8502)
评论(0)
推荐(0)
2016年12月7日
tomcat服务配置及搭建
摘要: 一、在官网上下载tomcat 下载地址:http://tomcat.apache.org/download-60.cgi 下载完后解压 二、设置环境变量 1,JAVA_HOME C:\Program Files (x86)\Java\jdk1.6.0_10 2、CATALINA_HOME D:\tw
阅读全文
posted @ 2016-12-07 15:20 beautifulday
阅读(170)
评论(0)
推荐(0)
dev Gridcontrol根据其cell里面的值显示不同颜色
摘要: 要改变cell值得颜色 需要用到cellTemplate和convert <DataTemplate x:Key="PercentageCellColorTemplate"> <dxe:TextEdit Name="PART_Editor" Mask="p2" MaskType="Numeric"
阅读全文
posted @ 2016-12-07 11:20 beautifulday
阅读(1903)
评论(0)
推荐(0)
dev Gridcontrol单元格值格式化及在模板中调用命令
摘要: <dxg:GridColumn> <dxg:GridColumn.EditSettings> <dxe:TextEditSettings Mask="p2" MaskType="Numeric" MaskUseAsDisplayFormat="True"/> </dxg:GridColumn.Edi
阅读全文
posted @ 2016-12-07 10:15 beautifulday
阅读(1579)
评论(0)
推荐(0)
2016年7月22日
c#如何使两个方法并行运行
摘要: static void Main(string[] args) { Parallel.Invoke(Foo, Bar); } static void Foo() { Console.WriteLine("foo thread {0}",Thread.CurrentThread.ManagedThre
阅读全文
posted @ 2016-07-22 16:20 beautifulday
阅读(3085)
评论(0)
推荐(0)
2016年6月16日
wpf xmal基础
摘要: 1、名称空间的引用 比如想使用System.Windows.Controls名称空间 首先需要把改名称空间所在的程序集presentationFramework.dll引用到项目里 然后在根元素的起始标签中写上一句:xmlns:c="clr-namespace:System.Windows.Cont
阅读全文
posted @ 2016-06-16 17:23 beautifulday
阅读(196)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
12
下一页
公告