Time of Update: 2018-12-06
一、DataBinder.Eval的基本格式靈活的運用資料繫結操作在綁定資料時經常會用到這個句程式:<%# DataBinder.Eval(Container.DataItem,"xxxx")%>或者<%# DataBinder.Eval(Container,"DataItem.xxxx")%> 今天又學到一種,而且微軟也說這種方法的效率要比以上兩種高。 <%# ((DataRowView)Container.DataItem)["xxxx"]%> 很有用的,
Time of Update: 2018-12-06
<object id=videowindow1 height=400 width=500 classid=CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6> <param name="URL" value="http://www.yzw.cc/mvfile/2010100160881897.wmv"> <param name="rate" value="1">
Time of Update: 2018-12-06
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>目前時間</title><script language="javascript">function tick() {var hours, minutes, seconds,
Time of Update: 2018-12-06
:代碼:1,前台代碼:<asp:TextBox ID="TextBox1" runat="server" Text="請輸入尋找內容"></asp:TextBox> <asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click" style=" text-align:center; border:1px solid #333;
Time of Update: 2018-12-06
首先申明,我這種方法只適合綁定了微軟的VSS的情況下。1、關閉Visual Studio IDE環境 在Visual Studio IDE 運行過程中,由於共用衝突,這下面步驟是無法操作的,因此首先要關閉IDE環境。 2、去除方案檔案中的版本資訊 在Visual Studio 2003環境下,方案檔案是尾碼為.Sln的文字檔。用記事本開啟,在其中找到Global塊下的GlobalSection(SourceCodeControl)節點,代碼如下:Microsoft Visual Studio
Time of Update: 2018-12-06
今天碰到了一個很奇怪的瀏覽器安全色問題,用js產生一個快顯視窗,彈出層的外殼是固定的html代碼,內容是由後台用ajax非同步呼叫過來內容大體是這樣的一段html,我把有錯誤的一段摘錄出來Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--><a href="javascript:void(0);" onckick="pop('SP3B')">
Time of Update: 2018-12-06
於inc檔案 【what's inc file】.inc 檔案顧名思義是include file的意思。實際上,檔案的尾碼對於檔案包含是無所謂你可以包含一個asp檔案,也可以包含txt文。一般我們使用inc作為尾碼,是因為這樣能體現該檔案的作用。【why inc file】.inc檔案的作用有點類似於C/C++內的.H .HPP標頭檔,使用inc檔案可以使我們的程式,增加可讀性,更易於開發和維護。【how to inc file】使用SSI(Server Side
Time of Update: 2018-12-06
學習sql server,很多書籍給出的sql標準文法很多,同仁們用的肯定很熟練,但sql有很多用法不被大家常用和熟悉,現寫出兩個供大家使用:1、在編寫隨機出卷系統時,用到隨機抽出題庫中的N道題目,方法很多,有人使用隨機函數等等,其實,一條sql語句搞定:select top 30 * from test order by newid()order by newid():隨機產生id號,然後根據id號排序;top 30:前30道題目。2、在排名次時,經常遇到取前10名,但剛好第11名(12、13
Time of Update: 2018-12-06
<html> <head> <title> </title> <meta name= "GENERATOR " content= "Microsoft Visual Studio .NET 7.1 "> <meta name=ProgId content=VisualStudio.HTML> <script language=javascript> function
Time of Update: 2018-12-06
Response.Write的產生HTML代碼,你會發現Response.Write方法產生的程式碼是寫到了HTML代碼的最開始,即標籤之前。此時,所有的
Time of Update: 2018-12-06
1 DataSet.Table[0].Rows[ i ][ j ] 其中i 代表第 i 行數, j 代表第 j 列數2 DataSet.Table[0].Rows[ i ].ItemArray[ j ] 其中i 代表第 i 行數, j 代表第 j 列數3 DataSet.Tables[0].Columns.Count 取得表的總列數4 DataSet.Tables[0].Rows.Count 取得表的總行數5 DataSet.Tables[
Time of Update: 2018-12-06
Mozilla中: addEventListener的使用方式: target.addEventListener(type, listener, useCapture); target: 文檔節點、document、window 或 XMLHttpRequest。 type: 字串,事件名稱,不含“on”,比如“click”、“mouseover”、“keydown”等。 listener :實現了 EventListener 介面或者是 JavaScript 中的函數。 useCapture
Time of Update: 2018-12-06
/*顯示微博*/function show_WeiBo(user_id, num, page, divid) { var xmlResult; $ID(divid).style.visibility = "hidden"; var regxml = AjaxObject(); if (regxml) { regxml.onreadystatechange = function() { if (regxml.readyState == 4
Time of Update: 2018-12-06
由系統Wingdings特殊字元組合的案頭表徵圖,充分體現了Wingdings的一個有趣應用,用好Wingdings為給你的網頁增色不少,像一些標號等,都可以用Wingdings字來代替,而不再使用GIF圖片,這樣有利於網頁的載入速度。<title>Wingdings文鼎特殊字元組合的表徵圖</title><script>//表徵圖距離與菜單ico_top=11;ico_left=11;ico_bottom=31;ico_x=65;ico_y=65;funct
Time of Update: 2018-12-06
下載檔案(function($){$.fn.jqueryzoom=function(options){var settings={xzoom:200,yzoom:200,offset:10,position:"right",lens:1,preload:1};if(options){$.extend(settings,options)}var noalt='';$(this).hover(function(){var imageLeft=$(this).offset().left;var
Time of Update: 2018-12-06
同事調試頁面的時候發現如果IE沒有選擇自動編碼,那麼utf-8的有些頁面會在IE下顯示空白,即使你習慣性的加入了:<meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″
Time of Update: 2018-12-06
最近開始學習.NET 用的是c# 目前要用三層架構的模式開發一個簡單的圖書管理系統,不過以為剛接觸這門技術。做起來分外吃力,甚至連究竟要寫些什麼都不清楚。 於是乎上網到處找尋三層架構的基礎入門知識,終於找到了一篇: 原文來自:http://hi.baidu.com/tgszsh/blog/item/9f30bc1f6cc1def0e1fe0ba8.html
Time of Update: 2018-12-06
<style type="text/css"> <!-- #demo { background: #FFF; overflow:hidden; border: none; width: 965px; height: 160px; } #demo img { } #indemo { float: left; width: 800%; } #demo1 { float: left; }
Time of Update: 2018-12-06
dim objstream set objstream = Server.CreateObject("adodb.stream") objstream.Type = 1 objstream.Mode =3 objstream.Open objstream.Write body objstream.Position = 0 objstream.Type = 2 objstream.Charset = Cset BytesToBstr = objstream.ReadText
Time of Update: 2018-12-06
這段時間寫一個錄音的控制項,參考了一些資料以後,決定採用WavIXXX進行錄音以及播放,最後產生WAV格式檔案後再使用Lame壓縮成MP3格式。1.錄音初始化格式代碼Code highlighting produced by Actipro CodeHighlighter