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

推荐订阅源

T
The Blog of Author Tim Ferriss
S
Schneier on Security
H
Help Net Security
aimingoo的专栏
aimingoo的专栏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
MongoDB | Blog
MongoDB | Blog
云风的 BLOG
云风的 BLOG
H
Hacker News: Front Page
C
Check Point Blog
P
Privacy International News Feed
IT之家
IT之家
爱范儿
爱范儿
AWS News Blog
AWS News Blog
The Hacker News
The Hacker News
Stack Overflow Blog
Stack Overflow Blog
Project Zero
Project Zero
Microsoft Azure Blog
Microsoft Azure Blog
量子位
The Cloudflare Blog
P
Proofpoint News Feed
Hugging Face - Blog
Hugging Face - Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
C
Cybersecurity and Infrastructure Security Agency CISA
I
Intezer
Martin Fowler
Martin Fowler
Scott Helme
Scott Helme
酷 壳 – CoolShell
酷 壳 – CoolShell
A
Arctic Wolf
T
Threat Research - Cisco Blogs
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
The Exploit Database - CXSecurity.com
B
Blog
Simon Willison's Weblog
Simon Willison's Weblog
U
Unit 42
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Microsoft Security Blog
Microsoft Security Blog
博客园_首页
J
Java Code Geeks
K
Kaspersky official blog
Webroot Blog
Webroot Blog
C
CERT Recently Published Vulnerability Notes
H
Heimdal Security Blog
G
Google Developers Blog
T
Tor Project blog
W
WeLiveSecurity
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Blog — PlanetScale
Blog — PlanetScale
小众软件
小众软件
有赞技术团队
有赞技术团队

博客园 - laue

个人网站地址 在VS 2008中使用非托管DLL以及DEP whatwhat的安装 - laue - 博客园 用WordPress架设的一个blog Windows Update的存放文件夹 在windows 2003中使用PI Activeview 转贴 WOW的采药,炼金及相关 使用C#进行基于PI的开发(三)——应用PISDK和PIAPI从PI数据库读取数据 使用C#进行基于PI的开发(二)--常用对象的学习 使用C#进行基于PI的开发(一) demo 推荐一个Web 2.0 的个人门户网站 google 发布 Google Web Toolkit 远程桌面连接windows 2000 得到数据库中某表的主键 PetShop 4.0 学习笔记(一) Transact SQL 常用语句以及函数(转) sqlparameter的使用 常用下载地址收藏
asp.net NOTE
laue · 2006-03-17 · via 博客园 - laue

方便自己以后的查看

1、vs.net 2005中web.config智能感知丢失时 
        在vs.net 2005的web.config中,已经比vs.net 2003的智能感知有了很大的改进了,可以在web.config的编辑状态下提供智能感知了。但遇到一个问题,那就是当使用website->aspnet configuration进行对当前应用的设置进行配置时,系统会自动更改web.config的内容,同时改变后,web.config功能就会丢失智能感知的功能了。原因是什么了?我查阅了下资料,发现原来这个情况下,系统自动将原来的
<configuration>变为<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
        所以丢失了智能感知,当然,为了智能感知,你可以把它改回<configuration>,并不影响运行,
        更彻底的方法是,修改c:\winnt\Microsoft.NET\Framework\v2.0.50727\ASP.NETWebAdminFiles\app_code\WebAdminPage.cs 文件,将第93行的config.NamespaceDeclared = true;注释掉,改为 config.NamespaceDeclared = false;
        这样,就可以确保彻底解决改问题了

1、

Gridview中的一个BUG?
        先看这段代码:

    protected void gvShoppingCart_RowCommand(object sender, GridViewCommandEventArgs e)
    
{
        
int iRowIndex =
 Convert.ToInt32(e.CommandArgument);
        
switch
 (e.CommandName.ToString())
        
{
            
case "delete"
:
                Profile.ShoppingCart.Remove(Int32.Parse(gvShoppingCart.DataKeys[iRowIndex
-1
].Value.ToString()));
                
break
;
            
default
:
                
break
;
        }

        Profile.Save();
        BindShoppingCart();
    }

    
protected void gvShoppingCart_RowDeleting(object sender, GridViewDeleteEventArgs e)
    
{

    }


        在aspx页面中没有RowDeleing事件和后台也没有相应处理函数的时候,运行时会提示rowdeleting事件没有处理,必须这样加上才行,不解中。那么为什么其他时间不需要这样写?