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

推荐订阅源

The Cloudflare Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
人人都是产品经理
人人都是产品经理
C
Check Point Blog
有赞技术团队
有赞技术团队
H
Help Net Security
V
Vulnerabilities – Threatpost
N
News | PayPal Newsroom
Hacker News - Newest:
Hacker News - Newest: "LLM"
L
LINUX DO - 最新话题
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 【当耐特】
爱范儿
爱范儿
I
InfoQ
V
Visual Studio Blog
O
OpenAI News
Google DeepMind News
Google DeepMind News
S
Security Affairs
T
Troy Hunt's Blog
P
Palo Alto Networks Blog
Spread Privacy
Spread Privacy
Engineering at Meta
Engineering at Meta
雷峰网
雷峰网
N
Netflix TechBlog - Medium
Latest news
Latest news
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Webroot Blog
Webroot Blog
S
Schneier on Security
MongoDB | Blog
MongoDB | Blog
T
Tor Project blog
V2EX - 技术
V2EX - 技术
Security Latest
Security Latest
Cloudbric
Cloudbric
The GitHub Blog
The GitHub Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
B
Blog RSS Feed
C
CERT Recently Published Vulnerability Notes
T
The Exploit Database - CXSecurity.com
P
Privacy International News Feed
S
Securelist
C
Cisco Blogs
博客园_首页
TaoSecurity Blog
TaoSecurity Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Security Archives - TechRepublic
Security Archives - TechRepublic
P
Proofpoint News Feed
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
T
Threat Research - Cisco Blogs
阮一峰的网络日志
阮一峰的网络日志
S
Secure Thoughts

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