• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
:皒祗想自私旳占有著袮
.Net Ajax SQLserver Flex UI JS 一样都不能少...
博客园    首页    新随笔    联系   管理    订阅  订阅
上一页 1 2 3 4 5 6 7 下一页
2008年5月19日
asp.net(C#)服务器绝对路径转换成URL相对路径[修改] (转)
摘要: //原创aloxy //2007.12.19 //本地路径转换成URL相对路径 private string urlconvertor(string imagesurl1) { string tmpRootDir = Server.MapPath(System.Web.HttpContext.Current.Request.ApplicationPath... 阅读全文
posted @ 2008-05-19 10:49 JoyBin 阅读(14396) 评论(2) 推荐(0)
2008年4月22日
flash的菜单与asp.net进行交互(转)
摘要: 最近想做一个flash的菜单与asp.net进行交互. 参考了很多网上的资料,最后有以下心得,写出来记一下。 一、动态加载菜单 菜单的内容如下(menu.xml): 如果动态加载呢? 1)把以menu.xml文件放到网站的根目录之下,然后在flash的as中写如下的as脚本. mymenu = new XML(); mymenu.load("me... 阅读全文
posted @ 2008-04-22 12:40 JoyBin 阅读(503) 评论(0) 推荐(0)
2008年4月19日
把生成的缩略图存到数据库中
摘要: 生成的缩略图是Image对象,如何转成byte数组存进数据库中呢?? 不采取保存为文件再从文件里读的折中方法。 System.Drawing.ImageConverter ic = new ImageConverter(); //用于将 Image 对象从一种数据类型转换为另一种数据类型的类 byte[] temp = new ... 阅读全文
posted @ 2008-04-19 16:32 JoyBin 阅读(315) 评论(0) 推荐(0)
2008年4月18日
添加html内容(insertAdjacentHTML和insertAdjacentText)
摘要: 添加html内容(insertAdjacentHTML和insertAdjacentText) dhtml提供了两个方法来进行添加,insertAdjacentHTML和insertAdjacentText insertAdjacentHTML方法:在指定的地方插入html标签语句。 原型:insertAdjacentHTML(swhere,stext) 参数: ... 阅读全文
posted @ 2008-04-18 21:02 JoyBin 阅读(962) 评论(0) 推荐(0)
母版页判断登陆 及 母版页与内容页的执行顺序
摘要: 在checkLogin.cs里有check方法: public static void check(Page aPage) { if (aPage.Session["ok"] == null || aPage.Session["ok"].ToString() != "ok") { aPage.Response.Redirect("lo... 阅读全文
posted @ 2008-04-18 20:24 JoyBin 阅读(2370) 评论(0) 推荐(0)
常用.net代码
摘要: //返回[字符串集合1]中是否包含[字符串2] if (字符串集合1.Contains(字符串2)) {} //比较两个字符串是否一样,true代表不区分大小写,返回结果为int String.Compare(string, string, true) 阅读全文
posted @ 2008-04-18 09:44 JoyBin 阅读(230) 评论(0) 推荐(0)
常用JS代码
摘要: - 阅读全文
posted @ 2008-04-18 09:42 JoyBin 阅读(171) 评论(0) 推荐(0)
2008年3月8日
SQLServer存储过程分页
摘要: 【摘要】 这个存储过程的功能比较强大,用在项目中非常的适用,尤其是在百万级数据上。 【全文】 SQL代码 CREATE PROCEDURE prcPageResult -- 获得某一页的数据 -- @currPage int = 1, --当前页页码 (即Top currPage) @showC... 阅读全文
posted @ 2008-03-08 15:49 JoyBin 阅读(394) 评论(0) 推荐(0)
2008年3月5日
WMPLib.WindowsMediaPlayer 的用法
摘要: 属性/方法名: 说明: [基本属性] URL: (String); 指定媒体位置,本机或网络地址 uiMode:(String); 播放器界面模式,可为Full, Mini, None, Invisible playState:(integer); 播放状态,1=停止,2=暂停,3=播放,6=正在缓冲,9=正在连接,10=准备就绪 enableContextMenu:(... 阅读全文
posted @ 2008-03-05 11:32 JoyBin 阅读(2257) 评论(0) 推荐(0)
网页播放器 PlayState 的用法
摘要: PlayState 的值 0 = 1=停止 2=暂停中 3=正在播放 4=向前搜索 5=向后搜索 6=缓冲中 7=等待中 8=播放完毕 9=转换曲目 10=准备就绪 Media Player Player.playState事件 Value ... 阅读全文
posted @ 2008-03-05 11:21 JoyBin 阅读(1468) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 下一页
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3