Loading

摘要: 假设安装路径在N盘,则需用命令行方式升级安装 Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->n:\setup.exe SKUUPGRADE=1 阅读全文
posted @ 2008-08-26 21:59 .net's 阅读(383) 评论(0) 推荐(0)
摘要: 数据库表通常都有一列或一组列,用于唯一地标识表中的每一行。这种具有标识作用的列或列组称为主键。 阅读全文
posted @ 2008-08-25 13:34 .net's 阅读(431) 评论(0) 推荐(0)
摘要: 在 DataSet 中添加或刷新行以匹配使用 DataSet 名称的数据源中的行,并创建一个 DataTable。 阅读全文
posted @ 2008-08-25 13:29 .net's 阅读(1365) 评论(0) 推荐(0)
摘要: 若一张表Info有如下几个字段,name,age,high三个字段, Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->select max(age) as age,max(high) as high from Info 上面的sql将是取... 阅读全文
posted @ 2008-08-21 16:11 .net's 阅读(534) 评论(0) 推荐(0)
摘要: HtmlTextWriter类暴露(expose)一个方法来呈现如下每一部分: 1,RenderBeginTag:呈现或产生HTML元素的开启标签 2,AddAttribute:该方法每次被调用时,为每种属性在HTML元素的开启标签中形成或呈现属性, 该方法必须在RenderBeginTag之前调用。 3,AddStyleAttribute:该方法每次被调用时,为每种样式属性作为HTML元素的一部... 阅读全文
posted @ 2008-08-21 11:57 .net's 阅读(514) 评论(0) 推荐(0)
摘要: 可以使用Label控件来标注一个HTML表单字段。Label控件拥有属性AssociatedControlID,可以设置此属性来指向表示表单字段的ASP.NET控件。 例如,代码清单2-3中的页面含有一个简单的表单,表单包含两个字段用于输入名和姓。Label控件用于标注这两个TextBox控件。 Code Code highlighting produced by Actipro CodeHi... 阅读全文
posted @ 2008-08-19 10:37 .net's 阅读(2688) 评论(1) 推荐(1)
摘要: We can use the SiteMapPath control simply by declaring the control in a page. The control automatically uses the Web.sitemap file located in the root of your application. Typically, you do not add ... 阅读全文
posted @ 2008-08-16 11:09 .net's 阅读(508) 评论(0) 推荐(0)
摘要: 在一个CommandField中为删除按钮设置OnClientClick属性 在模板中直接使用Button,LinkButton,或者ImageButton的时候,可以直接为它的OnClientClick属性设置确认窗口并返回confirm(string) JavaScript的返回值。然而,CommandField是在GridView或者DetailsView上内置的一些删除按钮,而且它们本身不... 阅读全文
posted @ 2008-08-12 13:28 .net's 阅读(2341) 评论(2) 推荐(0)
摘要: Like anchors, lookaround groups match at a certain position rather than certain text. Lookahead will try to look forward at the current position in the string, while lookbehind will try to look back... 阅读全文
posted @ 2008-08-03 20:24 .net's 阅读(417) 评论(0) 推荐(0)
摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System.Text.RegularExpressions; Code Code highlighting produced by Actipro CodeHighli... 阅读全文
posted @ 2008-08-02 23:21 .net's 阅读(1169) 评论(0) 推荐(0)