<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>守望轩 &#187; Visual Studio</title>
	<atom:link href="http://www.watch-life.net/category/visual-studio/feed" rel="self" type="application/rss+xml" />
	<link>http://www.watch-life.net</link>
	<description>关注IT,审视自我,守望生活, 宁静雅致的小轩馆.</description>
	<lastBuildDate>Sat, 13 Mar 2010 15:38:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>web developer tips (73): IIS搜索引擎优化工具包</title>
		<link>http://www.watch-life.net/visual-studio/iis-search-engine-optimization-seo-toolkit.html</link>
		<comments>http://www.watch-life.net/visual-studio/iis-search-engine-optimization-seo-toolkit.html#comments</comments>
		<pubDate>Tue, 12 Jan 2010 16:46:26 +0000</pubDate>
		<dc:creator>xjb</dc:creator>
				<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[web developer tips]]></category>

		<guid isPermaLink="false">http://www.watch-life.net/?p=494</guid>
		<description><![CDATA[原文地址：about IIS Search Engine Optimization (SEO) Toolkit Beta
注：翻译本文时IIS搜索引擎优化工具包已经发布正式版。
IIS的搜索引擎优化（SEO）工具包-是一个免费的工具包，帮助Web开发人员，托管服务提供商，和服务器管理员，通过对搜索引擎的友好性，提高在搜索结果中的网站的相关性。此seo的工具包可以通过 Microsoft Web Platform Installer进行安装。
IIS的搜索引擎优化（SEO）工具的功能：
 http://www.watch-life.net/visual-studio/iis-search-engine-optimization-seo-toolkit.html
1、提高网站来自搜索引擎的流量。
2、控制搜索引擎访问和显示的网页内容。
3、通知搜索引擎可访问内容的索引。
结合IIS，IIS的搜索引擎优化（SEO）工具包包括三个模块：
1、站点分析（Site Analysis）：提供相关修改建议，用于提高网站来自搜索引擎的流量。
2、机器人排除（Robots Exclusion）：更容易控制和限制搜索引擎索引和显示网站内容。
3、网站地图和网站索引（Sitemaps and Site Indexes）：用于通知搜索引擎可访问内容的索引。
相关IIS的搜索引擎优化（SEO）工具包资源：
1、工具包主页：Search Engine Optimization Toolkit
2、Scott Guthrie 介绍工具包的文章：
搜索引擎优化(SEO)工具包
IIS搜索引擎优化工具包


	你可能也会喜欢以下文章：
	
	web developer tips (67):ASP.net MVC的快捷键列表 (0)
	web developer tips (58):在vs里导入导出每一个HTML的标记 (0)
	web developer tips (26):在 App_Code目录下同时放c#和VB.NET文件 (0)
	web developer tips (30):在vs2008中Ajax Extender 控件UI与vs2005中差异 (0)
	web developer tips (72): 在Windows 7中使用IIS远程管理器 (0)
	web developer tips (2):样式应用工具栏的工作模式 (0)
	web developer tips [...]]]></description>
			<content:encoded><![CDATA[<p>原文地址：<a href="http://blogs.msdn.com/webdevelopertips/archive/2009/06/03/tip-73-did-you-know-about-iis-search-engine-optimization-seo-toolkit-beta.aspx" target="_blank">about IIS Search Engine Optimization (SEO) Toolkit Beta</a></p>
<p>注：翻译本文时IIS搜索引擎优化工具包已经发布正式版。</p>
<p>IIS的搜索引擎优化（SEO）工具包-是一个免费的工具包，帮助Web开发人员，托管服务提供商，和服务器管理员，通过对搜索引擎的友好性，提高在搜索结果中的网站的相关性。此seo的工具包可以通过 <a href="http://www.microsoft.com/web/downloads/platform.aspx" target="_blank">Microsoft Web Platform Installer</a>进行安装。</p>
<p><a href="http://www.watch-life.net/visual-studio/iis-search-engine-optimization-seo-toolkit.html" target="_blank">IIS的搜索引擎优化</a>（SEO）工具的功能：</p>
<p><a href="http://www.watch-life.net/visual-studio/iis-search-engine-optimization-seo-toolkit.html" target="_blank"> http://www.watch-life.net/visual-studio/iis-search-engine-optimization-seo-toolkit.html</a></p>
<p>1、提高网站来自搜索引擎的流量。</p>
<p>2、控制搜索引擎访问和显示的网页内容。</p>
<p>3、通知搜索引擎可访问内容的索引。</p>
<p>结合IIS，IIS的搜索引擎优化（SEO）工具包包括三个模块：</p>
<p>1、站点分析（Site Analysis）：提供相关修改建议，用于提高网站来自搜索引擎的流量。</p>
<p>2、机器人排除（Robots Exclusion）：更容易控制和限制搜索引擎索引和显示网站内容。</p>
<p>3、网站地图和网站索引（Sitemaps and Site Indexes）：用于通知搜索引擎可访问内容的索引。</p>
<p>相关IIS的搜索引擎优化（SEO）工具包资源：</p>
<p>1、工具包主页：<a href="http://www.iis.net/expand/SEOToolkit" target="_blank">Search Engine Optimization Toolkit</a></p>
<p>2、<a href="http://blog.joycode.com/scottgu" target="_blank">Scott Guthrie</a> 介绍工具包的文章：</p>
<p><a href="http://blog.joycode.com/scottgu/archive/2009/12/18/115814.joy" target="_blank">搜索引擎优化(SEO)工具包</a></p>
<p><a href="http://blog.joycode.com/scottgu/archive/2009/06/07/115605.joy" target="_blank">IIS搜索引擎优化工具包</a></p>
<p class="akst_link">
</p>
	<h4>你可能也会喜欢以下文章：</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.watch-life.net/visual-studio/the-list-of-asp-net-mvc-shortcuts.html" title="web developer tips (67):ASP.net MVC的快捷键列表 (2009-11-24)">web developer tips (67):ASP.net MVC的快捷键列表</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/import-export-html-per-tag-options-in-vs.html" title="web developer tips (58):在vs里导入导出每一个HTML的标记 (2009-11-03)">web developer tips (58):在vs里导入导出每一个HTML的标记</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/have-c-and-vb-net-files-inside-your-app-code-directory.html" title="web developer tips (26):在 App_Code目录下同时放c#和VB.NET文件 (2009-07-19)">web developer tips (26):在 App_Code目录下同时放c#和VB.NET文件</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/ajax-extender-controls-ui-behaves-differently-in-vs-2008-than-in-vs-2005.html" title="web developer tips (30):在vs2008中Ajax Extender 控件UI与vs2005中差异 (2009-07-27)">web developer tips (30):在vs2008中Ajax Extender 控件UI与vs2005中差异</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/iis-remote-management-for-windows-7.html" title="web developer tips (72): 在Windows 7中使用IIS远程管理器 (2010-01-11)">web developer tips (72): 在Windows 7中使用IIS远程管理器</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/the-style-application-toolbar-works-in-both-auto-and-manual-modes.html" title="web developer tips (2):样式应用工具栏的工作模式 (2009-05-24)">web developer tips (2):样式应用工具栏的工作模式</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/stop-hot-linking-from-your-site-using-url-rewrite-in-iis-7-0.html" title="web developer tips (34)：在IIS7.0使用网址重写防止盗链 (2009-08-13)">web developer tips (34)：在IIS7.0使用网址重写防止盗链</a> (1)</li>
	<li><a href="http://www.watch-life.net/visual-studio/go-to-definition-is-supported-for-css-class.html" title="web developer tips (28):CSS class 也支持“转到定义” (2009-07-22)">web developer tips (28):CSS class 也支持“转到定义”</a> (0)</li>
</ul>

转载请注明作者，出处，以及原始超链接。<br />评论数：0 | <b><a href='http://www.watch-life.net/visual-studio/iis-search-engine-optimization-seo-toolkit.html#comment'>评论这篇文章</a></b>|关注作者最近动态,欢迎 follow me <a href='https://twitter.com/xjb' target='_blank'>xjb@twitter.com</a>|联络作者：iamxjb@gmail.com<br/>© 2010 守望轩 <a href='http://www.watch-life.net/visual-studio/iis-search-engine-optimization-seo-toolkit.html'>www.watch-life.net</a>]]></content:encoded>
			<wfw:commentRss>http://www.watch-life.net/visual-studio/iis-search-engine-optimization-seo-toolkit.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>web developer tips (72): 在Windows 7中使用IIS远程管理器</title>
		<link>http://www.watch-life.net/visual-studio/iis-remote-management-for-windows-7.html</link>
		<comments>http://www.watch-life.net/visual-studio/iis-remote-management-for-windows-7.html#comments</comments>
		<pubDate>Mon, 11 Jan 2010 15:26:39 +0000</pubDate>
		<dc:creator>xjb</dc:creator>
				<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[IIS Remote Manager]]></category>
		<category><![CDATA[web developer tips]]></category>
		<category><![CDATA[windows 7]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>

		<guid isPermaLink="false">http://www.watch-life.net/?p=493</guid>
		<description><![CDATA[原文地址：you can now manage Windows Server 2008 and Windows Server 2008 R2 from Windows 7
IIS的远程管理器（IIS Remote Manager）目前支持Windows 7。在此之前发布的版本，iis远程管理只支持XP，Vista，Windows Server 2003和Server 2008的（不包括Home Basic版本）。现在，用户可以安装在Windows 7客户端远程管理器来远程管理2008和Server 2008 R2 IIS服务。
 http://www.watch-life.net/visual-studio/iis-remote-management-for-windows-7.html
远程管理器在IIS下载中心提供下载：
x86版本：IIS Manager for Remote Administration 
x64版本： IIS Manager for Remote Administration
或者在microsoft.com 文章下载：
Internet Information Services (IIS) Manager
也可以通过Web Platform Installer 来安装

了解iis远程管理器的更多内容见: Remote Manager for Windows 2003, XP and Vista SP1


	你可能也会喜欢以下文章：
	
	web developer [...]]]></description>
			<content:encoded><![CDATA[<p>原文地址：<a href="http://blogs.msdn.com/webdevelopertips/archive/2009/06/01/iis-remote-management-for-windows-7.aspx" target="_blank">you can now manage Windows Server 2008 and Windows Server 2008 R2 from Windows 7</a></p>
<p>IIS的远程管理器（IIS Remote Manager）目前支持Windows 7。在此之前发布的版本，<a href="http://www.watch-life.net/visual-studio/iis-remote-management-for-windows-7.html" target="_blank">iis远程管理</a>只支持XP，Vista，Windows Server 2003和Server 2008的（不包括Home Basic版本）。现在，用户可以安装在Windows 7客户端远程管理器来远程管理2008和Server 2008 R2 IIS服务。</p>
<p><a href="http://www.watch-life.net/visual-studio/iis-remote-management-for-windows-7.html" target="_blank"> http://www.watch-life.net/visual-studio/iis-remote-management-for-windows-7.html</a></p>
<p>远程管理器在IIS下载中心提供下载：<br />
x86版本：<a href="http://www.iis.net/downloads/default.aspx?tabid=34&#038;g=6&#038;i=1626" target="_blank">IIS Manager for Remote Administration </a></p>
<p>x64版本： <a href="http://www.iis.net/downloads/default.aspx?tabid=34&#038;i=1633&#038;g=6" target="_blank">IIS Manager for Remote Administration</a></p>
<p>或者在microsoft.com 文章下载：<br />
<a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&#038;FamilyID=32c54c37-7530-4fc0-bd20-177a3e5330b7" target="_blank">Internet Information Services (IIS) Manager</a></p>
<p>也可以通过<a href="http://www.watch-life.net/visual-studio/microsoft-web-platform.html" target="_blank">Web Platform Installer</a> 来安装<br />
<a href="http://go.microsoft.com/?linkid=9655670" target="_blank"><img title="clip_image001" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="51" alt="clip_image001" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/IISRemoteManagementforWindows7_E50D/clip_image001_34246c72-8ac4-46fc-bf71-8ffc728773c6.gif" width="176" border="0" /></a></p>
<p>了解iis远程管理器的更多内容见: <a href="http://learn.iis.net/page.aspx/390/remote-manager-for-windows-2003-xp-and-vista-sp1/" target="_blank">Remote Manager for Windows 2003, XP and Vista SP1</a></p>
<p class="akst_link">
</p>
	<h4>你可能也会喜欢以下文章：</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.watch-life.net/visual-studio/turning-off-ie-s-enhanced-security-configuration.html" title="web developer tips (47):脚本远程调试需关闭IE增强安全配置 (2009-09-13)">web developer tips (47):脚本远程调试需关闭IE增强安全配置</a> (1)</li>
	<li><a href="http://www.watch-life.net/visual-studio/view-the-project-file-while-still-in-visual-studio.html" title="web developer tips (44):如何在Visual Studio中查看项目文件 (2009-09-08)">web developer tips (44):如何在Visual Studio中查看项目文件</a> (2)</li>
	<li><a href="http://www.watch-life.net/visual-studio/absolute-position-the-controls-in-visual-studio-designer.html" title="web developer tips (50):在 Visual Studio 的设计视图绝对定位控件 (2009-09-23)">web developer tips (50):在 Visual Studio 的设计视图绝对定位控件</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/profiling-an-asp-net-site.html" title="web developer tips (60):如何对ASP.Net网站进行性能分析 (2009-11-05)">web developer tips (60):如何对ASP.Net网站进行性能分析</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/manage-pilot-or-beta-program-for-your-site-using-application-request-routing-in-iis7-0.html" title="web developer tips (36):使用IIS7.0 应用请求路由模块管理网站的beta版程序 (2009-08-24)">web developer tips (36):使用IIS7.0 应用请求路由模块管理网站的beta版程序</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/change-wap-to-use-an-iis-web-server.html" title="web developer tips (20):使用IIS作为web服务器 (2009-07-12)">web developer tips (20):使用IIS作为web服务器</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/configurationeditor-update-configuration.html" title="web developer tips (42):用IIS配置编辑器生成脚本来更新配置 (2009-09-03)">web developer tips (42):用IIS配置编辑器生成脚本来更新配置</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/split-view-could-be-set-vertically.html" title="web developer tips (3):设置垂直拆分视图 (2009-06-04)">web developer tips (3):设置垂直拆分视图</a> (1)</li>
</ul>

转载请注明作者，出处，以及原始超链接。<br />评论数：0 | <b><a href='http://www.watch-life.net/visual-studio/iis-remote-management-for-windows-7.html#comment'>评论这篇文章</a></b>|关注作者最近动态,欢迎 follow me <a href='https://twitter.com/xjb' target='_blank'>xjb@twitter.com</a>|联络作者：iamxjb@gmail.com<br/>© 2010 守望轩 <a href='http://www.watch-life.net/visual-studio/iis-remote-management-for-windows-7.html'>www.watch-life.net</a>]]></content:encoded>
			<wfw:commentRss>http://www.watch-life.net/visual-studio/iis-remote-management-for-windows-7.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>web developer tips (71): 关于FastCGI 1.5beta几个新配置设置</title>
		<link>http://www.watch-life.net/visual-studio/there-are-several-new-configuration-settings-available-in-fastcgi-extension-1-5-beta.html</link>
		<comments>http://www.watch-life.net/visual-studio/there-are-several-new-configuration-settings-available-in-fastcgi-extension-1-5-beta.html#comments</comments>
		<pubDate>Thu, 07 Jan 2010 12:19:25 +0000</pubDate>
		<dc:creator>xjb</dc:creator>
				<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[FastCGI]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[web developer tips]]></category>

		<guid isPermaLink="false">http://www.watch-life.net/?p=487</guid>
		<description><![CDATA[原文地址：there are several new configuration settings available in FastCGI Extension 1.5 Beta
以下是FastCGI 1.5beta的新配置：
http://www.watch-life.net/visual-studio/there-are-several-new-configuration-settings-available-in-fastcgi-extension-1-5-beta.html
1、MonitorChangesTo（监视对文件所做的更改）  -指定文件路径，如果更改此文件，将触发 FastCGI 进程回收。如果属性值是空的，监视功能将不可用。文件的路径是FastCGI 进程所在目录的绝对或相对路径。如果没有输入，则默认值为空。
2、StderrMode （标准错误模式）-指定如何处理 FastCGI 进程报告的错误。可设置的选项包括：
              A、ReturnStderrIn500&#8211;FastCGI 将状态代码设置为 500，然后将 STDERR 上收到的内容作为响应发送出去。这个和1.0版本是相同的。
              B、ReturnGeneric500&#8211;FastCGI 将状态代码设置为 500，但返回通用的 [...]]]></description>
			<content:encoded><![CDATA[<p>原文地址：<a href="http://blogs.msdn.com/webdevelopertips/archive/2009/06/01/tip-71-did-you-know-there-are-several-new-configuration-settings-available-in-fastcgi-extension-1-5-beta.aspx" target="_blank">there are several new configuration settings available in FastCGI Extension 1.5 Beta</a></p>
<p>以下是<a href="http://www.watch-life.net/visual-studio/there-are-several-new-configuration-settings-available-in-fastcgi-extension-1-5-beta.html" target="_blank">FastCGI 1.5beta</a>的新配置：</p>
<p><a href="http://www.watch-life.net/visual-studio/there-are-several-new-configuration-settings-available-in-fastcgi-extension-1-5-beta.html" target="_blank">http://www.watch-life.net/visual-studio/there-are-several-new-configuration-settings-available-in-fastcgi-extension-1-5-beta.html</a></p>
<p>1、<strong>MonitorChangesTo</strong>（监视对文件所做的更改）  -指定文件路径，如果更改此文件，将触发 FastCGI 进程回收。如果属性值是空的，监视功能将不可用。文件的路径是FastCGI 进程所在目录的绝对或相对路径。如果没有输入，则默认值为空。</p>
<p>2、<strong>StderrMode</strong> （标准错误模式）-指定如何处理 FastCGI 进程报告的错误。可设置的选项包括：<br />
              A、<strong>ReturnStderrIn500</strong>&#8211;FastCGI 将状态代码设置为 500，然后将 STDERR 上收到的内容作为响应发送出去。这个和1.0版本是相同的。<br />
              B、<strong>ReturnGeneric500</strong>&#8211;FastCGI 将状态代码设置为 500，但返回通用的 500 错误消息。<br />
              C、<strong>IgnoreAndReturn200</strong>&#8211;FastCGI 将状态代码设置为 200，然后将 STDOUT 上收到的内容作为响应发送出去。<br />
              D、<strong> TerminateProcess </strong>&#8211;终止 FastCGI 进程,并返回通用的 500 错误消息</p>
<p>如果没有输入，将默认值为&#8221;ReturnStderrIn500&#8243;。</p>
<p>3、<strong>MaxInstances</strong>（最大实例数)&#8211;这个设置决定了每个应用程序池允许最多的FastCGI进程数目，同时也设置FastCGI 应用程序可以处理的最大并发请求数。这个设置在1.0版本就存在。然而在1.5版本中，这个值可以设置为0 ，则可以使 IIS 自动选择当前执行环境下 FastCGI 进程的最佳数量。如果设置为0，FastCGI将连续不断分析cpu的负载和内存可用性，同时基于这些来增加和减少运行的FastCGI 实例进程。</p>
<p>4、<strong>SignalBeforeTerminateSeconds</strong>在设置关机事件之后和调用TerminateProcess 强制终止进程之前，需要花费多少秒。默认值是0，味着如果不设置和FastCGI程序可以在任何时候突然终止，如果这个值大于0，FastCGI 进程将创建一个可以继承的子进程。处理这个值的环境变量为：_FCGI_SHUTDOWN_EVENT_，这个管道名用于在环境变量_FCGI_X_PIPE_传递被存储的进程。</p>
<p>5、<strong>ActivityTimeout</strong>（活动超时）-指定在应用程序的 FastCGI 进程超时前，允许该进程不与 IIS 通信的最长运行时间。这个设置在1.0版本就存在。但在1.5版本默认值从30秒增加到70秒。</p>
<p>FastCGI 1.5beta 下载地址：<br />
<a href="http://go.microsoft.com/?linkid=9662504" target="_blank">FastCGI Extension 1.5 for IIS 6.0 and IIS 5.1 (x86)</a><br />
<a href="http://go.microsoft.com/?linkid=9662503" target="_blank">FastCGI Extension 1.5 for IIS 6.0 and IIS 5.1 (x64</a>)</p>
<p class="akst_link">
</p>
	<h4>你可能也会喜欢以下文章：</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.watch-life.net/visual-studio/get-the-browser-agent-using-asp-net-ajax.html" title="web developer tips (13):用ASP.NET Ajax获取浏览器的agent (2009-06-28)">web developer tips (13):用ASP.NET Ajax获取浏览器的agent</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/profiling-an-asp-net-site.html" title="web developer tips (60):如何对ASP.Net网站进行性能分析 (2009-11-05)">web developer tips (60):如何对ASP.Net网站进行性能分析</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/remote-debugging-waps-using-iis.html" title="web developer tips (17):远程调试使用IIS的web应用 (2009-07-06)">web developer tips (17):远程调试使用IIS的web应用</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/add-intellisense-from-script-libraries-for-js-files.html" title="web developer tips (35):为js文件中的脚本库添加智能提示 (2009-08-14)">web developer tips (35):为js文件中的脚本库添加智能提示</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/deploying-your-asp-net-web-application-debug-false-should-be-set-in-web-config.html" title="web developer tips (52):部署Asp.net web应用须设置debug为false (2009-09-27)">web developer tips (52):部署Asp.net web应用须设置debug为false</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/how-to-easily-create-your-own-project-templates.html" title="web developer tips (32)：轻松地创建自己的项目模板 (2009-08-03)">web developer tips (32)：轻松地创建自己的项目模板</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/change-start-up-options-and-instances-of-asp-net-development-server-in-a-multi-project-solution.html" title="web developer tips (55):多项目解决方案中设置启动项 (2009-10-28)">web developer tips (55):多项目解决方案中设置启动项</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/the-style-application-toolbar-works-in-both-auto-and-manual-modes.html" title="web developer tips (2):样式应用工具栏的工作模式 (2009-05-24)">web developer tips (2):样式应用工具栏的工作模式</a> (0)</li>
</ul>

转载请注明作者，出处，以及原始超链接。<br />评论数：0 | <b><a href='http://www.watch-life.net/visual-studio/there-are-several-new-configuration-settings-available-in-fastcgi-extension-1-5-beta.html#comment'>评论这篇文章</a></b>|关注作者最近动态,欢迎 follow me <a href='https://twitter.com/xjb' target='_blank'>xjb@twitter.com</a>|联络作者：iamxjb@gmail.com<br/>© 2010 守望轩 <a href='http://www.watch-life.net/visual-studio/there-are-several-new-configuration-settings-available-in-fastcgi-extension-1-5-beta.html'>www.watch-life.net</a>]]></content:encoded>
			<wfw:commentRss>http://www.watch-life.net/visual-studio/there-are-several-new-configuration-settings-available-in-fastcgi-extension-1-5-beta.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>web developer tips (70):使用命令脚本安装IIS7</title>
		<link>http://www.watch-life.net/visual-studio/install-iis-7-from-the-command-line.html</link>
		<comments>http://www.watch-life.net/visual-studio/install-iis-7-from-the-command-line.html#comments</comments>
		<pubDate>Thu, 03 Dec 2009 16:40:29 +0000</pubDate>
		<dc:creator>xjb</dc:creator>
				<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[web developer tips]]></category>
		<category><![CDATA[window7]]></category>

		<guid isPermaLink="false">http://www.watch-life.net/?p=486</guid>
		<description><![CDATA[原文地址： how to install win7 RC IIS through command script
注：原文是在windows 7rc 版本下用命令脚本来安装，不过2009年10月22日windows 7 已经正式发布了。因此本文没有用原文中的安装脚本命令。而是在查询有关资料后，使用下面通用的脚本命令。
 http://www.watch-life.net/visual-studio/install-iis-7-from-the-command-line.html
Windows Vista Professional, Windows Vista Ultimate, or Windows Server 2008 Editions，window7安装iis7命令脚本如下:

start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-Security;IIS-BasicAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-ManagementScriptingTools;IIS-ManagementService;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;IIS-LegacySnapIn;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI

 Vista Home Premium安装iis7命令脚本如下:

IIS-ASPNET;IIS-NetFxExtensibility;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-Security;IIS-BasicAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-ManagementScriptingTools;IIS-ManagementService;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;IIS-LegacySnapIn;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI

有关安装iis命令脚本的更多详细内容参见：Installing IIS 7.0 from the Command Line
有关is7的安装的更多详细内容见：Installing IIS 7.0


	你可能也会喜欢以下文章：
	
	web developer tips (64): 在GridView中转换BoundField为TemplateField (0)
	web developer tips (36):使用IIS7.0 应用请求路由模块管理网站的beta版程序 (0)
	web developer tips (11):在Visual Web Developer中用不同的工具窗口打开样式生成器 (0)
	创建控件时出错/lm/w3svc/&#8230; [...]]]></description>
			<content:encoded><![CDATA[<p>原文地址： <a href="http://blogs.msdn.com/webdevelopertips/archive/2009/05/31/tip-70-did-you-know-how-to-install-win7-rc-iis-through-command-script.aspx" target="_blank">how to install win7 RC IIS through command script</a></p>
<p>注：原文是在<a href="http://www.microsoft.com/windows/windows-7/" target="_blank">windows 7</a>rc 版本下用命令脚本来安装，不过2009年10月22日<a href="http://www.watch-life.net/tag/windows7" target="_blank">windows 7 已经正式发布了</a>。因此本文没有用原文中的安装脚本命令。而是在查询有关资料后，使用下面通用的脚本命令。</p>
<p><a href="http://www.watch-life.net/visual-studio/install-iis-7-from-the-command-line.html" target="_blank"> http://www.watch-life.net/visual-studio/install-iis-7-from-the-command-line.html</a></p>
<p>Windows Vista Professional, Windows Vista Ultimate, or Windows Server 2008 Editions，window7安装iis7命令脚本如下:</p>
<div class=code>
start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-Security;IIS-BasicAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-ManagementScriptingTools;IIS-ManagementService;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;IIS-LegacySnapIn;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI
</div>
<p> Vista Home Premium安装iis7命令脚本如下:</p>
<div class=code>
IIS-ASPNET;IIS-NetFxExtensibility;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-Security;IIS-BasicAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-ManagementScriptingTools;IIS-ManagementService;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;IIS-LegacySnapIn;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI
</div>
<p>有关安装iis命令脚本的更多详细内容参见：<a href="http://learn.iis.net/page.aspx/132/install-iis-7-from-the-command-line/" target="_blank">Installing IIS 7.0 from the Command Line</a></p>
<p>有关is7的安装的更多详细内容见：<a href="http://learn.iis.net/page.aspx/85/installing-iis-70/" target="_blank">Installing IIS 7.0</a></p>
<p class="akst_link">
</p>
	<h4>你可能也会喜欢以下文章：</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.watch-life.net/visual-studio/convert-a-gridview-column-from-boundfield-to-templatefield.html" title="web developer tips (64): 在GridView中转换BoundField为TemplateField (2009-11-18)">web developer tips (64): 在GridView中转换BoundField为TemplateField</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/manage-pilot-or-beta-program-for-your-site-using-application-request-routing-in-iis7-0.html" title="web developer tips (36):使用IIS7.0 应用请求路由模块管理网站的beta版程序 (2009-08-24)">web developer tips (36):使用IIS7.0 应用请求路由模块管理网站的beta版程序</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/new-style-builder-can-be-invoked-from-various-other-tool-windows-in-visual-web-developer.html" title="web developer tips (11):在Visual Web Developer中用不同的工具窗口打开样式生成器 (2009-06-25)">web developer tips (11):在Visual Web Developer中用不同的工具窗口打开样式生成器</a> (0)</li>
	<li><a href="http://www.watch-life.net/aspnet/iis-contorl-err.html" title="创建控件时出错/lm/w3svc/&#8230; 不是一个有效的iis应用程序&#8221; 的解决办法 (2007-12-13)">创建控件时出错/lm/w3svc/&#8230; 不是一个有效的iis应用程序&#8221; 的解决办法</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/absolute-position-controls-on-copy-paste-or-drag-drop-from-toolbox.html" title="web developer tips (18):从工具箱粘贴或拖拽控件时进行绝对定位 (2009-07-07)">web developer tips (18):从工具箱粘贴或拖拽控件时进行绝对定位</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/use-vs2005-to-debug-with-ie8.html" title="web developer tips (51):使用vs2005和IE8进行调试 (2009-09-25)">web developer tips (51):使用vs2005和IE8进行调试</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/iis7-application-pool-s-ping-settings-may-affect-debugging.html" title="web developer tips (48):IIS7应用程序池的“Ping”设置可能影响调试 (2009-09-16)">web developer tips (48):IIS7应用程序池的“Ping”设置可能影响调试</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/stop-hot-linking-from-your-site-using-url-rewrite-in-iis-7-0.html" title="web developer tips (34)：在IIS7.0使用网址重写防止盗链 (2009-08-13)">web developer tips (34)：在IIS7.0使用网址重写防止盗链</a> (1)</li>
</ul>

转载请注明作者，出处，以及原始超链接。<br />评论数：2 | <b><a href='http://www.watch-life.net/visual-studio/install-iis-7-from-the-command-line.html#comment'>评论这篇文章</a></b>|关注作者最近动态,欢迎 follow me <a href='https://twitter.com/xjb' target='_blank'>xjb@twitter.com</a>|联络作者：iamxjb@gmail.com<br/>© 2010 守望轩 <a href='http://www.watch-life.net/visual-studio/install-iis-7-from-the-command-line.html'>www.watch-life.net</a>]]></content:encoded>
			<wfw:commentRss>http://www.watch-life.net/visual-studio/install-iis-7-from-the-command-line.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>web developer tips (69):vs中在浏览器中查看的快捷键</title>
		<link>http://www.watch-life.net/visual-studio/the-keyboard-shortcut-for-view-in-browser.html</link>
		<comments>http://www.watch-life.net/visual-studio/the-keyboard-shortcut-for-view-in-browser.html#comments</comments>
		<pubDate>Fri, 27 Nov 2009 03:05:09 +0000</pubDate>
		<dc:creator>xjb</dc:creator>
				<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[keyboard shortcut]]></category>
		<category><![CDATA[web developer tips]]></category>
		<category><![CDATA[快捷键]]></category>

		<guid isPermaLink="false">http://www.watch-life.net/?p=483</guid>
		<description><![CDATA[原文地址：The keyboard shortcut for View in Browser
按快捷键（keyboard shortcut）Ctrl +Shift+W可以在Visual Studio 2008 中启动“在浏览器中查看”。这个快捷键可以在菜单：文件+在浏览器中查看可以看见。
http://www.watch-life.net/visual-studio/the-keyboard-shortcut-for-view-in-browser.html
当然，你可以在选择需要浏览的页面，单击右键选择“在浏览器中查看”菜单，或者按快捷键Ctrl +Shift+W



	你可能也会喜欢以下文章：
	
	web developer tips (48):IIS7应用程序池的“Ping”设置可能影响调试 (0)
	web developer tips (52):部署Asp.net web应用须设置debug为false (0)
	web developer tips (29):在web应用项目里启用“编辑并继续”功能 (0)
	web developer tips (6):关于标记导航功能 (0)
	web developer tips (38):如何用请求失败记录追踪重写规则 (0)
	web developer tips (58):在vs里导入导出每一个HTML的标记 (0)
	web developer tips (2):样式应用工具栏的工作模式 (0)
	web developer tips (40):定义母版页的作用范围 (0)


转载请注明作者，出处，以及原始超链接。评论数：2 &#124; 评论这篇文章&#124;关注作者最近动态,欢迎 follow me xjb@twitter.com&#124;联络作者：iamxjb@gmail.com© 2010 守望轩 www.watch-life.net]]></description>
			<content:encoded><![CDATA[<p>原文地址：<a href="http://blogs.msdn.com/webdevelopertips/archive/2009/05/31/tip-69-did-you-know-the-keyboard-shortcut-for-view-in-browser.aspx" target="_blank">The keyboard shortcut for View in Browser</a></p>
<p>按快捷键（keyboard shortcut）<strong>Ctrl +Shift+W</strong>可以在Visual Studio 2008 中启动“在浏览器中查看”。这个快捷键可以在菜单：<strong>文件+在浏览器中查看</strong>可以看见。</p>
<p><a href="http://www.watch-life.net/visual-studio/the-keyboard-shortcut-for-view-in-browser.html" target="_blank">http://www.watch-life.net/visual-studio/the-keyboard-shortcut-for-view-in-browser.html</a></p>
<p>当然，你可以在选择需要浏览的页面，单击右键选择“在浏览器中查看”菜单，或者按快捷键<strong>Ctrl +Shift+W</strong></p>
<p><img title="View in Browser" height="190" alt="View in Browser" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip63DidyouknowThekeyboardshortcutforVie_DC6B/View%20in%20Browser_thumb.jpg" width="215" /></p>
<p class="akst_link">
</p>
	<h4>你可能也会喜欢以下文章：</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.watch-life.net/visual-studio/iis7-application-pool-s-ping-settings-may-affect-debugging.html" title="web developer tips (48):IIS7应用程序池的“Ping”设置可能影响调试 (2009-09-16)">web developer tips (48):IIS7应用程序池的“Ping”设置可能影响调试</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/deploying-your-asp-net-web-application-debug-false-should-be-set-in-web-config.html" title="web developer tips (52):部署Asp.net web应用须设置debug为false (2009-09-27)">web developer tips (52):部署Asp.net web应用须设置debug为false</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/how-to-enable-edit-and-continue-feature-for-web-application-projects.html" title="web developer tips (29):在web应用项目里启用“编辑并继续”功能 (2009-07-23)">web developer tips (29):在web应用项目里启用“编辑并继续”功能</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/about-the-tag-navigator-feature.html" title="web developer tips (6):关于标记导航功能 (2009-06-14)">web developer tips (6):关于标记导航功能</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/use-failed-request-tracing-to-trace-rewrite-rules.html" title="web developer tips (38):如何用请求失败记录追踪重写规则 (2009-08-27)">web developer tips (38):如何用请求失败记录追踪重写规则</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/import-export-html-per-tag-options-in-vs.html" title="web developer tips (58):在vs里导入导出每一个HTML的标记 (2009-11-03)">web developer tips (58):在vs里导入导出每一个HTML的标记</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/the-style-application-toolbar-works-in-both-auto-and-manual-modes.html" title="web developer tips (2):样式应用工具栏的工作模式 (2009-05-24)">web developer tips (2):样式应用工具栏的工作模式</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/know-how-to-scope-master-pages.html" title="web developer tips (40):定义母版页的作用范围 (2009-08-31)">web developer tips (40):定义母版页的作用范围</a> (0)</li>
</ul>

转载请注明作者，出处，以及原始超链接。<br />评论数：2 | <b><a href='http://www.watch-life.net/visual-studio/the-keyboard-shortcut-for-view-in-browser.html#comment'>评论这篇文章</a></b>|关注作者最近动态,欢迎 follow me <a href='https://twitter.com/xjb' target='_blank'>xjb@twitter.com</a>|联络作者：iamxjb@gmail.com<br/>© 2010 守望轩 <a href='http://www.watch-life.net/visual-studio/the-keyboard-shortcut-for-view-in-browser.html'>www.watch-life.net</a>]]></content:encoded>
			<wfw:commentRss>http://www.watch-life.net/visual-studio/the-keyboard-shortcut-for-view-in-browser.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>web developer tips (68):附加样式表到网页</title>
		<link>http://www.watch-life.net/visual-studio/how-simple-it-is-to-attach-an-existing-style-sheet-to-your-web-page.html</link>
		<comments>http://www.watch-life.net/visual-studio/how-simple-it-is-to-attach-an-existing-style-sheet-to-your-web-page.html#comments</comments>
		<pubDate>Thu, 26 Nov 2009 02:51:47 +0000</pubDate>
		<dc:creator>xjb</dc:creator>
				<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[web developer tips]]></category>
		<category><![CDATA[样式表]]></category>

		<guid isPermaLink="false">http://www.watch-life.net/?p=480</guid>
		<description><![CDATA[原文地址：How simple it is to attach an existing style sheet to your web page？
在Visual Studio 2008里打开已经建好的网站，在解决方案管理器里，双击打开想附加样式表（css）的网页。
切换到设计视图，通过菜单：格式+附加样式表，打开“选择样式表”对话框。

http://www.watch-life.net/visual-studio/how-simple-it-is-to-attach-an-existing-style-sheet-to-your-web-page.html
在对话框选中需要附加的样式文件，单击“确定”，你就可以在页面来使用这个样式表文件了。在源视图会产生如下代码：

&#60;head runat=&#34;server&#34;&#62;
&#60;title&#62;Untitled Page&#60;/title&#62;
&#60;link href=&#34;StyleSheet.css&#34; rel=&#34;stylesheet&#34; type=&#34;text/css&#34; /&#62;
&#60;/head&#62;

或者你也可以切换到需要附加的页面，然后在解决方案管理器里拖拽一个样式表到这个页面。同样的，也会在页面的源视图也会添加上面的代码。


	你可能也会喜欢以下文章：
	
	web developer tips (53):在vs的设计视图编辑gridview的模板 (0)
	web developer tips (64): 在GridView中转换BoundField为TemplateField (0)
	web developer tips (60):如何对ASP.Net网站进行性能分析 (0)
	web developer tips (55):多项目解决方案中设置启动项 (0)
	web developer tips (48):IIS7应用程序池的“Ping”设置可能影响调试 (0)
	web developer tips (65): 快速创建一个挂接SQL表的GridView (0)
	web developer tips (67):ASP.net MVC的快捷键列表 (0)
	帮帮我！我不懂JavaScript (3)


转载请注明作者，出处，以及原始超链接。评论数：0 &#124; [...]]]></description>
			<content:encoded><![CDATA[<p>原文地址：<a href="http://blogs.msdn.com/webdevelopertips/archive/2009/05/31/tip-68-did-you-know-how-simple-it-is-to-attach-an-existing-style-sheet-to-your-web-page.aspx" target="_blank">How simple it is to attach an existing style sheet to your web page？</a></p>
<p>在Visual Studio 2008里打开已经建好的网站，在解决方案管理器里，双击打开想附加样式表（<a href="http://www.watch-life.net/tag/css" target="_blank">css</a>）的网页。<br />
切换到设计视图，通过菜单：<strong>格式+附加样式表</strong>，打开“选择样式表”对话框。<br />
<img title="Attach StyleSheet" height="343" alt="Attach StyleSheet" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip24DidyouknowHowtoattachastylesheettoy_B64B/Attach%20StyleSheet_thumb_1.jpg" width="543" /><br />
<a href="http://www.watch-life.net/visual-studio/how-simple-it-is-to-attach-an-existing-style-sheet-to-your-web-page.html" target="_blank">http://www.watch-life.net/visual-studio/how-simple-it-is-to-attach-an-existing-style-sheet-to-your-web-page.html</a></p>
<p>在对话框选中需要附加的样式文件，单击“确定”，你就可以在页面来使用这个样式表文件了。在源视图会产生如下代码：</p>
<div class=code>
<p>&lt;head runat=&quot;server&quot;&gt;<br />
&lt;title&gt;Untitled Page&lt;/title&gt;<br />
&lt;link href=&quot;StyleSheet.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt;<br />
&lt;/head&gt;</p>
</div>
<p>或者你也可以切换到需要附加的页面，然后在解决方案管理器里拖拽一个样式表到这个页面。同样的，也会在页面的源视图也会添加上面的代码。</p>
<p class="akst_link">
</p>
	<h4>你可能也会喜欢以下文章：</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.watch-life.net/visual-studio/edit-the-templates-for-gridview-in-vs-designer.html" title="web developer tips (53):在vs的设计视图编辑gridview的模板 (2009-10-12)">web developer tips (53):在vs的设计视图编辑gridview的模板</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/convert-a-gridview-column-from-boundfield-to-templatefield.html" title="web developer tips (64): 在GridView中转换BoundField为TemplateField (2009-11-18)">web developer tips (64): 在GridView中转换BoundField为TemplateField</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/profiling-an-asp-net-site.html" title="web developer tips (60):如何对ASP.Net网站进行性能分析 (2009-11-05)">web developer tips (60):如何对ASP.Net网站进行性能分析</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/change-start-up-options-and-instances-of-asp-net-development-server-in-a-multi-project-solution.html" title="web developer tips (55):多项目解决方案中设置启动项 (2009-10-28)">web developer tips (55):多项目解决方案中设置启动项</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/iis7-application-pool-s-ping-settings-may-affect-debugging.html" title="web developer tips (48):IIS7应用程序池的“Ping”设置可能影响调试 (2009-09-16)">web developer tips (48):IIS7应用程序池的“Ping”设置可能影响调试</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/quickly-create-a-gridview-that-is-hooked-up-to-a-sql-table.html" title="web developer tips (65): 快速创建一个挂接SQL表的GridView (2009-11-19)">web developer tips (65): 快速创建一个挂接SQL表的GridView</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/the-list-of-asp-net-mvc-shortcuts.html" title="web developer tips (67):ASP.net MVC的快捷键列表 (2009-11-24)">web developer tips (67):ASP.net MVC的快捷键列表</a> (0)</li>
	<li><a href="http://www.watch-life.net/javascript/help-i-dont-know-javascript.html" title="帮帮我！我不懂JavaScript (2009-09-30)">帮帮我！我不懂JavaScript</a> (3)</li>
</ul>

转载请注明作者，出处，以及原始超链接。<br />评论数：0 | <b><a href='http://www.watch-life.net/visual-studio/how-simple-it-is-to-attach-an-existing-style-sheet-to-your-web-page.html#comment'>评论这篇文章</a></b>|关注作者最近动态,欢迎 follow me <a href='https://twitter.com/xjb' target='_blank'>xjb@twitter.com</a>|联络作者：iamxjb@gmail.com<br/>© 2010 守望轩 <a href='http://www.watch-life.net/visual-studio/how-simple-it-is-to-attach-an-existing-style-sheet-to-your-web-page.html'>www.watch-life.net</a>]]></content:encoded>
			<wfw:commentRss>http://www.watch-life.net/visual-studio/how-simple-it-is-to-attach-an-existing-style-sheet-to-your-web-page.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>web developer tips (67):ASP.net MVC的快捷键列表</title>
		<link>http://www.watch-life.net/visual-studio/the-list-of-asp-net-mvc-shortcuts.html</link>
		<comments>http://www.watch-life.net/visual-studio/the-list-of-asp-net-mvc-shortcuts.html#comments</comments>
		<pubDate>Tue, 24 Nov 2009 14:13:09 +0000</pubDate>
		<dc:creator>xjb</dc:creator>
				<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Asp.net]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[web developer tips]]></category>
		<category><![CDATA[快捷键]]></category>

		<guid isPermaLink="false">http://www.watch-life.net/?p=475</guid>
		<description><![CDATA[原文地址： Did you know the list of ASP.Net shortcuts?
 1、添加 Controller -Ctrl-M Ctrl-C
添加示例Controller的对话框，可以很迅速为Asp.net  MVC 应用添加controllers 。右键单击“Controllers&#8217;”或者按快捷键Ctrl-M Ctrl-C可以打开这个对话框。

http://www.watch-life.net/visual-studio/the-list-of-asp-net-mvc-shortcuts.html
2、添加View -Ctrl-M Ctrl-V
在一个Action 方法里或者解决方案管理器单击右键，或者按快捷键 Ctrl-M Ctrl-V,可以打开添加View的对话框， 在Action 方法里用快捷键的方法是最有效的方法。

3、转到View 或转到Controller-Ctrl-M Ctrl-G
添加view和Controller后，你可以通过上下文菜单来转到view或者Controller，也可以按快捷键Ctrl-M Ctrl-G转到view或者Controller。对于Asp.net MVC 的编程是不是很方便。



	你可能也会喜欢以下文章：
	
	html页面表格导出到excel总结 (3)
	web developer tips (65): 快速创建一个挂接SQL表的GridView (0)
	web developer tips (72): 在Windows 7中使用IIS远程管理器 (0)
	web developer tips (69):vs中在浏览器中查看的快捷键 (2)
	创建控件时出错/lm/w3svc/&#8230; 不是一个有效的iis应用程序&#8221; 的解决办法 (0)
	在gridview和datagrid里设置列宽 (2)
	web developer tips (24):显示html/css的警告错误或错误 (0)
	设置VSS2005使支持通过Internet访问（转） (0)


转载请注明作者，出处，以及原始超链接。评论数：0 [...]]]></description>
			<content:encoded><![CDATA[<p>原文地址： <a href="http://blogs.msdn.com/webdevelopertips/archive/2009/05/31/tip-67-did-you-know-the-list-of-asp-net-mvc-shortcuts.aspx" target="_blank">Did you know the list of ASP.Net shortcuts?</a></p>
<p> <strong>1、添加 Controller</strong> -<strong>Ctrl-M Ctrl-C</strong></p>
<p>添加示例Controller的对话框，可以很迅速为<a href="http://www.watch-life.net/category/aspnet" target="_blank">Asp.net</a>  <a href="http://www.watch-life.net/tag/mvc" rel="tag" target="_blank">MVC</a> 应用添加controllers 。右键单击“Controllers&#8217;”或者按快捷键Ctrl-M Ctrl-C可以打开这个对话框。<br />
<IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=AddControllerDialog border=0 alt=AddControllerDialog src="http://blogs.msdn.com/blogfiles/webdevtools/WindowsLiveWriter/OverviewofMVCToolsFeatures_C409/AddControllerDialog_thumb.jpg" width=404 height=177 mce_src="http://blogs.msdn.com/blogfiles/webdevtools/WindowsLiveWriter/OverviewofMVCToolsFeatures_C409/AddControllerDialog_thumb.jpg"></p>
<p><a href="http://www.watch-life.net/visual-studio/the-list-of-asp-net-mvc-shortcuts.html" target="_blank">http://www.watch-life.net/visual-studio/the-list-of-asp-net-mvc-shortcuts.html</a></p>
<p><strong>2、添加View</strong> -<strong>Ctrl-M Ctrl-V</strong><br />
在一个Action 方法里或者解决方案管理器单击右键，或者按快捷键 <strong>Ctrl-M Ctrl-V</strong>,可以打开添加View的对话框， 在Action 方法里用快捷键的方法是最有效的方法。</p>
<p><IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=AddViewDialog border=0 alt=AddViewDialog src="http://blogs.msdn.com/blogfiles/webdevtools/WindowsLiveWriter/OverviewofMVCToolsFeatures_C409/AddViewDialog_thumb.jpg" width=360 height=388 mce_src="http://blogs.msdn.com/blogfiles/webdevtools/WindowsLiveWriter/OverviewofMVCToolsFeatures_C409/AddViewDialog_thumb.jpg"></p>
<p><strong>3、转到View 或转到Controller-Ctrl-M Ctrl-G</strong><br />
添加view和Controller后，你可以通过上下文菜单来转到view或者Controller，也可以按快捷键<strong>Ctrl-M Ctrl-G</strong>转到view或者Controller。对于<a href="http://www.asp.net/(S(l0ewhlne33mwdh55fxjcfm45))/mvc/" target="_blank">Asp.net MVC</a> 的编程是不是很方便。</p>
<p><IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=GoToViewMenu border=0 alt=GoToViewMenu src="http://blogs.msdn.com/blogfiles/webdevtools/WindowsLiveWriter/OverviewofMVCToolsFeatures_C409/GoToViewMenu_thumb.jpg" width=459 height=115 mce_src="http://blogs.msdn.com/blogfiles/webdevtools/WindowsLiveWriter/OverviewofMVCToolsFeatures_C409/GoToViewMenu_thumb.jpg"></p>
<p class="akst_link">
</p>
	<h4>你可能也会喜欢以下文章：</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.watch-life.net/programming-notes/html-table-2-excel.html" title="html页面表格导出到excel总结 (2008-06-23)">html页面表格导出到excel总结</a> (3)</li>
	<li><a href="http://www.watch-life.net/visual-studio/quickly-create-a-gridview-that-is-hooked-up-to-a-sql-table.html" title="web developer tips (65): 快速创建一个挂接SQL表的GridView (2009-11-19)">web developer tips (65): 快速创建一个挂接SQL表的GridView</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/iis-remote-management-for-windows-7.html" title="web developer tips (72): 在Windows 7中使用IIS远程管理器 (2010-01-11)">web developer tips (72): 在Windows 7中使用IIS远程管理器</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/the-keyboard-shortcut-for-view-in-browser.html" title="web developer tips (69):vs中在浏览器中查看的快捷键 (2009-11-27)">web developer tips (69):vs中在浏览器中查看的快捷键</a> (2)</li>
	<li><a href="http://www.watch-life.net/aspnet/iis-contorl-err.html" title="创建控件时出错/lm/w3svc/&#8230; 不是一个有效的iis应用程序&#8221; 的解决办法 (2007-12-13)">创建控件时出错/lm/w3svc/&#8230; 不是一个有效的iis应用程序&#8221; 的解决办法</a> (0)</li>
	<li><a href="http://www.watch-life.net/aspnet/gridview-datagrid-column-width.html" title="在gridview和datagrid里设置列宽 (2008-01-16)">在gridview和datagrid里设置列宽</a> (2)</li>
	<li><a href="http://www.watch-life.net/visual-studio/display-css-html-errors-as-warnings-or-as-errors.html" title="web developer tips (24):显示html/css的警告错误或错误 (2009-07-17)">web developer tips (24):显示html/css的警告错误或错误</a> (0)</li>
	<li><a href="http://www.watch-life.net/vs2005/vss2005-internet-suport.html" title="设置VSS2005使支持通过Internet访问（转） (2007-07-09)">设置VSS2005使支持通过Internet访问（转）</a> (0)</li>
</ul>

转载请注明作者，出处，以及原始超链接。<br />评论数：0 | <b><a href='http://www.watch-life.net/visual-studio/the-list-of-asp-net-mvc-shortcuts.html#comment'>评论这篇文章</a></b>|关注作者最近动态,欢迎 follow me <a href='https://twitter.com/xjb' target='_blank'>xjb@twitter.com</a>|联络作者：iamxjb@gmail.com<br/>© 2010 守望轩 <a href='http://www.watch-life.net/visual-studio/the-list-of-asp-net-mvc-shortcuts.html'>www.watch-life.net</a>]]></content:encoded>
			<wfw:commentRss>http://www.watch-life.net/visual-studio/the-list-of-asp-net-mvc-shortcuts.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>web developer tips (66):输入属性时自动插入引号</title>
		<link>http://www.watch-life.net/visual-studio/insert-quotes-values-automatically-while-typing-the-attrib-values.html</link>
		<comments>http://www.watch-life.net/visual-studio/insert-quotes-values-automatically-while-typing-the-attrib-values.html#comments</comments>
		<pubDate>Thu, 19 Nov 2009 14:50:49 +0000</pubDate>
		<dc:creator>xjb</dc:creator>
				<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Attribute]]></category>
		<category><![CDATA[intellisense]]></category>
		<category><![CDATA[Visual Studio 2008]]></category>
		<category><![CDATA[web developer tips]]></category>
		<category><![CDATA[属性]]></category>
		<category><![CDATA[智能提示]]></category>

		<guid isPermaLink="false">http://www.watch-life.net/?p=474</guid>
		<description><![CDATA[ 原文地址：how to insert quotes values automatically while typing the attrib values?
如果你想在添加属性(attribute )值时自动添加引号，这是很一个很好的节省时间的方法。设置方法如下：
http://www.watch-life.net/visual-studio/insert-quotes-values-automatically-while-typing-the-attrib-values.html
Visual Studio 2008 菜单：工具+选项+文本编辑器+HTML+格式，选中“键入时插入属性值引号”

现在，只要点击属性值的“=”（等号），编辑器将会插入一对引号，并显示属性值的智能能力提示。在智能提示(intellisense)里选择一个值后，光标就会跳出到引号外面。



	你可能也会喜欢以下文章：
	
	Visual Studio 2008 每日提示(二十四) (1)
	web developer tips (22):提高页面和服务器控件加载速度 (0)
	web developer tips (73): IIS搜索引擎优化工具包 (0)
	Visual Studio 2008 每日提示(五) (1)
	web developer tips (65): 快速创建一个挂接SQL表的GridView (0)
	web developer tips (31):利用IIS 7.0的URL Rewrite 模块产生用户友好的URL (0)
	web developer tips (38):如何用请求失败记录追踪重写规则 (0)
	Visual Studio 2008 每日提示(十) (1)


转载请注明作者，出处，以及原始超链接。评论数：0 &#124; 评论这篇文章&#124;关注作者最近动态,欢迎 [...]]]></description>
			<content:encoded><![CDATA[<p> 原文地址：<a href="http://blogs.msdn.com/webdevelopertips/archive/2009/05/29/tip-66-did-you-know-how-to-insert-quotes-values-automatically-while-typing-the-attrib-values.aspx" target="_blank">how to insert quotes values automatically while typing the attrib values?</a></p>
<p>如果你想在添加属性(attribute )值时自动添加引号，这是很一个很好的节省时间的方法。设置方法如下：</p>
<p><a href="http://www.watch-life.net/visual-studio/insert-quotes-values-automatically-while-typing-the-attrib-values.html" target="_blank">http://www.watch-life.net/visual-studio/insert-quotes-values-automatically-while-typing-the-attrib-values.html</a></p>
<p>Visual Studio 2008 菜单：<strong>工具+选项+文本编辑器+HTML+格式</strong>，选中“<strong>键入时插入属性值引号</strong>”</p>
<p><img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip.howtoinsertquotesvaluesautomatically_ED59/image_thumb_2.png" width="548" height="322"></p>
<p>现在，只要点击属性值的“=”（等号），编辑器将会插入一对引号，并显示属性值的智能能力提示。在智能提示(intellisense)里选择一个值后，光标就会跳出到引号外面。</p>
<p><img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip.howtoinsertquotesvaluesautomatically_ED59/image_thumb_4.png" width="455" height="177"></p>
<p class="akst_link">
</p>
	<h4>你可能也会喜欢以下文章：</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-24.html" title="Visual Studio 2008 每日提示(二十四) (2009-01-07)">Visual Studio 2008 每日提示(二十四)</a> (1)</li>
	<li><a href="http://www.watch-life.net/visual-studio/improve-performance-of-page-and-server-control-processing.html" title="web developer tips (22):提高页面和服务器控件加载速度 (2009-07-15)">web developer tips (22):提高页面和服务器控件加载速度</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/iis-search-engine-optimization-seo-toolkit.html" title="web developer tips (73): IIS搜索引擎优化工具包 (2010-01-13)">web developer tips (73): IIS搜索引擎优化工具包</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-5.html" title="Visual Studio 2008 每日提示(五) (2008-12-08)">Visual Studio 2008 每日提示(五)</a> (1)</li>
	<li><a href="http://www.watch-life.net/visual-studio/quickly-create-a-gridview-that-is-hooked-up-to-a-sql-table.html" title="web developer tips (65): 快速创建一个挂接SQL表的GridView (2009-11-19)">web developer tips (65): 快速创建一个挂接SQL表的GridView</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/have-user-friendly-url-using-iis-7-0-url-rewrite-module.html" title="web developer tips (31):利用IIS 7.0的URL Rewrite 模块产生用户友好的URL (2009-07-29)">web developer tips (31):利用IIS 7.0的URL Rewrite 模块产生用户友好的URL</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/use-failed-request-tracing-to-trace-rewrite-rules.html" title="web developer tips (38):如何用请求失败记录追踪重写规则 (2009-08-27)">web developer tips (38):如何用请求失败记录追踪重写规则</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-10.html" title="Visual Studio 2008 每日提示(十) (2008-12-17)">Visual Studio 2008 每日提示(十)</a> (1)</li>
</ul>

转载请注明作者，出处，以及原始超链接。<br />评论数：0 | <b><a href='http://www.watch-life.net/visual-studio/insert-quotes-values-automatically-while-typing-the-attrib-values.html#comment'>评论这篇文章</a></b>|关注作者最近动态,欢迎 follow me <a href='https://twitter.com/xjb' target='_blank'>xjb@twitter.com</a>|联络作者：iamxjb@gmail.com<br/>© 2010 守望轩 <a href='http://www.watch-life.net/visual-studio/insert-quotes-values-automatically-while-typing-the-attrib-values.html'>www.watch-life.net</a>]]></content:encoded>
			<wfw:commentRss>http://www.watch-life.net/visual-studio/insert-quotes-values-automatically-while-typing-the-attrib-values.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>web developer tips (65): 快速创建一个挂接SQL表的GridView</title>
		<link>http://www.watch-life.net/visual-studio/quickly-create-a-gridview-that-is-hooked-up-to-a-sql-table.html</link>
		<comments>http://www.watch-life.net/visual-studio/quickly-create-a-gridview-that-is-hooked-up-to-a-sql-table.html#comments</comments>
		<pubDate>Thu, 19 Nov 2009 02:58:17 +0000</pubDate>
		<dc:creator>xjb</dc:creator>
				<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[datasource]]></category>
		<category><![CDATA[gridview]]></category>
		<category><![CDATA[Server Explorer]]></category>
		<category><![CDATA[web developer tips]]></category>
		<category><![CDATA[数据源]]></category>
		<category><![CDATA[服务器资源管理器]]></category>

		<guid isPermaLink="false">http://www.watch-life.net/?p=473</guid>
		<description><![CDATA[原文链接：How to quickly create a GridView that is hooked up to a SQL table?
通常，在一个页面的GridView绑定数据，是添加一个数据源，再通过一个向导挂接到数据源。这里介绍一个更快捷的方法来创建和挂接到数据源的GridView。
http://www.watch-life.net/visual-studio/quickly-create-a-gridview-that-is-hooked-up-to-a-sql-table.html
1、首先，如果没有数据源（datasource），你需要在服务器资源管理器（Server Explorer）添加一个。
2、完成上面一步，展开你想连接的表的节点，并找到想要挂接GridView的表。

3、最后，拖拽选中的表到webform，就这样，立刻会创建一个挂接你选中的表的GridView，就这简单的三步或更少，是不是很快速。



	你可能也会喜欢以下文章：
	
	web developer tips (33)：在vs2008里创建套嵌母版页 (1)
	web developer tips (42):用IIS配置编辑器生成脚本来更新配置 (0)
	web developer tips (12):在Visual Web Developer里创建IIS虚拟目录 (0)
	web developer tips (53):在vs的设计视图编辑gridview的模板 (0)
	web developer tips (55):多项目解决方案中设置启动项 (0)
	web developer tips (40):定义母版页的作用范围 (0)
	web developer tips (16):变更CSS编辑器的默认格式设置 (0)
	web developer tips (22):提高页面和服务器控件加载速度 (0)


转载请注明作者，出处，以及原始超链接。评论数：0 &#124; 评论这篇文章&#124;关注作者最近动态,欢迎 follow me xjb@twitter.com&#124;联络作者：iamxjb@gmail.com© 2010 [...]]]></description>
			<content:encoded><![CDATA[<p>原文链接：<a href="http://blogs.msdn.com/webdevelopertips/archive/2009/05/27/tip-65-did-you-know-how-to-quickly-create-a-gridview-that-is-hooked-up-to-a-sql-table.aspx" target="_blank">How to quickly create a GridView that is hooked up to a SQL table?</a></p>
<p>通常，在一个页面的<a href="http://www.watch-life.net/tag/GridView" rel="tag" target="_blank">GridView</a>绑定数据，是添加一个数据源，再通过一个向导挂接到数据源。这里介绍一个更快捷的方法来创建和挂接到数据源的GridView。</p>
<p><a href="http://www.watch-life.net/visual-studio/quickly-create-a-gridview-that-is-hooked-up-to-a-sql-table.html" target="_blank">http://www.watch-life.net/visual-studio/quickly-create-a-gridview-that-is-hooked-up-to-a-sql-table.html</a></p>
<p>1、首先，如果没有数据源（datasource），你需要在服务器资源管理器（Server Explorer）添加一个。<br />
2、完成上面一步，展开你想连接的表的节点，并找到想要挂接GridView的表。<br />
<IMG style="BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" border=0 alt=DragDrop src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip.HowtoquicklycreateaGridViewthatishoo_D1BF/DragDrop_thumb.jpg" width=488 height=268 mce_src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip.HowtoquicklycreateaGridViewthatishoo_D1BF/DragDrop_thumb.jpg"><br />
3、最后，拖拽选中的表到webform，就这样，立刻会创建一个挂接你选中的表的GridView，就这简单的三步或更少，是不是很快速。<br />
<IMG style="BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" border=0 alt=DragDropComplete src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip.HowtoquicklycreateaGridViewthatishoo_D1BF/DragDropComplete_thumb.jpg" width=528 height=252 mce_src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip.HowtoquicklycreateaGridViewthatishoo_D1BF/DragDropComplete_thumb.jpg"></p>
<p class="akst_link">
</p>
	<h4>你可能也会喜欢以下文章：</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.watch-life.net/visual-studio/create-nested-master-pages-using-vs-2008.html" title="web developer tips (33)：在vs2008里创建套嵌母版页 (2009-08-11)">web developer tips (33)：在vs2008里创建套嵌母版页</a> (1)</li>
	<li><a href="http://www.watch-life.net/visual-studio/configurationeditor-update-configuration.html" title="web developer tips (42):用IIS配置编辑器生成脚本来更新配置 (2009-09-03)">web developer tips (42):用IIS配置编辑器生成脚本来更新配置</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/create-an-iis-virtual-directory-from-within-visual-web-developer.html" title="web developer tips (12):在Visual Web Developer里创建IIS虚拟目录 (2009-06-26)">web developer tips (12):在Visual Web Developer里创建IIS虚拟目录</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/edit-the-templates-for-gridview-in-vs-designer.html" title="web developer tips (53):在vs的设计视图编辑gridview的模板 (2009-10-12)">web developer tips (53):在vs的设计视图编辑gridview的模板</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/change-start-up-options-and-instances-of-asp-net-development-server-in-a-multi-project-solution.html" title="web developer tips (55):多项目解决方案中设置启动项 (2009-10-28)">web developer tips (55):多项目解决方案中设置启动项</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/know-how-to-scope-master-pages.html" title="web developer tips (40):定义母版页的作用范围 (2009-08-31)">web developer tips (40):定义母版页的作用范围</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/change-the-default-format-settings-for-css-editor.html" title="web developer tips (16):变更CSS编辑器的默认格式设置 (2009-07-06)">web developer tips (16):变更CSS编辑器的默认格式设置</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/improve-performance-of-page-and-server-control-processing.html" title="web developer tips (22):提高页面和服务器控件加载速度 (2009-07-15)">web developer tips (22):提高页面和服务器控件加载速度</a> (0)</li>
</ul>

转载请注明作者，出处，以及原始超链接。<br />评论数：0 | <b><a href='http://www.watch-life.net/visual-studio/quickly-create-a-gridview-that-is-hooked-up-to-a-sql-table.html#comment'>评论这篇文章</a></b>|关注作者最近动态,欢迎 follow me <a href='https://twitter.com/xjb' target='_blank'>xjb@twitter.com</a>|联络作者：iamxjb@gmail.com<br/>© 2010 守望轩 <a href='http://www.watch-life.net/visual-studio/quickly-create-a-gridview-that-is-hooked-up-to-a-sql-table.html'>www.watch-life.net</a>]]></content:encoded>
			<wfw:commentRss>http://www.watch-life.net/visual-studio/quickly-create-a-gridview-that-is-hooked-up-to-a-sql-table.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>web developer tips (64): 在GridView中转换BoundField为TemplateField</title>
		<link>http://www.watch-life.net/visual-studio/convert-a-gridview-column-from-boundfield-to-templatefield.html</link>
		<comments>http://www.watch-life.net/visual-studio/convert-a-gridview-column-from-boundfield-to-templatefield.html#comments</comments>
		<pubDate>Wed, 18 Nov 2009 02:37:29 +0000</pubDate>
		<dc:creator>xjb</dc:creator>
				<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[DetailsView]]></category>
		<category><![CDATA[gridview]]></category>
		<category><![CDATA[web developer tips]]></category>

		<guid isPermaLink="false">http://www.watch-life.net/?p=471</guid>
		<description><![CDATA[原文地址：How to convert a GridView column from asp:BoundField to asp:TemplateField in Design View
假定你有个数据源SqlDataSource1 ，绑定了一个简单的查询语句，返回Customers表的详细信息。
http://www.watch-life.net/visual-studio/convert-a-gridview-column-from-boundfield-to-templatefield.html

&#60;asp:SqlDataSource ID=&#34;SqlDataSource1&#34; runat=&#34;server&#34; 
ConnectionString=&#34;&#60;%$ ConnectionStrings:MyConnectionString %&#62;&#34; 
SelectCommand=&#34;SELECT [FirstName], [LastName], [Email] FROM [Customers] ORDER BY
[FirstName]&#34;&#62;
&#60;/asp:SqlDataSource&#62;

在Visual Studio里，在web forms 页面的设计视图添加一个GridView,选择 SqlDataSource1作为数据源，通常GridView 列会生成 BoundField型数据


&#160;&#60;asp:GridView ID=&#34;GridView1&#34; runat=&#34;server&#34; AutoGenerateColumns=&#34;False&#34;

DataSourceID=&#34;SqlDataSource1&#34;&#62;
&#60;Columns&#62;
&#60;asp:BoundField DataField=&#34;FirstName&#34; HeaderText=&#34;FirstName&#34; 
SortExpression=&#34;FirstName&#34; /&#62;
&#60;asp:BoundField DataField=&#34;LastName&#34; HeaderText=&#34;LastName&#34; 
SortExpression=&#34;LastName&#34; /&#62;
&#60;asp:BoundField DataField=&#34;Email&#34; HeaderText=&#34;Email&#34; SortExpression=&#34;Email&#34; /&#62;
&#60;/Columns&#62;
&#60;/asp:GridView&#62;

通常，你想自定义一列或多列从BoundField转换到TemplateField，这里我们把Email列转换成TemplateField。在GridView的智能标签面板里单击“Edit Columns”。然后在弹出的对话框选择“Email”字段，并单击“Convert this field into a TemplateField”


Email 字段的代码会进行更新，如下所示：

&#60;asp:TemplateField [...]]]></description>
			<content:encoded><![CDATA[<p>原文地址：<a href="http://blogs.msdn.com/webdevelopertips/archive/2009/05/27/tip-64-did-you-know-how-to-convert-a-gridview-column-from-asp-boundfield-to-asp-templatefield-in-design-view.aspx" target="_blank">How to convert a GridView column from asp:BoundField to asp:TemplateField in Design View</a></p>
<p>假定你有个数据源SqlDataSource1 ，绑定了一个简单的查询语句，返回Customers表的详细信息。<br />
<a href="http://www.watch-life.net/visual-studio/convert-a-gridview-column-from-boundfield-to-templatefield.html" target="_blank">http://www.watch-life.net/visual-studio/convert-a-gridview-column-from-boundfield-to-templatefield.html</a></p>
<div class=code>
&lt;asp:SqlDataSource ID=&quot;SqlDataSource1&quot; runat=&quot;server&quot; <br />
ConnectionString=&quot;&lt;%$ ConnectionStrings:MyConnectionString %&gt;&quot; <br />
SelectCommand=&quot;SELECT [FirstName], [LastName], [Email] FROM [Customers] ORDER BY<br />
[FirstName]&quot;&gt;<br />
&lt;/asp:SqlDataSource&gt;
</div>
<p>在<a href="http://www.watch-life.net/tag/visual-studio" target="_blank">Visual Studio</a>里，在web forms 页面的设计视图添加一个<a href="http://www.watch-life.net/tag/GridView" target="_blank">GridView</a>,选择 SqlDataSource1作为数据源，通常GridView 列会生成 BoundField型数据</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="ChooseDataSource" border="0" alt="ChooseDataSource" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip64DidyouknowHowtoconvertaGridViewcolu_8EB0/ChooseDataSource_thumb.jpg" width="484" height="184" /></p>
<div class=code>
&nbsp;&lt;asp:GridView ID=&quot;GridView1&quot; runat=&quot;server&quot; AutoGenerateColumns=&quot;False&quot;<br />
<br />
DataSourceID=&quot;SqlDataSource1&quot;&gt;<br />
&lt;Columns&gt;<br />
&lt;asp:BoundField DataField=&quot;FirstName&quot; HeaderText=&quot;FirstName&quot; <br />
SortExpression=&quot;FirstName&quot; /&gt;<br />
&lt;asp:BoundField DataField=&quot;LastName&quot; HeaderText=&quot;LastName&quot; <br />
SortExpression=&quot;LastName&quot; /&gt;<br />
&lt;asp:BoundField DataField=&quot;Email&quot; HeaderText=&quot;Email&quot; SortExpression=&quot;Email&quot; /&gt;<br />
&lt;/Columns&gt;<br />
&lt;/asp:GridView&gt;
</div>
<p>通常，你想自定义一列或多列从BoundField转换到TemplateField，这里我们把Email列转换成TemplateField。在GridView的智能标签面板里单击“Edit Columns”。然后在弹出的对话框选择“Email”字段，并单击“Convert this field into a TemplateField”</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="EditColumns" border="0" alt="EditColumns" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip64DidyouknowHowtoconvertaGridViewcolu_8EB0/EditColumns_thumb.jpg" width="484" height="281" /></p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="ConvertToTemplateField" border="0" alt="ConvertToTemplateField" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip64DidyouknowHowtoconvertaGridViewcolu_8EB0/ConvertToTemplateField_thumb.jpg" width="484" height="394" /></p>
<p>Email 字段的代码会进行更新，如下所示：</p>
<div class=code>
&lt;asp:TemplateField HeaderText=&quot;Email&quot; SortExpression=&quot;Email&quot;&gt;<br />
&lt;EditItemTemplate&gt;<br />
&lt;asp:TextBox ID=&quot;TextBox1&quot; runat=&quot;server&quot; Text=&#8217;&lt;%# Bind(&quot;Email&quot;) %&gt;&#8217;&gt;&lt;/asp:TextBox&gt;<br />
&lt;/EditItemTemplate&gt;<br />
&lt;ItemTemplate&gt;<br />
&lt;asp:Label ID=&quot;Label1&quot; runat=&quot;server&quot; Text=&#8217;&lt;%# Bind(&quot;Email&quot;) %&gt;&#8217;&gt;&lt;/asp:Label&gt;<br />
&lt;/ItemTemplate&gt;<br />
&lt;/asp:TemplateField&gt;
</div>
<p>对于DetailsView控件，也可以参照类似的方法去做，在DetailsView的智能标签面板选择“Edit Fields”即可。</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="EditFields" border="0" alt="EditFields" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip64DidyouknowHowtoconvertaGridViewcolu_8EB0/EditFields_thumb.jpg" width="484" height="244" /></p>
<p class="akst_link">
</p>
	<h4>你可能也会喜欢以下文章：</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.watch-life.net/visual-studio/improve-performance-of-page-and-server-control-processing.html" title="web developer tips (22):提高页面和服务器控件加载速度 (2009-07-15)">web developer tips (22):提高页面和服务器控件加载速度</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/enable-debugging-of-your-web-site.html" title="web developer tips (14):启动网站调试 (2009-07-02)">web developer tips (14):启动网站调试</a> (1)</li>
	<li><a href="http://www.watch-life.net/visual-studio/know-how-to-scope-master-pages.html" title="web developer tips (40):定义母版页的作用范围 (2009-08-31)">web developer tips (40):定义母版页的作用范围</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/import-export-html-per-tag-options-in-vs.html" title="web developer tips (58):在vs里导入导出每一个HTML的标记 (2009-11-03)">web developer tips (58):在vs里导入导出每一个HTML的标记</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/get-the-browser-agent-using-asp-net-ajax.html" title="web developer tips (13):用ASP.NET Ajax获取浏览器的agent (2009-06-28)">web developer tips (13):用ASP.NET Ajax获取浏览器的agent</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/use-failed-request-tracing-to-trace-rewrite-rules.html" title="web developer tips (38):如何用请求失败记录追踪重写规则 (2009-08-27)">web developer tips (38):如何用请求失败记录追踪重写规则</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/change-start-up-options-and-instances-of-asp-net-development-server-in-a-multi-project-solution.html" title="web developer tips (55):多项目解决方案中设置启动项 (2009-10-28)">web developer tips (55):多项目解决方案中设置启动项</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/split-view-could-be-set-vertically.html" title="web developer tips (3):设置垂直拆分视图 (2009-06-04)">web developer tips (3):设置垂直拆分视图</a> (1)</li>
</ul>

转载请注明作者，出处，以及原始超链接。<br />评论数：0 | <b><a href='http://www.watch-life.net/visual-studio/convert-a-gridview-column-from-boundfield-to-templatefield.html#comment'>评论这篇文章</a></b>|关注作者最近动态,欢迎 follow me <a href='https://twitter.com/xjb' target='_blank'>xjb@twitter.com</a>|联络作者：iamxjb@gmail.com<br/>© 2010 守望轩 <a href='http://www.watch-life.net/visual-studio/convert-a-gridview-column-from-boundfield-to-templatefield.html'>www.watch-life.net</a>]]></content:encoded>
			<wfw:commentRss>http://www.watch-life.net/visual-studio/convert-a-gridview-column-from-boundfield-to-templatefield.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
