摘要: 模块开发总结: c#动态调用webservices 来自网络及使用心得。 msdn: MethodBase.Invoke 方法 (Object, Object[]) 使用指定的参数调用当前实例所表示的方法或构造函数。 public Object Invoke ( Object obj, Object[] parameters)参数obj... 阅读全文
posted @ 2013-08-06 18:16 沧海一滴 阅读(2108) 评论(0) 推荐(0) 编辑
摘要: 直接上代码: class DBHelperSqlite { ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); private string dbName = "cmcc2.db"; pri... 阅读全文
posted @ 2013-07-30 17:49 沧海一滴 阅读(449) 评论(0) 推荐(0) 编辑
摘要: int.Parse()是一种类型转换;表示将数字内容的字符串转为int类型。如果字符串为空,则抛出ArgumentNullException异常;如果字符串内容不是数字,则抛出FormatException异常;如果字符串内容所表示数字超出int类型可表示的范围,则抛出OverflowException异常;int.TryParse 与 int.Parse 又较为类似,但它不会产生异常,转换成功返... 阅读全文
posted @ 2013-07-29 11:08 沧海一滴 阅读(1133) 评论(1) 推荐(0) 编辑
摘要: where 条件中使用=进行限制时,可以返回一个记录集,即可以返回多个记录集 阅读全文
posted @ 2013-07-26 09:43 沧海一滴 阅读(136) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) { long millis = 1492741275301L; Calendar calendar = Calendar.getInstance(); calendar.setTimeInMillis(millis); D 阅读全文
posted @ 2013-07-19 19:27 沧海一滴 阅读(658) 评论(0) 推荐(0) 编辑