摘要: 摩斯密码A . _B _ . . .C _ . _ .D _ . .E .F . . _ .G _ _ .H . . . .I . .J . _ _ _K _ . _L . _ . .M _ _N _ .O _ _ _P . _ _ .Q _ _ . _R . _ .S . . .T _U . . _V . . . _W . _ _X _ . . _Y _ . _ _Z _ _ . .1 . _ ... 阅读全文
posted @ 2009-06-10 10:43 听雪狂客 阅读(4306) 评论(1) 推荐(0) 编辑
摘要: select *intodestTbl from srcTblinsert into destTbl(fld1, fld2) select fld1, 5 from srcTbl以上两句都是将 srcTbl 的数据插入到 destTbl,但两句又有区别的:第一句(select into from)要求目标表(destTbl)不存在,因为在插入时会自动创建。SELECT *INTO new_tabl... 阅读全文
posted @ 2009-06-08 16:08 听雪狂客 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 28、IndexOf() 查找字串中指定字符或字串首次出现的位置,返首索引值,如: str1.IndexOf("字"); //查找"字"在str1中的索引值(位置) str1.IndexOf("字串");//查找"字串"的第一个字符在str1中的索引值(位置) str1.IndexOf("字串",3,2);//从str1第4个字符起,查找2个字符,查找"字串"的第一个字符在str1中的索引值(位置... 阅读全文
posted @ 2009-02-20 18:29 听雪狂客 阅读(1834) 评论(0) 推荐(0) 编辑
摘要: 8、String user_IP=Request.ServerVariables["REMOTE_ADDR"].ToString(); 取远程用户IP地址9、穿过代理服务器取远程用户真实IP地址: if(Request.ServerVariables["HTTP_VIA"]!=null){ string user_IP=Request.ServerVariables["HTTP_X_FORWARD... 阅读全文
posted @ 2009-02-20 18:28 听雪狂客 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 1、DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int 年=currentTime.Year; 1.3 取当前月 int 月=currentTime.Month; 1.4 取当前日 int 日=curre... 阅读全文
posted @ 2009-02-20 18:27 听雪狂客 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 在oracle中建表userh,字段id(number) name(varchar(50))content(blob)。怎么解决数据的输入和修改 阅读全文
posted @ 2008-10-07 10:24 听雪狂客 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 发现一个奇怪的毛病:设置DropDownList的Item时我加了三个属性值“工人”“农民”“知识份子”。页面浏览时下拉列表里的三个变成了“农民”“知识份子”“农民”。后来发现一个规律,把哪个属性值放到最上面的时候,浏览页面时哪个属性值就会消失,最后一个反... 阅读全文
posted @ 2008-09-04 16:19 听雪狂客 阅读(241) 评论(1) 推荐(0) 编辑
摘要: 由于周围好多朋友在博,感觉这里好神圣的地方,藏龙卧虎一般。 今日斗胆于此开博,望以后诸路英豪ting一下。 今日先上个小问,有熟悉web server实现数据同步的没?指点一二... 阅读全文
posted @ 2008-08-22 19:29 听雪狂客 阅读(104) 评论(4) 推荐(0) 编辑