Time of Update: 2018-12-03
詳細代碼已經上傳到資源裡。 http://download.csdn.net/source/752922 //封裝一個函數,為了能夠給多個按鈕添加不同的事件。 function confirmFun( txt, urlStr ) { confirm(txt, function () { window.location.href = urlStr; });}$(document).ready(function () {//原來的代碼。
Time of Update: 2018-12-03
:http://download.csdn.net/source/872577註冊控制項的方法 <%@ register TagPrefix="uc" TagName="myDateInput" Src="~/MyDateInput.ascx" %>引用方法 <uc:myDateInput ID="date1" runat="server" Text="2008-12-15"></uc:myDateInput>定義屬性 public string
Time of Update: 2018-12-03
window對象1.代表瀏覽器整個視窗,改變狀態列顯示文字,彈出對話方塊,移動視窗位置.2.可省略window.alert("");3.confirm返回true則執行預設代碼,false則不執行. if(confirm("hello")) {} else {}4.alert( prompt("年齡","18")
Time of Update: 2018-12-03
源碼下載:http://malsup.com/jquery/block/#demos入門執行個體:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" ><head> <titl
Time of Update: 2018-12-03
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" ><head> <title>無標題頁</title> <link href="mainFra
Time of Update: 2018-12-03
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" ><head> <title>簡單練習,設定寬度</title> <script type=
Time of Update: 2018-12-03
父視窗 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" ><head> <title>無標題頁</title> <script type="t
Time of Update: 2018-12-03
一位夫人打電話給建築師,說每當火車經過時,她的睡床就會搖動。 “這簡直是無稽之談,建築師回答說,“我來看看。” 建築師到達後,夫人建議他躺在床上,體會一下火車經過時的感覺。 建築師剛上床躺下,夫人的丈夫就回來了。他見此情形,便厲聲喝問:“你躺在我妻子的床上幹什嗎?” 建築師戰戰兢兢地回答:“我說是在等火車,你會相信嗎?” 【頓悟】 有些話是真的,卻聽上去很假;有些話是假的,卻令人無庸置疑。
Time of Update: 2018-12-03
Default.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html
Time of Update: 2018-12-03
建構函式就是該類的對象建立時,自動被調用,特別的是建構函式與類名同名.建構函式在定義類對象時由系統自動調用的成員函數,解構函式是在類對象被釋放時由系統自動調用的成員函數。(1)建構函式是與所在類同名的成員函數。(2)建構函式的作用是為類對象的資料成員賦初值。(3)建構函式在定義類對象時由系統自動調用,而不允許像其它成員函數那樣由使用者直接調用。 new的時候實際已經調用了建構函式.
Time of Update: 2018-12-03
protected void Page_Load(object sender, EventArgs e) { DataTable dt = new DataTable(); dt.Columns.Add("C1"); dt.Columns.Add("C2"); DataRow dr = dt.NewRow(); dr[0] = "11"; dt.Rows.Add(dr); ExportE
Time of Update: 2018-12-03
DHTML1.js將瀏覽器本身,網頁文檔,以及其中的html元素等都用相應的內建對象來表示. 這些對象及對象之間的層次關係稱為DOM(Document Object Model)2.一些對象是作為另外一些對象的屬性存在的.3.事件和事件來源,每個對象支援幾種事件,每個對象都能成為事件來源.
Time of Update: 2018-12-03
1.將常用的js方法封裝.2.主要功能 1.訪問頁面架構的局部,選擇某個節點或者某一類節點. jQuery簡化了這個操作. 2.修改頁面的表現(Presentation)css3的相容. 3.更改頁面的內容.插入,整個架構. 4.響應事件,jQuery可以輕鬆實現,並且不用考慮瀏覽器安全色性問題. 5.為頁面添加動畫.提供大量可自訂參數的動畫效果. 6.與伺服器非同步互動,ajax 7.簡化常用的javascript操作.數組操作,迭代運算.3.隔行變色的表格
Time of Update: 2018-12-03
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" ><head> <title>簡直的展開或關閉</title> <style type="
Time of Update: 2018-12-03
提問帖:http://topic.csdn.net/u/20081218/10/9b08d8f4-e2cc-4aff-93d9-fd57625cf568.html下載這個試試http://topic.csdn.net/u/ui/scripts/Csdn/Forum/UserOnline1.js<a href="http://hi.csdn.net/jxyxhz" target="_blank" title="進入使用者個人空間"> <img src="http://avatar
Time of Update: 2018-12-03
需求:假如一共四列,有先後次序,第二列為空白時,第三列不可有值,依次類推。前台:<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CheckNull.aspx.cs" Inherits="test_CheckNull" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xh
Time of Update: 2018-12-03
應用一
Time of Update: 2018-12-03
一直用的是預存程序分頁,小項目一般不寫預存程序,就需要直接寫分頁sql語句。資料庫操作類: /// <summary> /// 取得總數 /// </summary> /// <returns></returns> public string getTotal() { StringBuilder sb = new StringBuilder()
Time of Update: 2018-12-03
<html><head> <script type="text/javascript">function openWindow() { window.showModelessDialog("http://blog.csdn.net/greatverve/index.aspx", document.getElementById('txtName') ," dialogWidth='40px';dialogHeight='167px'; dialogLe
Time of Update: 2018-12-03
1.關於並發的問題,就是說如果我正在瀏覽,而另一使用者正在修改。就會出錯。 set transaction read only select * from customers where name='tree'; commit;2.P227事務及復原。同生共死。。顯示事務被用begin transaction 與 end transaction 標識起來,其中的 update 與 delete 語句或者全部執行或者全部不執行。。 如:begin transaction T1update