Min.Dom

专注C#

导航

2006年11月22日

Page.LoadTemplate的使用

摘要: 最近为了在web页面上通过代码动态的显示一个列表(DataList),由于显示的item项比较复杂,所以使用了load模版的方法,新建一个usercontrol页面(.ascx),按平时模版列的做法,在其html中加入<%# DataBinder.Eval(Container.DataItem, "displayname") %>,结果执行的时候出现异常:“System.W... 阅读全文

posted @ 2006-11-22 10:13 min 阅读(753) 评论(0) 推荐(0) 编辑

2005年7月10日

公司竟然禁止访问此网站

摘要: 着实让人有些不爽,几次提交希望免费开通,竟然被拒绝! 阅读全文

posted @ 2005-07-10 10:21 min 阅读(916) 评论(5) 推荐(0) 编辑

2004年12月16日

javascript 中的replace方法

摘要: 第一次发现javascript中replace() 方法如果直接用str.replace("-","!") 只会替换第一个匹配的字符. replace() The replace() method returns the string that results when ... 阅读全文

posted @ 2004-12-16 16:20 min 阅读(13522) 评论(7) 推荐(0) 编辑

2004年11月2日

media play10

摘要: 刚把我的media play升级到media play10,觉得比以前的版本都好使,以前总觉得媒体库不好用,现在感觉好多了。增加了个在线商店功能。microsoft的界面总是看的那么爽。可惜的是只能在windows xp下运行。 有个splat模式看着比较爽,其小视图的效果如下: 阅读全文

posted @ 2004-11-02 14:46 min 阅读(15465) 评论(20) 推荐(0) 编辑

2004年10月14日

制作windows service的安装程序

摘要: 这段时间一直在写windows service,每次写完调试都是在控制台输入命令进行安装/启动/卸载,虽然工作量不大,但时间长了也觉得麻烦。于是用.net做了个windows service的安装。首先在解决方案中创建一个安装部署的项目,右键点击项目名称,在菜单中选择[添加]-->[项目输出],在弹出的"添加项目输出组"窗口中,第一个下拉框会列出该解决方案中其他的项目,选择需要制作安装的wi... 阅读全文

posted @ 2004-10-14 11:02 min 阅读(7920) 评论(12) 推荐(0) 编辑

2004年7月2日

Session state cannot be used in ASP.NET with Windows SharePoint Services

摘要: Add the following directives in the Web.config file of the Web application between the <system.web> tag and the </system.web> tag: <!--ClearouttheWSSASP.NEThandlerandspecifythedefaultAS... 阅读全文

posted @ 2004-07-02 18:25 min 阅读(1515) 评论(3) 推荐(0) 编辑

2004年6月10日

A VS.NET add-in to know the content of the any dataset during debugging

摘要: Special QuickWatch for a DataSetBy mohammed barqawi I think it's very useful....Detail info: here 阅读全文

posted @ 2004-06-10 16:40 min 阅读(872) 评论(1) 推荐(0) 编辑

2004年6月2日

web based sql admin tool - Shusheng SQL Tool v1.0

摘要: web-based MS SQL Server(MSDE)2000 client tool, query analyzer and dba utility to design, create, query, backup, manage and monitor database from a web browser. Pure ASP script, no installation needed.... 阅读全文

posted @ 2004-06-02 11:35 min 阅读(1787) 评论(1) 推荐(0) 编辑

2004年5月26日

Make Modal Forms

摘要: 一直想用模式窗口来打开.aspx页面,但是只要是执行服务器端的事件就会有问题.前些天从codeproject里看到篇文章,才发现解决办法:Ever try to create a pop-up in ASP.NET. but ASP.NET 1.0 and 1.1 didn’t come with a mechanism to support the concept of modal ... 阅读全文

posted @ 2004-05-26 17:19 min 阅读(1843) 评论(4) 推荐(0) 编辑