ÓÃ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;
//
Ïà¹ØÎĵµ£º
java ´úÂë
package util;
import java.io.UnsupportedEncodingException;
import dao.socket.OperType;
public class Encrpt {
private String key;
public Encrpt() {
this("sitow");
}
public Encrpt(String key) {
this.key = key;
}
private ......
£¼html£¾
£¼head£¾
£¼title£¾±êÌ⣼title£¾
£¼/head£¾
£¼body£¾..........ÎļþÄÚÈÝ..........
£¼/body£¾
£¼/html£¾
1.Îļþ±êÌâ
£¼title£¾..........£¼/title£¾
2.Îļþ¸üÐÂ--£¼meta£¾
¡¾1¡¿10Ãëºó×Ô¶¯¸üÐÂÒ»´Î
£¼meta http-equiv="refresh" content=10£¾
¡¾2¡¿10Ãëºó×Ô¶¯Á¬½áµ½ÁíÒ»Îļþ
£¼meta http-equiv="ref ......
nodeName¡¢nodeValue ÒÔ¼° nodeType °üº¬ÓйØÓÚ½ÚµãµÄÐÅÏ¢¡£
½ÚµãÐÅÏ¢
ÿ¸ö½Úµã¶¼ÓµÓаüº¬×ŹØÓÚ½ÚµãijЩÐÅÏ¢µÄÊôÐÔ¡£ÕâЩÊôÐÔÊÇ£º
nodeName£¨½ÚµãÃû³Æ£©
nodeValue£¨½ÚµãÖµ£©
nodeType£¨½ÚµãÀàÐÍ£©
nodeName
nodeName ÊôÐÔº¬ÓÐij¸ö½ÚµãµÄÃû³Æ¡£
ÔªËØ½ÚµãµÄ nodeName ÊDZêÇ©Ãû³Æ
ÊôÐÔ½ÚµãµÄ nodeName ÊÇÊôÐÔ ......
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"));
}
/**//// <summary>
/// MD5 16λ¼ÓÃÜ
......
½üÀ´ORM±äµÃÔ½À´Ô½ÆÕ±é£¬Õâ¶¼¹éÓÚÒ»Öֺܾß˵·þÁ¦µÄÔÒò£»Ëü¿ÉÒÔʹ¿ª·¢Êý¾Ý¿âÇý¶¯µÄÓ¦ÓóÌÐò±äµÃ¸ü¿ì¡¢¸üÊ¡Á¦¡£µ«ÊÇORM¿ò¼Ü¶¼Óе㓹ÌÖ´¼º¼û”£¬ËûÃÇÆÚÍû¿ª·¢Õß×ñ´ÓÌØ¶¨µÄ¹æÔò£¬µ±¹æÔò±»´òÆÆµÄʱºò¾Í·Ç³£ÄÑÒÔʹÓá£×îͨ³£µÄ¹æÔòÖ®Ò»¾ÍÊÇ£¬´æ´¢¹ý³Ì±ØÐë×ÜÊÇ·µ»Øµ¥¶ÀµÄ½á¹û¼¯£¬ÆäÖд ......