摘要: Suppose we have a Period table which contains some of the typical period columns, likePeriod_Key, Day, Month, Year. In the table, we have typical Period rows, like Now we want to create a Period Dimension from it. We can typically create a datasource and data source view in the Analysis service proj 阅读全文
posted @ 2011-03-01 14:29 cwe 阅读(399) 评论(0) 推荐(0) 编辑
摘要: The machineKey Element configures keys to use for encryption and decryption of forms authentication cookie data and viewstate data, and for verification of out-of-process session state identification. This section can be declared at the machine, site, and application levels, but n 阅读全文
posted @ 2011-01-28 20:13 cwe 阅读(518) 评论(0) 推荐(0) 编辑
摘要: Have you ever considered implementing unit tests for a project but dismissed the idea because the module you wanted to test either had too many dependencies or it was so difficult to isolate the unit itself that the tests started to look like integration tests? Or perhaps setting up and configur 阅读全文
posted @ 2011-01-26 19:16 cwe 阅读(443) 评论(0) 推荐(0) 编辑
摘要: Standards-aware web designers generally know of the z-index bug in all versions of Internet Explorer (though, version 8 is rumored to fix it). In the W3C’s specs, z-index is designed to affect the stacking order of positioned elements on a web page. So, an element with a z-index of 2 should always 阅读全文
posted @ 2011-01-26 10:00 cwe 阅读(386) 评论(0) 推荐(0) 编辑
摘要: 本以为元素的宽度高度应该全部由css控制,结果html validator提示textarea必须有cols和rows属性,否则不符合W3C XHTML 1.0 Transitional标准。 有点奇怪,搜索到这个网站http://bytes.com/topic/html-css/answers/489646-textarea-cols-rows 解释的不错。 牵扯到HTML的一个思想:对于内容至上的网页,在禁用CSS的情况下,HTML内容要做到易于阅读。 如果textarea没有cols和rows,在禁用CSS的情况下,textarea变的很小,用户无法输入很多文字,不符合textar 阅读全文
posted @ 2010-12-23 21:12 cwe 阅读(3152) 评论(0) 推荐(0) 编辑
摘要: 大家都知道,当GridVew和ObjectDataSource在一起搭配使用时,如指定GridVew的DataSrouceID为 ObjectDataSource时,这个时候程序可以不用调用DataBind()方法进行数据绑定,程序会默认在Page_Load事件结束后调用 DataBind()方法,或当你在某个事件里修改了类似ObjectDataSource的select参数时,当页面中所有事件结束后,程序会默认再 调用一次DataBind()。 以上这些大家应该都很清楚,但我最近无意发现一个现象,例如我们在页面的某一button的onclick事件里修改了ObjectDataSource 的 阅读全文
posted @ 2010-12-10 16:42 cwe 阅读(317) 评论(0) 推荐(0) 编辑
摘要: 在Essbase中使用MDX只能用于查询,尚不能来操作Cube(MS SSAS中可以使用MDX来操作Cube的),所以这里只学习MDX的Select语句。 在学习的过程中,我觉得最有难度的地方有两个。 一是,对OLAP多维的理解。如同学习SQL一样,SQL作用的对象是表,表的结构都是二维的,标识行列即可;但是MDX作用的对象是多维数据库,那么就得理解多维数据库的维度,层级,成员,以及如何在多维数据库中定位不同层级的成员。 二是,理解MDX查询语句的结构及术语的含义。学习SQL时,我们常提到表,字段,那么MDX中呢,想必这些术语必须理解,例如:Cube,Slice,Axis,Set,Tuple 阅读全文
posted @ 2010-12-09 16:57 cwe 阅读(4817) 评论(2) 推荐(1) 编辑
摘要: ADOMD.NET用于客户端连接多维数据源检索和操纵数据,也可以操纵元数据。 1。概述 ADOMD.NET是标准的.NET数据提供者,它使用支持 XML for Analysis version 1.1标准的数据提供者连接数据源,使用TCP/IP或 HTTP流传输和接受SOAP请求。数据可以被检索为多为数据格式并使用ADOMD.NET对象模型 。使用ADOMD.NET也可以通过两种方式浏览... 阅读全文
posted @ 2010-12-01 19:25 cwe 阅读(1503) 评论(0) 推荐(0) 编辑
摘要: I've been using the ActiveDirectoryMembershipProvider to allow my users to login to a custom ASP.Net site with their AD credentials and it is pretty straight forward. Recently I needed to add more ... 阅读全文
posted @ 2010-11-24 20:51 cwe 阅读(377) 评论(0) 推荐(0) 编辑
摘要: 在业务复杂的应用程序中,有时候会要求一个或者多个任务在一定的时间或者一定的时间间隔内计划进行,比如定时备份或同步数据库,定时发送电子邮件等,我们 称之为计划任务。实现计划任务的方法也有很多,可以采用SQLAgent执行存储过程来实现,也可以采用Windows任务调度程序来实现,也可以使用 Windows服务来完成我们的计划任务,这些方法都是很好的解决方案。但是,对于Web应用程序来说,这些方法实现... 阅读全文
posted @ 2010-11-16 09:38 cwe 阅读(250) 评论(0) 推荐(0) 编辑