易截截图软件、单文件、免安装、纯绿色、仅160KB

ASP.NET网站开发小结

1.<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
Vs2005红色了,提示找不到该文件
于是改为.<script src="/Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
结果红色没有了,但是编译时报错,找不到该文件
结论:<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>虽然是红色,但是编译能通过


相关文档:

ASP.NET中String.IndexOf 方法的使用

String.IndexOf 方法 (value, [startIndex], [count])
  报告指定字符在此实例中的第一个匹配项的索引。搜索从指定字符位置开始,并检查指定数量的字符位置。
  参数
  value
  要查找的 Unicode 字符。 对 value 的搜索区分大小写。
  startIndex(Int32)
  可选项,搜索起始位置。不设置则从0开始。
......

ASP.net+AJAX 弹出新窗口代码

ScriptManager.RegisterStartupScript(p1, this.GetType(), "click", "alert('ok')", true);//p1是updatepanel的id
ScriptManager.RegisterStartupScript(p1, this.GetType(), "click", "alert('ok')", true);//p1是updatepanel的id
......

Asp.Net XML操作基类

using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.IO;
using System.Xml;
using System.Text; ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号