ASP.NETÒ³Ãæ¶ÔÏó
»ñÈ¡ÇëÇóµÄÒ³µÄ HttpRequest ¶ÔÏó¡£
Ò»¡¢HttpRequest Àà
ʹ ASP.NET Äܹ»¶ÁÈ¡¿Í»§¶ËÔÚ Web ÇëÇóÆÚ¼ä·¢Ë굀 HTTP Öµ¡£
ÏÂÃæµÄ´úÂëʾÀýʹÓà StreamWriter ÀཫÈô¸É HttpRequest ÀàÊôÐÔÖµµÄֵдÈëÎļþ¡£¶ÔÓÚÊÇ×Ö·û´®ÀàÐ͵ÄÊôÐÔ£¬ÊôÐÔÖµ±»Ð´ÈëÎļþʱ½«±»±àÂëΪ HTML¡£±íʾ¼¯ºÏµÄÊôÐԻᱻÒÀ´Îͨ¹ý£¬¶øÕâЩÊôÐÔ°üº¬µÄ¸÷¸ö¼ü/Öµ¶Ô¶¼»á±»Ð´Èë¸ÃÎļþ¡£
<%@ Page Language="C#" %>
<%@ import Namespace="System.Threading" %>
<%@ import Namespace="System.IO" %>
<script runat="server">
/* NOTE: To use this sample, create a c:\temp\CS folder,
* add the ASP.NET account (in IIS 5.x <machinename>\ASPNET,
* in IIS 6.x NETWORK SERVICE), and give it write permissions
* to the folder.*/
private const string INFO_DIR = @"c:\temp\CS\RequestDetails";
public static int requestCount;
private void Page_Load(object sender, System.EventArgs e)
{
// Create a variable to use when iterating
// through the UserLanguages property.
int langCount;
int requestNumber = Interlocked.Increment(ref requestCount);
// Create the file to contain information about the request.
string strFilePath = INFO_DIR + requestNumber.ToString() + @".txt";
StreamWriter sw = File.CreateText(strFilePath);
try
{
// Write request information to the file with HTML encoding.
&nbs
Ïà¹ØÎĵµ£º
1¡¢ÓÉdatasetÉú³É
public void CreateExcel(DataSet ds,string typeid,string FileName)
{
HttpResponse resp;
resp = Page.Response;
resp.ContentEncoding = System.Text.Encoding.GetEncoding("GB2312");
resp.AppendHeader("Conte ......
ÓÉÓÚÏîÄ¿ÐèÒªÒ»¸öÂÛ̳£¬±¾À´ÓÐCSµÄ£¬ÔÚ.netϺܳöÃûµÄ¹úÍ⿪ԴÂÛ̳¡£µ«ÎªÁËÊÊÓ¦¹úÄÚµÄ·çÆø£¬×îºóÑ¡ÓÃÔÚ¹úÄÚÈçÈÕÖÐÌìµÄDiscuz!NT¡£
½«DiscuzÓëasp.net¿ª·¢µÄÍøÕ¾ÕûºÏ£¬ÓкܶàÈËÒѾÍê³ÉÁË¡£
µ«ÔÚÍøÉÏûÓÐÕÒµ½½ÏÏêϸµÄÃèÊö¡£·½·¨µ¹ÊÇÓкܶàÖÖ¡£
ÔÚÏîÄ¿ÖÐ×¢²áÐÂÓû§Ê±£¬Ò²Í¬Ê±µ÷ÓÃÂÛ̳µÄÓû§×¢²á£¬ÕâÑù¾Íͬ²½×¢²áÁË¡£ÖÁÓÚɾ ......
Request¶ÔÏó¹¦ÄÜÊÇ´Ó¿Í»§¶ËµÃµ½Êý¾Ý£¬³£ÓõÄÈýÖÖÈ¡µÃÊý¾ÝµÄ·½·¨ÊÇ£ºRequest.Form¡¢Request.QueryString£¬Request¡£ÆäµÚÈýÖÖÊÇǰÁ½ÖÖµÄÒ»¸öËõд£¬¿ÉÒÔÈ¡´úǰÁ½ÖÖÇé¿ö¡£¶øÇ°Á½ÖÖÖ÷Òª¶ÔÓ¦µÄFormÌύʱµÄÁ½ÖÖ²»Í¬µÄÌá½»·½·¨£º·Ö±ðÊÇPost·½·¨ºÍGet·½·¨¡£
Request ¶ÔÏóµÄÊôÐԺͷ½·¨± ......
FCKeditor½éÉÜ
¡¡¡¡FCKeditorÊÇÒ»¸ö¹¦ÄÜÇ¿´óÖ§³ÖËù¼û¼´ËùµÃ¹¦ÄܵÄÎı¾±à¼Æ÷£¬¿ÉÒÔΪÓû§Ìṩ΢ÈíofficeÈí¼þÒ»ÑùµÄÔÚÏßÎĵµ±à¼·þÎñ¡£Ëü²»ÐèÒª°²×°ÈκÎÐÎʽµÄ¿Í»§¶Ë£¬¼æÈݾø´ó¶àÊýÖ÷Á÷ä¯ÀÀÆ÷£¬Ö§³ÖASP.Net¡¢ASP¡¢ColdFusion ¡¢PHP¡¢Java¡¢Active-FoxPro¡¢Lasso¡¢Perl¡¢ython µÈ±à³Ì»·¾³¡£
¡¡¡¡¹Ù·½ÍøÕ¾http://www.fckedit ......
<!--
/* Font Definitions */
@font-face
{font-family:ËÎÌå;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimSun;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"\@ËÎÌå" ......