用了.net2.0,再用1.1的问题。1.1里修改.cs文件不重新编译,.dll不重新生成。
摘要:首先,你已经说明了条件,就是“VS.net 做的Asp.net程序”。 那么,发布的时候,所有的aspx后面的.cs文件已经不需要了,就是仅需要发布: .aspx文件 html需要的各种.js,.css,图片文件等 还有就是bin目录下的程序集文件了。 大概贴主不明白vs.net编写的asp.net,以为xxx.aspx.cs这样的后台代码文件仍...
阅读全文
posted @
2007-04-05 16:07
微星
阅读(410)
推荐(0) 编辑
上传实例
摘要:updata.aspx updata HyperLink updata.aspx.cs using System;using System.Collections;using Syste...
阅读全文
posted @
2007-04-04 13:41
微星
阅读(609)
推荐(0) 编辑
ASP.NET中上传文件
摘要://检查上传文件不为空 if(File1.PostedFile!=null) { string nam = File1.PostedFile.FileName ; //取得文件名(抱括路径)里最后一个"."的索引 int i= nam.LastIndexOf("."); //取得文件扩展名 string newext =nam.Substring(i...
阅读全文
posted @
2007-04-04 12:36
微星
阅读(161)
推荐(0) 编辑
用JS如何獲得DropDownList所選Text和Value?
摘要:Textdocument.getElementById("DropDownListClientID").options[document.getElementById("DropDownListClientID").selectedIndex].textValuedocument.getElementById("DropDownListClientID").value
阅读全文
posted @
2007-04-03 10:11
微星
阅读(536)
推荐(0) 编辑