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

asp.net Web.config ÏêϸÅäÖÃ˵Ã÷

asp.net¿ª·¢µÄÅóÓÑ£¬¾­³£Óõõ½web.configÎļþµÄÅäÖã¬ËùÒÔÎÒÃÇÌØÕûÀíÁËÖÐÎÄ˵Ã÷¡£
<?xml version="1.0" standalone="yes"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<!--ÅäÖÃÈ«¾Ö±äÁ¿-->
<appSettings>
<add key="examstr" value="server=.;database=myweb_exam_db;uid=exam_login;pwd=xxd_examadmin"/>
</appSettings>
<!--ÅäÖÃÈ«¾Ö±äÁ¿-->
<!--ÍøÕ¾ÏµÍ³ÅäÖÃ-->
<system.web>
<!--ÉÏ´«ÎļþʱÌáʾ·ÃÎʱ»¾Ü¾ø,Éú³ÉͼƬÎļþµÈʧ°ÜÎļþ¼ÐûÓиÄдȨÏÞ-->
<identity impersonate="true"/>
<!--ÔÚ¿Í»§¶ËÏÔʾ´íÎóÐÅÏ¢-->
<customErrors mode="Off" />
<!--ÔÊÐíÄäÃû·ÃÎÊ-->
<authorization>
<allow users="*" />
</authorization>
<!--ÆôÓøú×ÙÒ³Ãæ-->
<trace enabled="true" requestLimit="1000" pageOutput="true" traceMode="SortByTime" localOnly="true" />
<!--·ÀÖ¹ÍøÒ³ÂÒÂë-->
<globalization requestEncoding="gb2312" responseEncoding="gb2312" culture="zh-CN" fileEncoding="gb2312"/>
<!--ÓÐÁ½¸öformʱ£¬Óô°ÌåÌύʱÅäÖÃ-->
<pages validateRequest="false" enableSessionState="true" enableViewState="true" enableEventValidation="false"/>
<!--ÉèÖÃÉÏ´«Îļþ´óС-->
<httpRuntime executionTimeout="300" maxRequestLength="102400" useFullyQualifiedRedirectUrl="false"/>
</system.web>
<!--ÍøÕ¾ÏµÍ³ÅäÖÃ-->
</configuration>
Ïêϸ³ö´¦²Î¿¼£ºhttp://www.jb51.net/article/18628.htm


Ïà¹ØÎĵµ£º

Asp.net ¶Ô·¾¶¡°***¡±µÄ·ÃÎʱ»¾Ü¾ø

Asp.netÍøÕ¾·¢²¼µ½IISÉÏ£¬²Ù×÷ÎļþµÄʱºò·¢Éú‘System.UnauthorizedAccessException:¶Ô·¾¶“***”µÄ·ÃÎʱ»¾Ü¾ø’¡£
˵Ã÷ûÓÐÊÚÓèAsp.net¶ÔÎļþµÄд·ÃÎÊȨ£¬ÍøÉÏÕÒÁËÒ»ÏÂ:
ÈôÒªÊÚÓè ASP.NET ¶ÔÎļþµÄд·ÃÎÊȨ£¬ÇëÔÚ×ÊÔ´¹ÜÀíÆ÷ÖÐÓÒ»÷¸ÃÎļþ£¬Ñ¡Ôñ“ÊôÐÔ”£¬È»ºóÑ¡Ôñ“°²È«”Ñ¡Ïî¿ ......

ASP.NETÖÐExcel²Ù×÷ÀàC#°æ

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 Microsoft.Office.Inter ......

Asp.net ʹÓÃ×ÊÔ´ÎļþʵÏÖË«ÓïÑÔ

¹«Ë¾½»¸øÎÒ¸öÏîÄ¿£¬ÒѾ­Íê³ÉÁËÒ»²¿·Ö£¬ÐèÒª×öÖÐÓ¢ÎÄË«ÓïÑÔ£¬ÒÔǰÌý±ðÈË˵³ÌÐò¶àÓïÑÔʲôµÄ£¬¶¼²»ÖªµÀ´ÓÄÄÏÂÊֵá£ÏîÄ¿¼Ü¹¹ÒѾ­´îºÃÁË£¬´ó¸Å¿´ÁËһϣ¬ÖªµÀÊÇʹÓÃ×ÊÔ´ÎļþÀ´ÊµÏֵ쬲»ËµÁË£¬¸Ï½ô×Ô¼ºÊÔÊÔ°É¡£ÊÔÁ˲Żá¼Çס£¬²ÅÊÇ×Ô¼ºµÄO(∩_∩)O~
 
1. н¨Asp.net WebÓ¦ÓóÌÐòChangeLanuage£¬Ð½¨aspxÒ³ÃæDefau ......

asp.net ת»»ÈËÃñ±Ò´óС½ð¶î


using System;
using System.Collections.Generic;
using System.Text;
namespace Common
{
/// <summary>
/// ת»»ÈËÃñ±Ò´óС½ð¶î¡£
/// </summary>
public class Rmb
{
/// <summary>
/// ת»»ÈËÃñ±Ò´óС½ð¶î
/// </summary>
/// <param name="num">½ð¶î</ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ