易截截图软件、单文件、免安装、纯绿色、仅160KB

aspx 生成HTML 静态页


aspx 生成HTML 静态页 :http://www.cnblogs.com/ejiyuan/archive/2007/11/09/954325.html
 
cs 页:
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
using System.IO;
using System.Net;
namespace WebHtml
{
    public partial class _Default : System.Web.UI.Page
    {
         protected void Page_Load(object sender, EventArgs e)
        {
        }
        protected void Button1_Click(object sender, EventArgs e)
        {
            string strDate = DateTime.Now.ToString("yyMMdd") + "\\" + DateTime.Now.ToString("yyyymmddhhmmss");
            string strFileName = strDate + ".shtml";//存储到数据库中
            string strTitle=Request.Form["Title"].ToString().Trim();//接收传过来的标题
            string strContent=Request.Form["Content"].ToString().Trim();//接收传过来的内容
            string[] content = strContent.Split(new Char[] {'|'});//对内容进行拆分,并保存到数组
            int upbound = content.Length;//数组的上限
            //SqlServerDataBase db = new SqlServerDataBase();
           // bool success = db.Insert("insert into inNews(Title,Content,FilePath)values('" + st


相关文档:

HTML元素速查

HTML元素速查
下面列出了 HTML 定义的元素集,按字母顺序排列。
表1-1 元素列表
元 素 说 明
a 表明超链接的起始或目的位置
acronym 表明缩写词
address 特定信息,如地址、签名、作者、此文档的原创
applet 在页面上放置可执行内容
area 定义客户端图像映射中一个超级链接区域的形状、坐标
b 指定文本应以粗体 ......

读取excel(JXL)【输出为html格式】

package test;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.util.HashMap;
import java.util.Map;
import jxl.Cell;
import jxl.Range;
import jxl.Sheet;
import jxl.Workbook;
import jxl.format.Alignment;
import jxl.format.Border;
import jxl.forma ......

js html对象通用属性总结 收藏


           1:style、style.cssText及style.position,style.left等CSS样式的各个属性
            如:
           var section=document.createEleme ......

让Editplus自动格式化js、css、html。。。

     本人一般用editplus写一些小的测试代码或者来研究学习别人的代码,但经常会遇到这些问题:下载过来的HTML/CSS代码混乱,JS代码被压缩,或者是我们想把我们的代码做一下压缩混淆以供发布时使用。当然,对于代码的格式化和代码压缩等,我们都可以使用专有的工具,或者使用一些在线的工作来做,既然E ......

关于HTML代码中ACTION事件如何指定servlet路径

\webapps\test 路径下ThreeParams.html:
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>TreeParams</title>
</head>
<body>
<form method="get" onsubmit="return true" name="form1" action="/test/tp">
<tabl ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号