Time of Update: 2018-12-06
using System; using System.ComponentModel; // The following example demonstrates how to use the // GC.SuppressFinalize method in a resource class to prevent // the clean-up code for the object from being called twice. public class
Time of Update: 2018-12-06
蘋果控是團隊的自主專案。使用Xcode的phonegap進行的混合開發。用於iphone版本--------------------------------------今天做的介面---------------------------------------------------------------------------------------------------------------------------------------------1.跨平台開發的彈性布局是要注意的,我
Time of Update: 2018-12-06
<!DOCTYPE><html> <head> <title> New Document </title> <meta charset="UTF-8"> <meta name="Generator" content="EditPlus"> <meta name="Author" content=""> <meta name="Keywords" content=""> <
Time of Update: 2018-12-06
1 <!DOCTYPE HTML> 2 <html> 3 <head> 4 <meta charset="UTF-8"> 5 <title> New Document </title> 6 <meta name="Keywords" content=""> 7 <meta name="Description" content=""> 8 <script
Time of Update: 2018-12-06
donet中的new關鍵子大致有以下用途:1.作為運算子,建立對象和調用建構函式 如: class MyClass { private int _id; public MyClass(int id) { _id = id; } } struct MyStruct { private string _name; public MyStruct(string name
Time of Update: 2018-12-06
<!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><meta charset="UTF-8">
Time of Update: 2018-12-06
ie8相容性代碼:在<head>標籤內添加<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> 也就是將IE8使用IE7進行渲染;ie6和ie7 相容性bugie7不支援padding屬性 因此只能用margin代替 但是如果直接加margin 會影響其他瀏覽器 所以要使用ie7的相容代碼 *margin 當然* 是ie6和ie7都相容的 如果想單解決ie7的使用的方法是!important
Time of Update: 2018-12-06
只仿了原理,所以不喜歡誤噴,自行更改jq路徑<!DOCTYPE><html><head><title> New Document </title><meta charset="UTF-8"><meta name="Generator" content="EditPlus"><meta name="Author" content=""><meta name="Keywords" content="
Time of Update: 2018-12-06
thickbox
Time of Update: 2018-12-06
<!DOCTYPE><html> <head> <title> New Document </title> <meta charset="UTF-8"> <meta name="Generator" content="EditPlus"> <meta name="Author" content=""> <meta name="Keywords" content=""> <
Time of Update: 2018-12-06
主要還是依靠一個函數,這個函數就可以幫忙擷取你想要的參數值function getQueryString(name) { var result = location.search.match(new RegExp("[\?\&]" + name + "=([^\&]+)", "i")); if (result == null || result.length < 1) { return ""; } return
Time of Update: 2018-12-06
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2 <html> 3 <head> 4 <title> New Document </title> 5 <meta charset="UTF-8"> 6 <meta name="Generator"
Time of Update: 2018-12-06
先啥都不說 看段如何或許的代碼,以下做解釋 1 <script type="text/javascript"> 2 <!-- 3 $("#palace").live("click",function(){ 4 $("#bringin_div").html(""); 5 var newiframe = $("<iframe id='iframeaa'
Time of Update: 2018-12-06
之前用原生寫的js但是選擇標籤用的不行 所以IE7不能支援 現在補上JQ版本的 布局 class名什麼的和之前的一模一樣 只是現在是jq的寫法function year_select(){//年份 var strYYYY = $('.ulyear').eq(0).html(); var strMM = $('.ulmon').eq(0).html(); var strDD = $('.ulday').html(); var yearxs
Time of Update: 2018-12-06
三層架構分為介面層、商務邏輯層、資料訪問層。很多人就同MVC裡的三個核心組件同三層架構等同起來,認為介面層等於View,商務邏輯層等於Controller,資料訪問層等於Model,這是完全錯誤的。 MVC設計模式解決的是頁面代碼、頁面控制邏輯和資料耦合的問題,所以它首先屬於介面層。比如:Asp.net MVC和Structs都是介面層架構。
Time of Update: 2018-12-06
<!DOCTYPE><html> <head> <title> New Document </title> <meta charset="UTF-8"> <meta name="Generator" content="EditPlus"> <meta name="Author" content=""> <meta name="Keywords" content=""> <
Time of Update: 2018-12-06
class Program { //本樣本包含了如何訪問項目列表,以及如何查詢各項目的工作項目,並且編輯工作項目。 static void Main(string[] args) { NetworkCredential cre = new NetworkCredential(user, password);//初始化使用者 TfsTeamProjectCollection tpc = new TfsTeamProjectCollection( new Uri("http://ip:80
Time of Update: 2018-12-06
當你把一個程式集放進GAC(全域組件快取)時,就要加強名(也就是簽名),在GAC中的程式集可以被所有程式引用訪問(相當於以前COM組件在註冊表裡註冊一樣),如果不放進GAC,剛所有使用這個程式集都要複製這個程式集(也就是私用組件),所以用不用強名要看情況而定. 如果不是 要把.dll共用 可以不使用強名 強式名稱是為了你的Dll檔案的安全,一般我們的dll檔案,隨便在哪只要引用就可以用 但如果用了強式名稱的話,dll 就會有一個秘鑰,其它人就不能引用了
Time of Update: 2018-12-06
三種方法: 1、刪除LOG 1):分離資料庫企業管理器->伺服器->資料庫->右鍵->分離資料庫 2):刪除LOG檔案 3):附加資料庫企業管理器->伺服器->資料庫->右鍵->附加資料庫 此法產生新的LOG,大小隻有500多K 再將此資料庫設定自動收縮 2、清空日誌 DUMP TRANSACTION 庫名 WITH NO_LOG 再:企業管理器 -- 右鍵你要壓縮的資料庫 --
Time of Update: 2018-12-06
SOLID的5原則:S = 單一職責原則 Single Responsibility PrincipleO = 開放閉合原則 Opened Closed Principle L = Liscov替換原則 Liscov Substitution PrincipleI = 介面隔離原則 Interface Segregation PrincipleD = 依賴倒置原則 Dependency Inversion Principle 單一職責原則:引起類變化的因素永遠不要多於一個開放閉合原則: