08 2012 档案

摘要:public static string GetChineseSpell(string strText){int len = strText.Length;string myStr = "";for (int i = 0; i < len; i++){myStr += getSpell(strText.Substring(i, 1));}return myStr;}public static string[] GetChineseSpell(string[] strText){int len = strText.Length;string[] myStr = null 阅读全文
posted @ 2012-08-31 15:42 猎鹰-aspnet 阅读(379) 评论(0) 推荐(0) 编辑
摘要:1.模糊查询: ZNDataClassesDataContext znDB = new ZNDataClassesDataContext(); var query = (from v in znDB.表名(视图名) select v).Where(c => c.a.Contains(参数1)).Where(c => c.b.Contains(参数2)).Where(c => c.date1>= Convert.ToDateTime(参数3.Trim() == "" ? "1900-01-01" : 参数3.Trim()) & 阅读全文
posted @ 2012-08-24 15:39 猎鹰-aspnet 阅读(3677) 评论(0) 推荐(0) 编辑
摘要:SQL Server2008安装后不能登录,一般只要先获取本地计算机名再在服务器名的文本框中输入计算机名\安装时的实例名,然后进行登录就ok了. 阅读全文
posted @ 2012-08-15 13:42 猎鹰-aspnet 阅读(212) 评论(0) 推荐(0) 编辑