stand on the shoulders of giants
摘要: high-level view of the Visual Studio architecture 底层的Visual Stuido IDE, 就是我们用VSSDK要extend的对象。 Extend的方法有两种 Package API 和 Automation. Package API which is the same API that Microsoft uses to develop... 阅读全文
posted @ 2009-01-16 18:18 DylanWind 阅读(412) 评论(0) 推荐(0) 编辑
摘要: ---- 前部分原创,转载请注明出处,谢谢! Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->class Base { public: int m_base; }; class DerivedA: public Base { publ... 阅读全文
posted @ 2009-01-12 00:27 DylanWind 阅读(6312) 评论(4) 推荐(4) 编辑
摘要: 以前在CSDN的一个问题,今天拿来看看,竟然要从头到尾看过才明白,又惭愧。。。 问题来自《深入浅出MFC》: 有这样的ClassA, ClassB, ClassC Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->class ClassA ... 阅读全文
posted @ 2009-01-11 22:55 DylanWind 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 当两个用户同时访问一个页面,一个用户可能更新的是另一个用户已经更改或删除的记录,这就是并发! 并发控制策略 Ø 什么都不做 –如果并发用户修改的是同一条记录,让最后提交的结果生效(默认的行为) Ø 开放式并发(Optimistic Concurrency) - 假定并发冲突只是偶尔发生,绝大多数的时候并不会出现; 那么,当发生一个冲突时,仅仅简单的告知... 阅读全文
posted @ 2008-12-23 16:11 DylanWind 阅读(558) 评论(0) 推荐(0) 编辑
摘要: 点击GridView的删除,事件触发过程 GridView控件提供了对行编辑和删除的内建的支持。配置一个GridView支持删除需要添加一个删除按钮列。当最终用户点击某一特定行的删除按钮时,引发一次回传并且GridView执行以下步骤: 1. 对ObjectDataSource的DeleteParameters赋值 2. 调用ObjectDataSource的Delete()... 阅读全文
posted @ 2008-12-22 17:36 DylanWind 阅读(748) 评论(0) 推荐(0) 编辑
摘要: Chapter11 Custom Formatting Based Upon Data 1. 绑定数据到控件事件过程 不管是从数据控件或编码填充数据到DataSource属性并调用其DataBind()方法。以下几种事件将触发 DataBinding事件触发 数据绑定到数据绑定控件 DataBound事件触发 2. DetailsView如何实现当UnitPric... 阅读全文
posted @ 2008-12-21 16:12 DylanWind 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 跨页面的Navigation,一个Supplier List页面,一个ProductsForSupplier页面 1. 给Supplier List页面Gridview添加一个HyperLinkField 注意设置它的 DataNavigateUrlFields为SupplierID(实质) DataTextField为CompanyName(... 阅读全文
posted @ 2008-12-18 00:01 DylanWind 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 他们都是用来实现页面Popup window的,都是用JavaScript来实现 GreyBox http://orangoo.com/labs/greybox/installation.html ThickBox http://jquery.com/demo/thickbox/ 一篇中文介绍:http://www.blueidea.com/articleimg/2006/08/3912/th... 阅读全文
posted @ 2008-12-17 17:17 DylanWind 阅读(319) 评论(0) 推荐(0) 编辑
摘要: 寄存器 1. 8个32位寄存器 eax ebx ecx edx esp ebp edi esi eax-edx这四个是通用寄存器 ax-dx 访问低十六位,其中ah是高八位 al低八位 esp-esi这四个主要是寻址时用来存放偏移或指针,所以,也就称为指针寄存器或变址寄存器了 ESP(堆栈指针寄存器): 指向栈顶 EBP(基址指针寄... 阅读全文
posted @ 2008-12-16 23:34 DylanWind 阅读(342) 评论(0) 推荐(0) 编辑
摘要: 一个Supplier的Dropdownlist 一个相应Product的Dropdownlist 一个Product Detail表 Rebind问题! 阅读全文
posted @ 2008-12-11 17:09 DylanWind 阅读(315) 评论(1) 推荐(0) 编辑