作业帮 > ASP > 教育资讯

asp学习教程:ASP转到ASP.NET的过程

来源:学生作业帮助网 编辑:作业帮 时间:2024/03/29 07:29:30 ASP
asp学习教程:ASP转到ASP.NET的过程
asp学习教程:ASP转到ASP.NET的过程ASP
【51Test.NET-asp学习教程:ASP转到ASP.NET的过程】:

做了2年多asp。09打算转向.NET先将学习过程中遇到的问题和解决的办法写出来提醒自己和后来者少走弯路

   1、Q:请问在asp中路径中   "~"   波浪号表示什么含义? 
   A:是你的虚拟目录的根 .
   比如你的虚拟目录是http://localhost/web  那么   ~/aaa/index.html   就  是 http://localhost/web/aaa/index.html  
  参考:http://topic.csdn/t/20060309/13/4603073.html
  关键字:asp 路径 波浪 
  引擎:Google
2 使用c#给服务器控件的客户端事件绑定JS处理程序的方法?

 wctl.Attributes.Add("onfocus", string.Format("this.className = '{0}';", className));

编程html后的代码为;

onfocus="this.className='className'"

18:11 2009-3-1:使用C#代码读取web.config文件中的配置节

demo:

 
     providerName="System.Data.SqlClient" />
 

1 引用using System.Web.Configuration命名空间

2 string connectionString 

ASP