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

ÓÃC#ʵÏÖ½«HTMLÎļþת»»ÎªCHMÎļþ(ת)

ÕâЩÌìÒòΪ¹¤×÷ÐèÒª£¬Òª½«Ò»Ð©htmlÎļþת»»ÎªchmÎļþ£¬µ±È»ÊÇÐèÒªºÍ³ÌÐò½áºÏÔÚÒ»Æð¡£
ºóÀ´ÕÒµ½NDoc£¬ÀïÍ·ÓÐÒ»¶Î´úÂëÊÇÏà¹ØµÄ£¬ÓÚÊÇ¿ªÊ¼·ÖÎö´úÂ룬дÍêÖ®ºó£¬×ܽ᣺Ö÷ÒªÊÇÀûÓÃ΢ÈíµÄhhc.exeÀ´±àÒëhtmlÎļþ£¬³ÌÐòÐèÒª½«¾ßÌåµÄÊý¾ÝдÈëhhpºÍhhcÎļþ¡£
Ö÷Òª´úÂëÈçÏ£º
¸´ÖÆC#´úÂë±£´æ´úÂëpublic void CompileProject()
{
    Process helpCompileProcess = new Process();  //´´½¨ÐµĽø³Ì£¬NDOC²ÉÓÃProcessÆô¶¯HHC.EXEÀ´CompileÒ»¸öCHMÎļþ
    try
    {
        ////ÅжÏÎļþÊÇ·ñ´æÔÚ²¢²»±»Õ¼ÓÃ
        try
        {
            string path = _chmFile;  //chmÉú³É·¾¶
            if (File.Exists(path))
            {
                File.Delete(path);
            }
        }
        catch
        {
            throw new Exception("Îļþ±»´ò¿ª£¡");
        }
        ProcessStartInfo processStartInfo = new ProcessStartInfo();
        processStartInfo.WindowStyle = ProcessWindowStyle.Hidden;
        processStartInfo.FileName = hhcFile;  //µ÷ÈëHHC.EXEÎļþ 
        processStartInfo.Arguments = "\"" + Path.GetFullPath(GetPathToProjectFile()) + "\"";//»ñÈ¡¿ÕµÄHHPÎļþ
        helpCompileProcess.StartInfo = processStartInfo;
        //


Ïà¹ØÎĵµ£º

html ÊôÐÔ±êÇ©½áÊøµ¼Ö¡£¡£¡£¡£¡£¡£

 <input type="text" value="" maxlength="18"
       name="goods.goodsName" value="${goods.goodsName}"
       style="width: 99%;" id="goodsName">
value ÊôÐÔ Öظ´ £¬ µ¼Ö嵀 input  ǰ̨ҳÃæ Öµ Ϊ ""
ÒÔµÚÒ»¸öÊôÐÔµÄÖµÎª× ......

HTML DOM ½ÚµãÐÅÏ¢


nodeName¡¢nodeValue ÒÔ¼° nodeType °üº¬ÓйØÓÚ½ÚµãµÄÐÅÏ¢¡£
½ÚµãÐÅÏ¢
ÿ¸ö½Úµã¶¼ÓµÓаüº¬×ŹØÓÚ½ÚµãijЩÐÅÏ¢µÄÊôÐÔ¡£ÕâЩÊôÐÔÊÇ£º
nodeName£¨½ÚµãÃû³Æ£©
nodeValue£¨½ÚµãÖµ£©
nodeType£¨½ÚµãÀàÐÍ£©
nodeName
nodeName ÊôÐÔº¬ÓÐij¸ö½ÚµãµÄÃû³Æ¡£
ÔªËؽڵãµÄ nodeName ÊDZêÇ©Ãû³Æ
ÊôÐÔ½ÚµãµÄ nodeName ÊÇÊôÐÔ ......

C# asp.netÈçºÎʹÓÃMD5¼ÓÃÜ£¬½âÃÜ

using System;
using System.Collections.Generic;
using System.Text;
using System.Security.Cryptography;namespace md5
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(UserMd5("8"));
Console.WriteLine(GetMd5Str("8"));
}
/**//// &lt;summary&gt;
/// MD5 16λ¼ÓÃÜ ......

ÔÚc#ÖеÄÈ¡µÃsql´æ´¢¹ý³ÌµÄoutput²ÎÊý

һֱûÓÐÕÒµ½Ò»Öֺõķ½·¨À´ÒýÓÃÓзµ»ØÖµµÄ´æ´¢¹ý³ÌµÄ·½·¨£¬Ê¹ÎÒÔÚÌí¼ÓÊý¾ÝÖÐ×ßÁ˲»ÉÙµÄÍä·£¬×î½ü£¬ÔÚ²éÔÄÁË´óÁ¿µÄ×ÊÁÏÖ®ºó£¬ÖÕÓÚÔÚ΢ÈíµÄÒ»¸öʵÀýÖÐÕÒµ½ÁËÒ»ÖÖÁ¼ºÃµÄ·½·¨¡£
Ê×ÏȱàдºÃÒ»Óзµ»ØÖµµÄ´æ´¢¹ý³Ì
create procedure proc_name
   @para1 nchar(20),    --ÊäÈë²ÎÊý
   @ ......

HTMLÖÐÁ´½Ó´ò¿ªµÄ´°¿Ú

_blank   :   ÔÚÒ»¸öеģ¬Ã»ÓÐÃüÃûµÄ´°¿ÚÖдò¿ªÖ¸¶¨Îĵµ
_self      :   ÔÚµ±Ç°´°¿ÚÖдò¿ªÎĵµ
_parent :   ÔÚ¸¸´°¿ÚÖдò¿ªÎĵµ£¬µ±Ã»Óи¸´°¿Úʱ£¬_parentÓë_selfÊÇÒ»ÑùµÄ
_top      £º ÔÚµ±Ç°´°¿ÚÖдò¿ªÎĵµ£¬²¢ÇÒ´ò¿ªµÄÎ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ