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

推荐订阅源

S
SegmentFault 最新的问题
Spread Privacy
Spread Privacy
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
Blog — PlanetScale
Blog — PlanetScale
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Apple Machine Learning Research
Apple Machine Learning Research
SecWiki News
SecWiki News
腾讯CDC
P
Privacy International News Feed
Webroot Blog
Webroot Blog
J
Java Code Geeks
爱范儿
爱范儿
A
About on SuperTechFans
S
Secure Thoughts
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
D
DataBreaches.Net
Cloudbric
Cloudbric
Security Archives - TechRepublic
Security Archives - TechRepublic
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
C
Cyber Attacks, Cyber Crime and Cyber Security
P
Proofpoint News Feed
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Security Latest
Security Latest
Forbes - Security
Forbes - Security
小众软件
小众软件
www.infosecurity-magazine.com
www.infosecurity-magazine.com
C
Cybersecurity and Infrastructure Security Agency CISA
T
Threatpost
量子位
MongoDB | Blog
MongoDB | Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
月光博客
月光博客
W
WeLiveSecurity
P
Privacy & Cybersecurity Law Blog
Vercel News
Vercel News
Google Online Security Blog
Google Online Security Blog
云风的 BLOG
云风的 BLOG
GbyAI
GbyAI
S
Security @ Cisco Blogs
T
The Exploit Database - CXSecurity.com
Help Net Security
Help Net Security
V
Visual Studio Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
Application and Cybersecurity Blog
Application and Cybersecurity Blog
博客园 - 聂微东
P
Proofpoint News Feed
C
CERT Recently Published Vulnerability Notes
Attack and Defense Labs
Attack and Defense Labs

博客园 - Laoxu2004

HTC T328W 刷机后,WLAN、蓝牙无法使用的解决方法[亲测有效] [转]2012版的Mac Air安装Windows7 注意事项及安装方法 [转]XPSp3+IIS5.1+SQLServer2005Express的ASP平台搭建要点 Win7无线共享上网 windows服务器您试图从目录中执行CGI、ISAPI 或其他可执行程序,但该目录不允许执行程序。 '800a0005' 图片上传出现写入文件失败的错误 -- 修改pload_5xsoft.inc 使用ISA Server、DHCP、DNS、Windows Server 2003 Active Directory的综合解决方案,达到让指定的用户、在指定的时间、以指定的流量、访问指定的网络 关注企业数据安全 十招防数据泄露 XP提示hal.dll丢失的错误的解决方法 WinXP 找回桌面丢失的IE图标(非IE快捷方式) 苏州办公自动化模拟题目(3套题目) 江苏职称考试(MIS)中级 用户中心 - 博客园 [理论整理]CAD中级理论题目 如果后台不知道数据库密码的请打开数据库用469e80d32c0559f8 替换,那么密码就是admin888 计算机组装与维护考核题目:在线DIY配机 实训课教案二:计算机软件安装初步 [通告] 职称计算机准考证领取通知 [通告]3月3日~3月4日的培训
2012.3.26-3.31 ASP.NET
Laoxu2004 · 2012-03-26 · via 博客园 - Laoxu2004

一、2012.3.26PM

1、Web程序设计概述(ASP.NET基础)

(1)任务1:熟悉VS2008,创建第一个新网站

重点:掌握VS开发环境、熟悉工具栏中Web标准控件与Html控件的差异、熟悉页面的基本结构、理解代码分离及代码嵌入方法

注意:代码页中:AutoEventWireup属性

  • AutoEventWireup为false时:Page_Load不执行;为True时,执行2次;如何只执行1次:

    在Page_Load方法中,将你想要执行一次的代码放入下面的代码中
    protected void Page_Load (object sender, EventArgs e)
    {
    if (! IsPostBack)
    {
    //你想执行一次的代码
    }
    }    

(2)任务2:问候语案例

重点:IF判断、发布网站、虚拟目录及应用程序的概念

问题1:发布到IIS后,浏览出现“访问IIS元数据库...”或“服务器应用程序不可用”;

原因:先安装vs再安装IIS组件而出现的问题。

解决方法:C:\WINDOWS\MICROSOFT.NET\FRAMEWORK\V2.0.50727下运行ASPNET_REGIIS.EXE -I 即可。

2、C#语言基础

(1)任务1:加法器案例

重点:浮点数float.Parse()、字符串格式化输出 .ToString("#0.00")、控件焦点、错误处理try{} catch{}

(2)任务2:身份证号码识别器

重点:System.Text.ASCIIEncoding    命名控件 构造函数;数组 byte[] byteStr=asc.GetBytes(...);for each(byte C in byteStr);ASCII编码(0~9 即48~57)

注意:如果采用直接调用类库名的方法,如:

¨ASCIIEncoding ascii = new ASCIIEncoding();

¨是否会出现问题,如何解决?解决方法:通过using System.Text 调用该命名空间在类库。如果只是出现一次,建议采用直接调用类库名在方法。