2009年3月30日
摘要: WEB front-end developmentWEB前端开发 User Experience Design用户体验设计 User Interface Design用户界面设计 Interaction Design交互设计 Usability Design可用性设计 Information Architecture信息架构 Information Architect信息架构师 Website D... 阅读全文
posted @ 2009-03-30 00:22 钱途无梁 阅读(743) 评论(0) 推荐(0) 编辑
摘要: 昨天做了一个文字版的toolTip,后来想想现在大家都爱看图,文字未免有点单调了点,那我们就来个图片式的预览。代码比较简单,我就不多说了。 欢迎来到 买礼网 选购礼品! 畅游鄂西山水风光尽在 恩施旅游资讯网 首先看看调用函数: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.Co... 阅读全文
posted @ 2009-03-30 00:00 钱途无梁 阅读(498) 评论(0) 推荐(0) 编辑
  2009年3月29日
摘要: 这个解决方案使用了Jquery,所以需要在iframe的src页面里面引入父页面里面 简单点 在iframe的src页面里面[html] 超级链接 超级链接 超级链接 超级链接 超级链接 超级链接 超级链接 超级链接 超级链接 超级链接 超级链接 [html]注释 :这里面的 $(window.parent.document).find("#if1").height... 阅读全文
posted @ 2009-03-29 01:13 钱途无梁 阅读(607) 评论(0) 推荐(0) 编辑
  2009年3月28日
摘要: http://www.cnblogs.com/di305449473/archive/2008/08/07/1262891.html 阅读全文
posted @ 2009-03-28 22:29 钱途无梁 阅读(788) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/andylaufzf/archive/2009/03/26/1422255.html 阅读全文
posted @ 2009-03-28 20:57 钱途无梁 阅读(262) 评论(0) 推荐(0) 编辑
  2009年3月27日
摘要: Cannot find SS.INI file for user *** 解决方法 1,vss\users\***\ 下无文件SS.INI若无从别处copy一个2,vss\users\***\ 下有文件SS.INI修改vss下users.txt文件添加:*** = users\***\ss.ini 阅读全文
posted @ 2009-03-27 19:04 钱途无梁 阅读(3004) 评论(0) 推荐(0) 编辑
摘要: SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGO ALTER PROCEDURE [dbo].[SelectSide](@career nchar(2))ASCREATE TABLE #tmp( KeyWord nvarchar(50), Website1 nvarchar(50), URL1 varchar(100), Introduce1 nvarch... 阅读全文
posted @ 2009-03-27 19:03 钱途无梁 阅读(296) 评论(0) 推荐(0) 编辑
摘要: 退出登录,清除Session 1 protected void Button1_Click(object sender, EventArgs e) 2 { 3 if (Session["UserName"] != null) 4 { 5 Session.Remove("UserName"); 6 Session.R... 阅读全文
posted @ 2009-03-27 09:17 钱途无梁 阅读(1872) 评论(1) 推荐(0) 编辑
  2009年3月26日
摘要: // 现代流行的"程序员"public static bool IsOdd(int n) ...{ while (true) ...{ switch (n) ...{ case 1: return true; case 0: return false; } n -= 2; }} ... 阅读全文
posted @ 2009-03-26 17:55 钱途无梁 阅读(1470) 评论(0) 推荐(0) 编辑
  2009年3月22日
摘要: try again":response.endage=clng(age)end if'********************************************************************' 与SQL Server2000有关的连接' 可以参照它建立您的数据库连接'**************************************************... 阅读全文
posted @ 2009-03-22 23:04 钱途无梁 阅读(383) 评论(0) 推荐(0) 编辑
摘要: 请根据情况配置StrServer,StrUid,StrSapwd,StrDbName四个参数Dim StrServer,StrUid,StrSaPwd,StrDbNameStrServer="(local)" '数据库服务器名StrUid="testuser" '您的登录帐号StrSaPwd="12345" '您的登录密码StrDbName="db_test_com" '您的数据库名称Dim Co... 阅读全文
posted @ 2009-03-22 22:58 钱途无梁 阅读(504) 评论(0) 推荐(0) 编辑
  2009年3月19日
摘要: 1.创建节点并添加内容:使用的方法:createElement和createTextNode HTML DOM 2,删除节点 方法:getElementsByTagName和removeChild HTML DOM hello world! 3.替换节点 方法replace(new,ol... 阅读全文
posted @ 2009-03-19 19:50 钱途无梁 阅读(953) 评论(0) 推荐(0) 编辑
  2009年3月17日
摘要: 有时asp.net文件输出纯XML数据很有用,这时的asp.net文件就相当于一个WebService,输出XML文档也很简单,分以下几部1、设置输出类型-Response.ContentType = "text/xml";2、设置字符集-Response.Charset = "GB2312";3、清空输入内容-Response.Clear();4、构造XML内容并输出-Response.Writ... 阅读全文
posted @ 2009-03-17 23:43 钱途无梁 阅读(675) 评论(0) 推荐(0) 编辑
摘要: 以前的aspx页面要输出xml格式,直接页面上输出xml就可以了,现在升级到asp.net 3.5不行了,虽然输出了xml格式的字符串,但浏览器不会显示成xml,要在aspx页面上加上esponse.ContentType = "text/xml";就可以了。 附:Response ContentType 大全 ".*"="application/octet-stream" ".001"="a... 阅读全文
posted @ 2009-03-17 23:30 钱途无梁 阅读(1355) 评论(0) 推荐(0) 编辑
摘要: 我们都知道C#中的string自已有一个Length属性,用来统计字符串的长度,如果字符都是中文或都是英文,那没什么问题,但如果出现中英文混合的情况,我们的统计结果就不太准确了,因为在计算机中,中文占两个字节的空间,英文占一个字节的空间,而string的Length不具备区分中英文的功能,所以它计算出来的长度并不准确,如我们在网页上显示字符时,有时候不能超过一定的长度,如果字符串是中英文混合,那载... 阅读全文
posted @ 2009-03-17 18:35 钱途无梁 阅读(775) 评论(1) 推荐(0) 编辑