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