2013年4月4日
摘要: 已经碰过一次,还是记录一下ORACLE删除表的时候出现ora-00942 表或视图不存在 ,给表名称加上双引号再删除,问题解决。。 阅读全文
posted @ 2013-04-04 18:46 隔山打牛 阅读(331) 评论(0) 推荐(0) 编辑
2010年5月23日
摘要: 有載入外部資源的都知道,Flash相對路徑是根據它所在HTML而不是Flash自己本身,例如網頁http://luar.com.hk/test.html有一個http://luar.com.hk/swf/test.swf,這個Flash以相對路徑載入test.xml,Flash Player載入http://luar.com.hk/test.xml而不是http://luar.com.hk/swf... 阅读全文
posted @ 2010-05-23 16:17 隔山打牛 阅读(801) 评论(1) 推荐(0) 编辑
2008年11月2日
摘要: public static void Fill<T>(IDataReader sdr, T entity) { for (int i = 0; i < sdr.FieldCount; i++) { PropertyInfo pi = entity.GetType().GetProperty(sdr.GetName(i)); if (pi != null) { if (sdr.Ge... 阅读全文
posted @ 2008-11-02 01:08 隔山打牛 阅读(161) 评论(0) 推荐(0) 编辑
2008年10月29日
摘要: using System;using System.Data;using System.Text;using System.Collections.Generic;using System.Reflection;/// <summary>/// 将DataTable或Ilist<>转换成JSON格式/// </summary>public class ToJso... 阅读全文
posted @ 2008-10-29 22:38 隔山打牛 阅读(1618) 评论(3) 推荐(0) 编辑
2008年10月26日
摘要: JS[代码]CSS[代码]前台调用:suggest.init(文本框ID);后台文件:[代码] 阅读全文
posted @ 2008-10-26 16:14 隔山打牛 阅读(648) 评论(0) 推荐(0) 编辑
2008年10月8日
摘要: 1. 返回所有的会员: string query = "from Member"; IList member = session.CreateQuery(query).List();2. 返回以b开头的会员: string query = "from Member m where m.name like b%"; IList members= session.CreateQuery(query).... 阅读全文
posted @ 2008-10-08 15:29 隔山打牛 阅读(595) 评论(0) 推荐(0) 编辑