惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
SegmentFault 最新的问题
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
博客园 - 【当耐特】
月光博客
月光博客
Vercel News
Vercel News
D
Docker
I
InfoQ
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 叶小钗
MongoDB | Blog
MongoDB | Blog
GbyAI
GbyAI
有赞技术团队
有赞技术团队
雷峰网
雷峰网
博客园 - 聂微东
小众软件
小众软件
Y
Y Combinator Blog
腾讯CDC
L
LangChain Blog
The GitHub Blog
The GitHub Blog
宝玉的分享
宝玉的分享
Stack Overflow Blog
Stack Overflow Blog
大猫的无限游戏
大猫的无限游戏
T
The Blog of Author Tim Ferriss

博客园 - charleschen

System.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabas 伤别离[转] --为了文渊阁的朋友们 和我们过去的青春 开始稳定,准备补文章 缓存!缓存!缓存!!!(一) 现有Java开源BI前端框架简介 使用Logview4net观察各种日志类文件 阅读的乐趣 我们是否需要ORM(3)--上帝说 我们是否需要ORM(3)--ORM优势和缺点, ORM为何而生,ORM与DB Helper Library 我们是否需要ORM(2)--ORM的不足 我们是否需要ORM(1)--前篇 写在"大型软件开发与ORM构架"之后----大型软件开发与企业级应用软件开发名份之争 大型软件开发与ORM构架 回归命令行 SQLServer的命令行工具们(2) – sqlcmd.exe(中篇) 受不了要吐鸟。。。。 回归命令行 SQLServer的命令行工具们(2) – sqlcmd.exe(上篇) 回归命令行 SQLServer的命令行工具们(1) --dta.exe 程序员喝酒喝出的计算机文化 使用ADO.NET2.0提升数据交互性能(5)
悬赏!!!VS2005的Bug还是什么别的东东
charleschen · 2007-01-05 · via 博客园 - charleschen

下面这一段代码在我的机器上很诡异,
btnSelectState 这个东东,一旦我使用CTRL-K,CTRL-D快捷键(Format Document)后,第二个btnSelectState 就会自动变成btnselectstate
而第一个不变。晕倒,在别人的机器上试了一下也是。

使用的是Microsoft Visual Studio 2005 Team Edition for Software Developers,郁闷至极。。

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
        </div>
        <% =btnSelectState %>
      
        <input style='<% =btnSelectState %>' id="btnSelect" type="button" value="选 择" /><br />
    </form>
</body>
</html>

using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class _Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    public string btnSelectState
    {
        get
        {
            return "Hello!";
        }
    }
}