原创 框架iframe自適應高度

<iframe id="iframe1" name="content3" src="Index.aspx" frameborder="0" scrolling="no" frameborder="0" style="width: 100%

原创 解析XML格式,截取節點

private string getsmsids() { string xml = Getcodesms(); XmlDocument doc = new X

原创 點擊文本框的時候才彈出驗證碼信息

  <html> <head> <meta http-equiv="content-Type" content="text/html;charset=gb2312"> <title>一個和論壇驗證碼相似的功能_/</title> <sty

原创 虛假進度條提示

<script type ="text/javascript" > function getcodesms_Click() { showDiv(); } function

原创 文本框提示內容

<html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>無標題頁</title> <script> function cls(){

原创 隨機生成一個驗證碼圖片

前臺代碼: <body> <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label> </body> 後臺代碼: protected void Page_Loa

原创 把EXCEL文件的數據通過頁面插入數據庫

前臺代碼: <body> <form id="form1" runat="server"> <div> boob <asp:FileUpload ID="FileUpload1" runat="server

原创 SQL server 2008安裝圖解

SQL server 2008安裝圖解

原创 後臺彈出提示框,防止頁面刷新。

ClientScript.RegisterStartupScript(this.GetType(), "", " <script> alert( '發送成功! '); </script> ");

原创 gridview控件屬性

gridview 1. GridView控件的屬性   表10.6 GridView控件的行爲屬性    屬性 描述 AllowPaging 指示該控件是否支持分頁。 AllowSorting 指示該控件是否支持排序。 AutoGe

原创 顯示內容太多用...顯示的SQL語句

select NewsID,News_type,News_name,case when datalength(News)>100 then subs

原创 把string類型的時間數據,轉換成datetime類型。

string str1="2004-5-7 12:10:18"; str1 = Convert.ToDateTime(str1).ToString("d"); string str1="2004-5-7 12:10:18"; DateT

原创 SQL查詢當天數據

--查詢當天:  select * from info where DateDiff(dd,datetime,getdate())=0 --查詢24小時內的: select * from info where DateDiff(hh,da

原创 javascript知識累計

greeting=(visitor=="PRES")?"Dear President ":"Dear "; 如果變量 visitor 中的值是 "PRES",則向變量 greeting 賦值 "Dear President ",否則賦值

原创 winfrom下使用水晶報表

http://v.youku.com/v_show/id_XMTU1OTU3ODQ=.html