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

推荐订阅源

雷峰网
雷峰网
V
Visual Studio Blog
NISL@THU
NISL@THU
S
Security Affairs
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
大猫的无限游戏
大猫的无限游戏
Microsoft Security Blog
Microsoft Security Blog
云风的 BLOG
云风的 BLOG
The Register - Security
The Register - Security
博客园_首页
月光博客
月光博客
aimingoo的专栏
aimingoo的专栏
I
InfoQ
Spread Privacy
Spread Privacy
P
Proofpoint News Feed
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
爱范儿
爱范儿
T
Tor Project blog
有赞技术团队
有赞技术团队
美团技术团队
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Hacker News: Ask HN
Hacker News: Ask HN
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
Google Online Security Blog
Google Online Security Blog
Vercel News
Vercel News
Webroot Blog
Webroot Blog
S
Security @ Cisco Blogs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Application and Cybersecurity Blog
Application and Cybersecurity Blog
D
DataBreaches.Net
J
Java Code Geeks
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
腾讯CDC
博客园 - 司徒正美
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Security Archives - TechRepublic
Security Archives - TechRepublic
G
Google Developers Blog
The GitHub Blog
The GitHub Blog
小众软件
小众软件
www.infosecurity-magazine.com
www.infosecurity-magazine.com
N
News and Events Feed by Topic
Forbes - Security
Forbes - Security
T
Troy Hunt's Blog
C
Check Point Blog
D
Docker
Latest news
Latest news
Martin Fowler
Martin Fowler
T
Tenable Blog

博客园 - 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事件没有处理,必须这样加上才行,不解中。那么为什么其他时间不需要这样写?