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

ÔÚASP.NETÖÐʹÓÃFCKeditorµÄ·½·¨

֮ǰÓõÄÔÚÏ߱༭Æ÷ÊÇDotNetTextBox £¬²¢ÇÒÔøÒ»¶È¾õµÃËüÒ쳣ǿ´ó£¬Èç¿ÉÒÔ¸øÉÏ´«µÄͼƬ¼ÓÎÄ×Öˮӡ»òÕßͼƬˮӡ£¬µ«ºóÀ´·¢ÏÖÆäÉÏ´«µÄͼƬ²»ÈÝÒ×¹ÜÀí£¬¶¼¼·ÔÚÒ»¸öÎļþ¼ÐÀïÃ棨Ãâ·Ñ°æ£¬¸¶·Ñ°æºÃÏñ¿ÉÒÔ·ÖÎļþ¼ÐÉÏ´«±£´æͼƬ£©£¬²¢ÇÒ¶ÎÊ׿ոñ×ܲ»ÊÇËù¼û¼´ËùµÃ£¬Îұ༭ʱ¿ÕÁËÁ½¸ö×Ö·ûµÄλÖ㬵½ÁËǰ̨ҳÃæµÄʱºòÖ»ÓÐÒ»¸ö×Ö·û£¬ËùÒÔ½ñÌìÎÒÔÙÕÒÁËÒ»¿î.NetµÄÔÚÏ߱༭Æ÷£¬¼¼ÊõȺµÄ»Æ»èÍƼöÁËFCKeditor£¬°Ù¶ÈÁËһϣ¬ÆÀ¼Û»¹²»´í£¬¶øÇÒ¿ªÔ´£¬ÓÚÊǵ½Æä¹ÙÍøÏÂÔØÁË×îеİ汾FCKeditor_2.6.3¡£ÕâÀïÐèҪעÒâһϣ¬µ¥ÏÂÔØFCKeditor_2.6.3.zip²¢²»ÄÜÓ¦ÓÃ.Net»·¾³£¬»¹ÐèÒªÏÂÔØÁíÍâÒ»¸öÎļþFCKeditor.Net_2.6.3.zip¡£¹ÙÍøÏÂÔصØÖ·£ºhttp://www.fckeditor.net/¡£
   ÏÂÃæ½²½²FCKeditor.Net±à¼­Æ÷ÔÚ.net»·¾³µÄÅäÖ÷½·¨¡£
   µÚÒ»²½£º½âѹËõFCKeditor_2.6.3.zipÎļþ£¬²¢½«½âѹËõµÃµ½µÄfckeditorÎļþ¼Ð¸´ÖƵ½ÄãÏëʹÓÃÕâ¸ö±à¼­Æ÷µÄÍøÕ¾µÄ¸ùĿ¼ÏÂÃæ¡£
   µÚ¶þ²½£º°ÑÏÂÔصÄFCKeditor.Net.zipËæ±ã½âѹËõµ½ÄãÓ²Å̵ÄÒ»¸ö¿ÕĿ¼£¬ÀïÃæÊÇFCKeditor.NetµÄÔ´´úÂ룬¿ÉÒÔ¶ÔËü½øÐÐÔٶȿª·¢£¬ÎÒÕâÀï½²Ö±½ÓÓ¦Óã¬ÎÒÃÇҪʹÓõ½ÊÇÆäĿ¼ÏµÄ\bin\DebugĿ¼ÖеÄFredCK.FCKeditorV2.dllÎļþ¡£ÔÚÄãµÄÍøÕ¾ÀïÃæ°ÑÕâ¸öFredCK.FCKeditorV2.dllÌí¼Óµ½binĿ¼Ï¡£
   µÚÈý²½£º½øÈëFCKeditorÎļþ¼Ð£¬±à¼­ fckconfig.js Îļþ£¬ÈçÏ£º
1¡¢Ö¸¶¨±à¼­Æ÷Ó¦Óõıà³Ì»·¾³£¬ÐÞ¸Ä
var _FileBrowserLanguage = 'asp' ; // asp | aspx | cfm | lasso | perl | php | py
var _QuickUploadLanguage = 'asp' ; // asp | aspx | cfm | lasso | php
¸ÄΪ
var _FileBrowserLanguage = 'aspx' ; // asp | aspx | cfm | lasso | perl | php | py
var _QuickUploadLanguage = 'aspx' ; // asp | aspx | cfm | lasso | php
2¡¢ÅäÖÃÓïÑÔ°ü¡£ÓÐÓ¢ÎÄ¡¢·±ÌåÖÐÎĵȣ¬ÕâÀïÎÒÃÇʹÓüòÌåÖÐÎÄ¡£
ÐÞ¸Ä
FCKConfig.DefaultLanguage = 'en' ;
Ϊ
FCKConfig.DefaultLanguage = 'zh-cn' ;
3¡¢ÅäÖÃƤ·ô¡£ÓÐdefault¡¢office2003¡¢silver·ç¸ñµÈ£¬ÕâÀïÎÒÃÇ¿ÉÒÔʹÓÃĬÈÏ¡£
FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/default/' ;
4¡¢Ôڱ༭Æ÷ÓòÄÚ¿ÉÒÔʹÓÃTab¼ü¡££¨1ΪÊÇ£¬0Ϊ·ñ£©
FCKConfig.TabSpaces = 0 ; ¸ÄΪFCKConfig.TabSpaces = 1 ;
5¡¢¼ÓÉϼ¸ÖÖÎÒÃdz£ÓõÄ×ÖÌåµÄ·½·¨£¬ÀýÈ磺
ÐÞ¸Ä
FCKConfig.FontNames = 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Ve


Ïà¹ØÎĵµ£º

ASP.NET 2.0ÖÐGridViewÎÞÏ޲㸴ÔÓ±íÍ·µÄʵÏÖ

ʵÏÖ·½·¨¾ÍÊǸøµ¥Ôª¸ñÌî³äÎÒÃÇÏëÒªµÄ¸ñʽ´úÂë¡£
 
 
==============C#==============
<%@ Page Language="C#" AutoEventWireup="true" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script run ......

ASP.NET ÖпؼþµÄEnableViewState

ÔÚASP.NetÖжԸ÷¸öWebForm¿Ø¼þÒýÈëÒÔǰûÓеÄEnableViewStateÊôÐÔ¡£Õâ¸öÊôÐÔ¾¿¾¹ÓÐʲôÓá£ÎÒÃÇÖªµÀ¶ÔÓÚWebForm¶øÑÔ£¬Æä´úÂëÊÇÔÚ·þÎñÆ÷¶ËµÄ£¬ÒÔ´¦Àí¿Í»§¶ËµÄÇëÇó¡£µ±Óû§Í¨¹ýä¯ÀÀÆ÷ä¯ÀÀÍøÒ³µÄʱºò£¬»á¶ÔÍøÒ³½øÐÐijЩ²Ù×÷£¬±ÈÈç´ò¿ªÐÂÁ´½Ó£¬»òµ¥»÷ij¸ö°´Å¥¡£ÔÚASPÖУ¬ÕâЩÊÇͨ¹ý½Å±¾ÓïÑÔ¶ÔÆä½øÐд¦Àí£¬Ö®ºóÔÙ´«µÝ¸ø·þÎñÆ÷¶Ë¡ ......

ASP.NET ÉÏ´«Í¼Æ¬ÖÁÊý¾Ý¿â²¢¶ÁȡͼƬÏÔʾ

1£ºÉÏ´«Í¼Æ¬µÄÏà¶Ô·¾¶µ½Êý¾Ý¿âÖÐÏàÓ¦×Ö¶ÎÀ¶ÁÈ¡ÏÔʾʱ£¬½«¿Ø¼þ£¨¼ÙÉèÓõÄÊÇImage¿Ø¼þ£©µÄImageUrlÊôÐÔÖ¸Ïò¸ÃÏà¶Ô·¾¶¼´¿É¡£
2£º½«Í¼Æ¬ÒÔ¶þ½øÖÆÁ÷µÄ·½Ê½ÕûÌåÉÏ´«µ½Êý¾Ý¿âÀ¶ÁÈ¡ÏÔʾʱ£¬ÒÔ¶þ½øÖÆÁ÷µÄ·½Ê½ÕûÌå¶Á³ö¡£ÕâÖÖ·½·¨ÉÔ΢Âé·³Ò»µã£¬µ«±£´æµÄÊÇͼƬÕûÌåµ½Êý¾Ý¿âÀï¡£
µÚÒ»ÖÖ·½·¨£¬ÊµÏÖÆðÀ´±È½Ï¼òµ¥£¬ÒòΪ´æÈëÊý¾Ý¿ ......

asp.net ÑéÖ¤ÕýÔò±í´ïʽÊÕ²Ø

ÕûÊý»òÕßСÊý£º^[0-9]+\.{0,1}[0-9]{0,2}$
Ö»ÄÜÊäÈëÊý×Ö£º"^[0-9]*$"¡£
Ö»ÄÜÊäÈënλµÄÊý×Ö£º"^\d{n}$"¡£
Ö»ÄÜÊäÈëÖÁÉÙnλµÄÊý×Ö£º"^\d{n,}$"¡£
Ö»ÄÜÊäÈëm~nλµÄÊý×Ö£º¡£"^\d{m,n}$"
Ö»ÄÜÊäÈëÁãºÍ·ÇÁ㿪ͷµÄÊý×Ö£º"^(0|[1-9][0-9]*)$"¡£
Ö»ÄÜÊäÈëÓÐÁ½Î»Ð¡ÊýµÄÕýʵÊý£º"^[0-9]+(.[0-9]{2})?$"¡£
Ö»ÄÜÊäÈëÓÐ1~3λСÊýµÄ ......

Asp.Netǰ̨µ÷Óúǫ́±äÁ¿

1.Asp.NetÖм¸ÖÖÏàËƵıê¼Ç·ûºÅ: < %=...%>< %#... %>< % %>< %@ %>½âÊͼ°Ó÷¨
´ð: < %#... %>: ÊÇÔڰ󶨿ؼþDataBind()·½·¨Ö´ÐÐʱ±»Ö´ÐУ¬ÓÃÓÚÊý¾Ý°ó¶¨
Èç: < %# Container.DataItem("tit") %>
< %= %>: ÔÚ³ÌÐòÖ´ÐÐʱ±»µ÷Ó㬿ÉÒÔÏÔʾºǫ́±äÁ¿Öµ
Èç:
*.aspxÖУº < %= a ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ