Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

asp.net¼¸¸öÊÇÓú¯Êý


/// <summary>
  
/// µÃµ½Õ¾µãÓû§IP
  
/// </summary>
  
/// <returns></returns>
  
public
 
static
 
string
 getUserIP()   
{   
    
return
 HttpContext.Current.Request.ServerVariables[
"REMOTE_ADDR"
].ToString();   
}   
  
/// <summary>
  
/// È¥³ý×Ö·û´®×îºóÒ»¸ö','ºÅ
  
/// </summary>
  
/// <param name="chr">:Òª×ö´¦ÀíµÄ×Ö·û´®</param>
  
/// <returns>·µ»ØÒÑ´¦ÀíµÄ×Ö·û´®</returns>
  
public
 
static
 
string
 Lost(
string
 chr)   
{   
    
if
 (chr == 
null
 || chr == 
string
.Empty)   
    {   
        
return
 
""
;   
    }   
    
else
  
    {   
        chr = chr.Remove(chr.LastIndexOf(
","
));   
        
return
 chr;   
    }   
}   
  
/// <summary>
  
/// È¥³ý×Ö·û´®µÚÒ»¸ö'/'ºÅ
  
/// </summary>
  
/// <param name="chr">Òª×ö´¦ÀíµÄ×Ö·û´®</param>
  
/// <returns>·µ»ØÒÑ´¦ÀíµÄ×Ö·û´®</returns>
  
public
 
static
 
string
 lostfirst(
string
 chr)   
{   
    
string
 flg = 
""
;  &nb


Ïà¹ØÎĵµ£º

Ò»¸ö¼òµ¥µÄASP.NET +ACCESS µÇ¼

Ê×Ò³£º
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head ......

ASP.NET 2.0Á¬½ÓOracle 10g

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.Data.OracleClient;//ÒýÈëÃüÃû¿Õ¼ä ......

ASP.NETÅäÖÃOracleµÄÏà¹Ø˵Ã÷

²        Oracle9iµÄ°²×°£¬Çë²ÎÕÕ¹Ù·½µÄ°²×°ËµÃ÷¡£
²        Oracle9i°²×°³É¹¦ÒÔºó£¬Ê¹ÓùÜÀíÔ±£¨Óû§Ãû£ºsys¡¢ÃÜÂ룺sys£©µÄÉí·ÝµÇ¼½øÈ¥£¬´´½¨Ò»¸öÓû§ddymis£¬ÃÜÂ룺ddymis,½ÇɫĬÈϸ³Óèdba¡£
²      ......

ASP.NET MVCµÄÇëÇóÉúÃüÖÜÆÚ

ÉúÃüÖÜÆÚ²½Öè¸ÅÀÀ
µ±ÎÒÃǶÔASP.NET MVCÍøÕ¾·¢³öÒ»¸öÇëÇóµÄʱºò£¬»á·¢Éú5¸öÖ÷Òª²½Ö裺
²½Öè1£º´´½¨RouteTable
µ±ASP.NETÓ¦ÓóÌÐòµÚÒ»´ÎÆô¶¯µÄʱºò²Å»á·¢ÉúµÚÒ»²½¡£RouteTable°ÑURLÓ³Éäµ½Handler¡£
²½Öè2£ºUrlRoutingModuleÀ¹½ØÇëÇó
µÚ¶þ²½ÔÚÎÒÃÇ·¢ÆðÇëÇóµÄʱºò·¢Éú¡£UrlRoutingModuleÀ¹½ØÁËÿһ¸öÇëÇó²¢ÇÒ´´½¨ºÍÖ´ÐкÏÊ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ