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

asp.net 获得路径

测试的url地址是http://www.test.com/testweb/default.aspx,   结果如下:  
  Request.ApplicationPath:   /testweb  
  Request.CurrentExecutionFilePath:   /testweb/default.aspx  
  Request.FilePath:   /testweb/default.aspx  
  Request.Path:   /testweb/default.aspx  
  Request.PathInfo:    
  Request.PhysicalApplicationPath:   E:\WWW\testweb\  
  Request.PhysicalPath:   E:\WWW\testweb\default.aspx  
  Request.RawUrl:   /testweb/default.aspx  
  Request.Url.AbsolutePath:   /testweb/default.aspx  
  Request.Url.AbsoluteUri:   http://www.test.com/testweb/default.aspx  
  Request.Url.Host:   www.test.com  
  Request.Url.LocalPath:   /testweb/default.aspx


相关文档:

asp.net运行原理

主要类:
  System.Web.HttpRuntime
  System.Web.HttpApplicationFactory
  System.Web.HttpApplication
  System.Web.Compilation.BuildManager
  System.Web.Compilation.ApplicationBuildProvider
  System.Web.Compilation.BuildProvidersCompiler
  System.Web.UI.PageHandlerFactory
  请求 ......

asp.net DateTime 时间函数

1、DateTime     数字型   
    System.DateTime currentTime=new System.DateTime();   
    1.1 取当前年月日时分秒   
    currentTime=System.DateTime.Now;   
  & ......

ASP.NET页面刷新方法总结

先看看ASP.NET页面刷新的实现方法:
第一:
C# code
private void Button1_Click( object sender, System.EventArgs e )
{
Response.Redirect( Request.Url.ToString( ) );
}
第二:
C# code
private void Button2_Click( object sender, System.EventArgs e )
{
Response.Write( " < script lang ......

ASP.NET播放视频文件

///C#中的媒体播放类
using System;
namespace ConfigTools
{
/// <summary>
/// PlayClass 的摘要说明。
///原作CSDN,经本人稍加修改
/// </summary>
public class PlayClass
{
public PlayClass()
{
......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号