2015年12月30日
摘要:
一、C#中JSON序列化有多种方式:使用“DataContractJsonSerializer ”类时需要,1、引用程序集 System.Runtime.Serialization 和 System.ServiceModel.Web2、导入命名空间 System.Runtime.Serializat...
阅读全文
posted @ 2015-12-30 09:50
欣静赏悦
阅读(1432)
推荐(0)
2015年11月5日
摘要:
1、current_date与sysdate区别 在oracle中current_date与sysdate都是显示当前系统时间, 其结果基本相同,但是有三点区别:a. current_date返回的是当前会话时间,而sysdate返回的是服务器时间.b.current_date有时比sysdate快
阅读全文
posted @ 2015-11-05 16:14
欣静赏悦
阅读(239)
推荐(0)
2015年10月28日
摘要:
一、安装文件官方下载地址: http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki选择要下载的类库文件:sqlite-netFx451-static-binary-bundle-Win32-2013-1.0.98.0...
阅读全文
posted @ 2015-10-28 13:51
欣静赏悦
阅读(2372)
推荐(0)
2015年10月20日
摘要:
一、需求描述根据条件判断Checkbox的显示,先上个图,,类似Demo中的这个,因为不能控制文本的显示,所以需对该列的其它事件做些处理,二、解决方案1、添加GridControl上需要的控件在设计器上添加RepositoryItemCheckEdit、RepositoryItemFontEdit、...
阅读全文
posted @ 2015-10-20 18:03
欣静赏悦
阅读(1182)
推荐(1)
摘要:
一、文件下载安装的是Oracle 11G,安装文件名为OracleXE112_Win32.zip,官方文件下载地址:http://www.oracle.com/technetwork/database/windows/downloads/utilsoft-087491.html二、文件安装在Win ...
阅读全文
posted @ 2015-10-20 07:26
欣静赏悦
阅读(350)
推荐(0)
2015年10月13日
摘要:
一、常用控件样式public void setDgv(DevExpress.XtraGrid.Views.Grid.GridView gridView1) { gridView1.OptionsView.ShowColumnHeaders = true; ...
阅读全文
posted @ 2015-10-13 14:38
欣静赏悦
阅读(1033)
推荐(0)
2015年9月18日
posted @ 2015-09-18 09:28
欣静赏悦
阅读(2)
推荐(0)
2015年9月16日
摘要:
自定义控件代码 /// /// Assemble Lookupedit and gridview. /// public partial class AutoLookupControl : DevExpress.XtraEditors.XtraUserControl ...
阅读全文
posted @ 2015-09-16 17:51
欣静赏悦
阅读(606)
推荐(0)
2015年8月14日
摘要:
public class TableHelper { public static DataTable CreateTableFromClass(Type t) { DataTable dt = new DataTable(); PropertyInfo[] pis = t.GetProperties
阅读全文
posted @ 2015-08-14 17:17
欣静赏悦
阅读(303)
推荐(0)
2015年7月26日
摘要:
这篇博客主要讲使用不同的客户端方式来判断页面的编辑模式。1、当页面处于发布状态时,可以使用下面两种方式:if(g_disableCheckoutInEditMode == true) { alert('Page is in edit mode');}else { alert('Page is in ...
阅读全文
posted @ 2015-07-26 19:01
欣静赏悦
阅读(339)
推荐(0)