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

½«Ö¸¶¨µÄ±í/ÊÓͼÖеÄÊý¾Ýµ¼³öΪ html Îļþ

IF OBJECT_ID(N'dbo.p_ExportHtml') IS NOT NULL
    DROP PROC dbo.p_ExportHtml;
GO
/*-- == µ¼³ö±í/ÊÓͼÖеÄÊý¾ÝΪhtml Îļþ======================
´Ë´æ´¢¹ý³ÌÓÃÓÚ½«Ö¸¶¨µÄ±í/ÊÓͼÖеÄÊý¾Ýµ¼³öΪ html Îļþ
ÓÉÓÚÊÇʹÓô洢¹ý³Ì, Òò´ËÎļþĿ¼»ùÓÚ sql server ·þÎñÆ÷
´æ´¢¹ý³ÌÖлáʹÓÃxp_cmdshell µ÷ÓÃbcp À´Ð´Îļþ
Òò´Ë±ØÐë´ò¿ªxp_cmdshell ¹¦ÄÜ, ¿ÉÒÔʹÓÃÏÂÃæµÄ½Å±¾ÊµÏÖ
EXEC sp_configure N'show advanced options', 1 RECONFIGURE;
EXEC sp_configure N'xp_cmdshell', 1 RECONFIGURE;
---------------------------------------------------------
-- µ÷ÓÃʾÀý
EXEC dbo.p_ExportHtml
    @object_name = N'sys.objects',
    @file_name = N'c:\test.html';
---------------------------------------------------------
-- »·¾³ÒªÇó
ÊÊÓÃÓÚsql server 2005 »òÕ߸ü¸ßµÄ°æ±¾
-- ==== ×Þ½¨2008.11(ÒýÓÃÇë±£Áô´ËÐÅÏ¢) =============== */
CREATE PROC dbo.p_ExportHtml
    @object_name sysname,
    @file_name nvarchar(260),
    @title nvarchar(1000) = NULL -- html ±êÌâ, ΪNULLʱʹÓÃ@object_name
AS
SET NOCOUNT ON;
DECLARE
    @sql_field nvarchar(max),
    @sql_body nvarchar(max);
SELECT
    @sql_field = N'',
    @sql_body = N''
SELECT
    @sql_field = @sql_field
           + N' UNION ALL SELECT field_name = N' + QUOTENAME(C.name, N''''),
    @sql_body = @sql_body
           + N', [td/@align] = '
              + QUOTENAME(
                     CASE
                         WHEN T.name LIKE N'%int'
        


Ïà¹ØÎĵµ£º

wxWidgets access html file in zip package

/************************************************************************
* Description: ·ÃÎÊzipÖеÄhtm Ö® Widgetsѧϰ
* Author: ³ÂÏàÀñ
* Compiled: VC8 + wxWidgets2.8.10
* Date: 04/02/10
************************************************************************/
/******************************** ......

HTML ¿ò¼Ü noframes ×÷ÓÃ

<html>
<frameset cols="25%,50%,25%">
 <frame src="/example/html/frame_a.html">
 <frame src="/example/html/frame_b.html">
 <frame src="/example/html/frame_c.html">
<noframes>
<!--  ÔÚä¯ÀÀÆ÷²»Ö§³ÖÊ ......

HTML ¿ò¼Ü noresize="noresize" ×÷ÓÃ

<html>
<frameset cols="50%,*,25%">
 
  <!-- ×ó±ßÒ³ÃæÕ¼50% ±»¹Ì¶¨×¡ÁË -->
  <frame src="/example/html/frame_a.html" noresize="noresize"
/>
  <frame src="/example/html/frame_b.html" />
  <frame s ......

HTMLͼƬÐýת

<html>
<head>
<title> </title>
<script type="text/javascript">
function rotateImage() {
imageToRotate = document.getElementById('imgRotate');         
imageToRotate.style.filter= "progid:DXImageTransform.Microsoft ......

¿ªÔ´µÄÍøÒ³×¥È¡ÏîÄ¿HTML Parser ½éÉÜ

HTML Parser is a Java library used to parse HTML in either a linear or nested fashion. Primarily used for transformation or extraction, it features filters, visitors, custom tags and easy to use JavaBeans. It is a fast, robust and well tested package.
code  download£ºhttp://sourceforge.net/pr ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ