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
Ïà¹ØÎĵµ£º
I needed a tab pane to put some content in my web pages. There are many solutions around
and I must say that they are quite good, but I had some extra requirements that I needed.
I did search around but I did not find what I wanted, so I ended up producing something and now I am sharing
it with y ......
getElementById getElementsByName getElementsByTagName ´ó¸Å½éÉÜ
getElementById £¬ getElementsByName £¬getElementsByTagName
byidÖ»Êǵõ½µ¥¸ö¶ÔÏó ¡¡¡¡ºóÁ½¸öÊǵõ½¼¯ºÏ£¬
getElementById µÄÓ÷¨
<a id="link1" name="link1" href=http://homepage.yesky.com> ......
ÎÄÕÂÀàÐÍ:¼¼ÊõÎĵµ ¸üÐÂʱ¼ä:2009-03-03 ·¢²¼Õß:HIT-ASP ÎÄÕÂÀ´Ô´:HIT-ASP µã»÷´ÎÊý:550
Õª×Ô:
http://www.zzsky.cn/build/content/658.htm
http://www.blueidea.com/tech/multimedia/2 ......
ÀϵϰÌâÁË£¬µ«ÊÇÎÒ»¹ÊÇ´ÓÀ´Ã»ÓÐÕûÀí¹ý¡£ÕâÀïÕûÀíÒ»ÏÂ:
ÔÚXHTMLÖУ¬<html>¡¢<head>¡¢<body>¶¼ÊDZØÐèµÄ±êÇ©¡£
±ØÐëÉèÖÃ<html>±êÇ©µÄxmlnsÊôÐÔ£¬ÇÒÆäֵΪ“http://www.w3.org/1999/xhtml”¡£
ËùÓÐÔªËØ¶¼±ØÐë½áÊø¡£ÈÎºÎÆðʼ±êǩҪôÓÐÒ»¸ö¶ÔÓ¦µÄ½áÊø±êÇ©£¨Èç¹ûËüÊÇÒ»¸öÈÝÆ÷µÄ»°£©£¬ÒªÃ ......