分类目录归档:Visual Studio

有关Visual Studio2005、Visual Studio2008、Visual Studio2010的文章

web developer tips (11):在Visual Web Developer中用不同的工具窗口打开样式生成器

原文地址:New Style builder can be invoked from various othe […]


原文地址:New Style builder can be invoked from various other tool windows in Visual Web Developer 在上一篇文章中介绍了“Visual Web Developer 2008中新的样式生成器”。其实有三个入口点可以打开样式生成器的窗体,你可以从IDE的下面三个位置打开它: http://www.watch-life.net/visual-studio/new-style-builder-can-be-invoked-from-various-other-tool-windows-in-visual-web-developer.html CSS属性窗口:通过菜单“视...... [阅读全文]

web developer tips (10):Visual Web Developer 2008中新的样式生成器

原文地址:Visual Web Developer 2008 has a New Style Builder […]


原文地址:Visual Web Developer 2008 has a New Style Builder Dialog Visual Studio 2008里有个新的样式生成器对话框(窗体)。使用此对话框生成样式,也可以在同一时间预览。可以为一个创建样式定位给当前页面或现有的外部样样式表或新的外部样式表。可以创建基于ID的、基于元素的、内嵌的、基于类的的样式。样式有综合选择器。 http://www.watch-life.net/visual-studio/visual-web-developer-2008-has-a-new-style-builder-dialog.html 通过菜单:格式+...... [阅读全文]

web developer tips (9):在Web.config文件中注册web用户控件

原文地址:How to create an ASP.NET Web User Control and incl […]


原文地址:How to create an ASP.NET Web User Control and include it in your web page 在上一篇创建web用户控件并包含在web页面里中介绍了如何创建一个web用户控件和在页面使用它。注意:在页面拖拽一个web用户控件后,VS 会在页面上方添加 @Register指令。 http://www.watch-life.net/visual-studio/register-your-asp-net-web-user-controls-in-web-config.html 如果将来移动了web用户控件的位置的话,那么在每个使用了这个web用户控件的页面都需要修...... [阅读全文]

web developer tips (8):创建web用户控件并包含在web页面里

原文地址: How to create an ASP.NET Web User Control and inc […]


原文地址: How to create an ASP.NET Web User Control and include it in your web page 使用Visual Web Developer,创建一个web用户控件(Web User Control)和创建一个asp.net的页面一样简单。 步骤如下: http://www.watch-life.net/visual-studio/how-to-create-an-asp-net-web-user-control-and-include-it-in-your-web-page.html 1、打开一个已经创建的用来添加一个用户控件的网站项目。...... [阅读全文]

web developer tips (7):在ListView控件里对数据排序

原文地址:How to Sort data using a ListView control ListView […]


原文地址:How to Sort data using a ListView control ListView 内置数据排序的功能,有关listView绑定数据的功能参见:web developer tips (5):绑定ListView控件.绑定数据后,就可以在Listview进行数据排序,步骤如下: http://www.watch-life.net/visual-studio/how-to-sort-data-using-a-listview-control.html 1、在ListView的LayoutTemplate里增加增...... [阅读全文]

web developer tips (6):关于标记导航功能

原文链接:Did you know…About the “Tag Navigator” feature 在Vi […]


原文链接:Did you know…About the “Tag Navigator” feature 在Visual studio 2008 里面有个很酷的功能:在“设计视图”或“源视图”状态,html编辑器的底部会出现“标记导航”(tag navigator)。 http://www.watch-life.net/visual-studio/about-the-tag-navigator-feature.html 在下面的图片里,你可以看见光标在<DIV>标记里,因此在编辑器底部的标记导航里出现<DIV>的所有父标记元素,一直到根元素。 ...... [阅读全文]

web developer tips (5):绑定ListView控件

原文地址:How to Databind a ListView control ListView 是Visua […]


原文地址:How to Databind a ListView control ListView 是Visual Studio 2008中一个新的控件,使用此控件可以很轻松的进行数据的插入、编辑、删除和排序,也可以在使用这个控件时通过用户定义模板来灵活地显示各种格式的数据。 下面的如何将ListView 绑定到一个SQLDataSource(sql数据源) 步骤: http://www.watch-life.net/visual-studio/how-to-databind-a-listview-control.html 1、从工具箱的数据标签里添加一个Listview控件, Visual Studio将会生成如下图所示的代码 ...... [阅读全文]

web developer tips (4):在Visual Web Developer中增加浏览器

原文链接:You can add browsers to Visual Web Developer using […]


原文链接:You can add browsers to Visual Web Developer using the “Browse With…” option 作为一个web程序开发人员最有趣的一件事是:可以在不同的浏览器去查看页面。也可以在Visual Studio中来实现使用不同的浏览器来查看页面。 设置步骤如下: http://www.watch-life.net/visual-studio/add-browsers-to-visual-web-developer-using-the-browse-with-option.html 1、在web项目中,选中一个页面(aspx),右键在上下文菜单中选择“浏览方式...” ...... [阅读全文]

web developer tips (3):设置垂直拆分视图

原文链接:Split View could be set vertically in VS 2008 拆分视图 […]


原文链接:Split View could be set vertically in VS 2008 拆分视图是Visual Studio 2008 中除现有的“设计视图”和“源试图”外新的视图选项。在拆分割视图的情况下,可以打开源视图和设计视图并排排列,这将更容易使你了解源视图的改变对设计视图的影响,反之亦然。 此功能在Visual Studio 2008 和Web Developer 2008 中都支持,默认情况下,拆分视图是水平模式的,做如下的设置可以让分割在垂直模式下工作: http://www.watch-life.net/visual-studio/split-view-could-be-set-vertically.html 菜单:工具+选项+html设计器+常规,勾选“垂直拆分视图” ...... [阅读全文]

web developer tips (2):样式应用工具栏的工作模式

原文链接:The Style Application Toolbar works in both Auto a […]


原文链接:The Style Application Toolbar works in both Auto and Manual modes “样式应用工具栏”使你可以自动创建和修改样式,这个工具窗口有自动和手动两种工作模式。 “自动模式”是针对不熟悉CSS的用户, Visual Studio将控制新生成的样式放置位置。 “手工模式”是针对有经验的用户,手动模式下用户可以通过目标规则来控制样式放置位置,目标规则在一个下拉框里显示:类名(当前页),新建自动类,新建级联样式,应用新样式 类名(当前页):所有的样式格式...... [阅读全文]

web developer tips (1):创建、管理、应用样式表的强大工具

原文链接:Powerful CSS Tools to Create, Manage and Apply Sty […]


原文链接:Powerful CSS Tools to Create, Manage and Apply Styles Visual Studio 2008 包含了三个新的CSS样式工具窗口: 1、应用样式(Apply Styles ) 2、管理样式(Manage Styles) 3、CSS属性(CSS Properties) 在(aspx文件)设计视图,或拆分视图,或源视图 的模式中,在“视图”菜单下上述三个选项都是可用的。 应用样式 使用此工具窗口,你可以创建、应用、修改样式。这个工具窗口列出了特定页面的所有样式,包括嵌入式的样式,外部样式表和当前页面的样式表。应用样式到选定的控件很简单,在应用样式窗口样式列表中选择一个样式,单击它,选择“应用样式”。 ...... [阅读全文]

Visual Studio 最常用的13个快捷键

原文地址:http://blog.tech-cats.com/2008/03/top-13-visual-st […]


原文地址:http://blog.tech-cats.com/2008/03/top-13-visual-studio-keyboard-shortcuts.html 如果你经常使用Visual Studio 2008开发程序,下面13个最常用快捷键你一定很熟悉。 http://www.watch-life.net/life-thinking/top-13-visual-studio-keyboard.html 1. F5:启动调试 2. F7 /Shift-F7:显示代码窗口或显示设计器窗口 ...... [阅读全文]

Visual Studio 2008 每日提示(三十七)

本篇包括tip371-tip380 http://www.watch-life.net/visual-stud […]


本篇包括tip371-tip380 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-37.html #371 、从“最近的文件”和“最近的项目”(菜单)移走项 原文链接:How to remove items from the Recent Projects and Recent Files menus 操作步骤: 如果你不小心删除或重命名一个项目文件,如果尝试从“最近的项目”菜单打开下项目的话,Visual Studio会很快提示项目不可用。 同时,vs还会提示你,是否从“最近的项目”中删除不存在的项目或解决方案...... [阅读全文]

Visual Studio 2008 每日提示(三十六)

本篇包括tip361-tip370 http://www.watch-life.net/visual-stud […]


本篇包括tip361-tip370 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-36.html # 361、按Ctrl+K, Ctrl+v在解决方案快速查找对象 原文链接: Ctrl+K, Ctrl+v allows you to quickly search for objects within your solution 操作步骤: 无论你在IDE的任何地方按Ctrl+K, Ctrl+v,焦点会跳转到类视图的搜索组合框,你可以开始输入和立即搜索。 ...... [阅读全文]

Visual Studio 2008 每日提示(三十五)

本篇包括tip351-tip360 http://www.watch-life.net/visual-stud […]


本篇包括tip351-tip360 http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-35.html #351、在类视图里查看类关系图 原文链接:You can view the Class Diagram for a class from the Class View 操作步骤: 在类视图里,有个查看类关系图的图标按钮 单击这个图标,可以添加一个类的关系模型,或者,如果没有建立关系图就会建立它。 ...... [阅读全文]