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

asp.net FckeditorÅäÖÃ

Ò»¡£ÏÂÔص¼ÈëÏîÄ¿
£¨1£©Ê×Ïȵ½http://ckeditor.com/downloadÏÂÔØFCKeditor 2.6.5,ºÍFCKeditor.Net 2.6.3,
È»ºó½âѹÕâÁ½¸öÎļþ¼Ð
FCKeditor±à¼­Æ÷£¬µÃµ½Îļþ¼Ðfckeditor£¬¸´ÖÆ´ËÎļþ¼Ðµ½WebÓ¦ÓõÄÏîÄ¿Ï£¨Ò²¿ÉÒÔÊÇ×ÓËïĿ¼Ï£©¡£
½âѹFCKeditor¿Ø¼þ£¬ÔÚÆä×ÓĿ¼bin/Release/2.0ÏÂÓÐÒ»¸ö³ÌÐò¼¯¡£ÔÚWebÓ¦ÓõÄÏîÄ¿ÖÐÒýÓøóÌÐò¼¯¡£
£¨2£©¼¯³Éµ½Visual Studio¹¤¾ßÏä
    ´ò¿ªÒ»ASP.NETÒ³Ã棬չ¿ªToolbox£¬´ò¿ªÓÒ¼ü²Ëµ¥£¬Ñ¡Ôñ“Choose Items ...”£¬ÔÚ³öÏֵēChoose Toolbox Items”»á»°¿òµÄ“.NET Framework Components”Ñ¡ÏÖÐÑ¡Ôñ“Browse”£¬ÕÒµ½²¢Ñ¡ÖÐFCKeditor³ÌÐò¼¯£¬´ò¿ªºó»Øµ½“Choose Toolbox Items”´°¿Ú£¬µã»÷“OK”£¬Íê³É¿Ø¼þµ¼Èë¡£
    Õâʱ£¬ÔÚToolboxµÄGeneral·ÖÀàϳöÏÖÁËÒ»¸öÃûΪFCKeditorµÄ¿Ø¼þ£¬¿ÉÒÔÏñʹÓÃVisual StudioÄÚÖÿؼþÒ»ÑùʹÓÃËü¡£
£¨3£©½«FCKeditor±à¼­Æ÷Îļþ×éASP.NET»¯
    FCKeditor±à¼­Æ÷Îļþ×é°üº¬ÁËÓÃÓÚËüËùÖ§³ÖµÄ¸÷ÖÖÓ¦Óü¼ÊõµÄÎļþ£¬ËùÒÔ£¬¶ÔÓÚASP.NETÓ¦ÓÃÀ´Ëµ£¬ÓкܶàÎļþÊDz»ÐèÒªµÄ¡£
    ¸ùĿ¼Ï£¬Ö»±£ÁôÎļþ¼Ðeditor£¬Îļþfckconfig.js¡¢fckeditor.js¡¢fckpackager.xml¡¢fckstyles.xmlºÍfcktemplates.xml¡£
    ×ÓĿ¼editor/filemanager/connectorsÏ£¬Ö»±£ÁôÎļþ¼Ðaspx¡£
 ¶þ¡£web.configÅäÖãº
ÔÚÒ³ÃæÖУ¬Ê¹ÓõÄÊÇFCKeditor¿Ø¼þ£¬¸Ã¿Ø¼þÐèÒªÖªµÀFCKeditor±à¼­Æ÷Îļþ×éµÄ·¾¶¡£ÓÐÁ½ÖÖÅäÖ÷½·¨¡£
    ÔÚappSettingsÅäÖýÚÖмÓÈë
        <add key="FCKeditor:BasePath" value="~/PathOfFCKeditor/" />
    ʹÓÃÕâÖÖÅäÖ÷½·¨ºó£¬¶ÔÓÚÏîÄ¿ÖÐÈκÎÒ»¸öÒ³ÃæÖÐÓõ½µÄFCKeditor¿Ø¼þ£¬¶¼²»ÓÃÔÙÅäÖÃÆäBasePathÊôÐÔ¡£
      Ö±½Ó¶ÔÓõ½µÄFCKeditor¿Ø¼þ½øÐÐÅäÖÃ
    ÔÚÒ³Ãæ´úÂëÖÐÉèÖÃFCKeditorµÄÊôÐÔBasePathΪFCKeditor±à¼­Æ÷Îļþ×éµÄ·¾¶£¬»òÕßÔÚPage_Initʼþ´¦ÀíÆ÷ÖÐÉèÖÃÆäBasePathµÄÖµ¡£
    ÅäÖÃFCKeditor±à¼­Æ÷ÎļþÉÏ´«Â·¾¶
    ÔÚweb.configµÄappSettingsÅäÖýÚÖмÓÈë
        <add key="FCKeditor:UserFilesPath" value="~/YourUploadFilePat


Ïà¹ØÎĵµ£º

ASP.NETÒ³Ãæ¶ÔÏó

   »ñÈ¡ÇëÇóµÄÒ³µÄ HttpRequest ¶ÔÏó¡£
Ò»¡¢HttpRequest Àà
ʹ ASP.NET Äܹ»¶ÁÈ¡¿Í»§¶ËÔÚ Web ÇëÇóÆڼ䷢Ë굀 HTTP Öµ¡£
      ÏÂÃæµÄ´úÂëʾÀýʹÓà StreamWriter ÀཫÈô¸É HttpRequest ÀàÊôÐÔÖµµÄֵдÈëÎļþ¡£¶ÔÓÚÊÇ×Ö·û´®ÀàÐ͵ÄÊôÐÔ£¬ÊôÐÔÖµ±»Ð´ÈëÎļþʱ½«±»±àÂëΪ HTML¡£±íʾ¼¯ºÏµ ......

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

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

asp.net¶ÔͼƬµÄ¶Áд

 Ð´Í¼Æ¬c:\1.jpgµ½±ícinfoÖÐ
private static void AddCinfo()
    {
        string strSql = "insert into cinfo (srvtitle,csttitle,introduction,logo) values
(@srvtitle,@csttitle,@introduction,@logo)";
        S ......

Ñ­»·ÎªTextBox¸³Öµ (asp.net C#)

 ×¢Òâ:
ÔÚʹÓÃFindControlʱ,Ò»¶¨ÒªÔÚ×îÌù½ü²éÕÒ¶ÔÏóµÄÍâ±ß¼ÓÉϸöÈÝÆ÷,Èç¹ûÄãÖ±½ÓÓÃthis.FindControl,»òPage.FindControlÄÇô¾Í»á¾­³£³öÏÖ佫¶ÔÏóÉèÖõ½ÊµÀý
µÄ´íÎó,ËùÒÔ×îºÃ¼ÓÒ»¸öÈÝÆ÷,ÄÇôÕâÀï¼ÓµÄDIV¾ÍÊÇÒ»¸öÈÝÆ÷,ΪÁËÈÃFindControlÔÚIDΪ"TextBoxs"µÄDIVÄÚÈ¥ÕÒÃûΪcom1,com2,com3µÄTextBOx;
<div ......

ASP.NETÔ¶³Ì±¸·Ý»Ö¸´SQL ServerÊý¾Ý¿â

///<summary>
      ///±¸·ÝÊý¾Ý¿âµ½±¾µØ´ÅÅÌ
      ///</summary>
    public bool BackUp(string BackUpFile)
    {
        try
&nbs ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ