Time of Update: 2018-12-03
A Parked Domain is an inactive domain reserved for later use or one that points to another existing domain.For example, the domain name for your hosting account is "domain.com" and you also have registered "domain.net" through your domain.com Domain
Time of Update: 2018-12-03
using System;using System.Collections.Generic;using System.Text;namespace BinaryTree{ public class Tree<T> where T : IComparable<T> { #region 欄位 private T data; private Tree<T> left; private
Time of Update: 2018-12-03
添加引用ICSharpCode.SharpZipLib.dllusing System;using System.Collections.Generic;using System.IO;using System.Threading;using ICSharpCode.SharpZipLib.Zip;namespace Lib{ /// <summary> /// 檔案壓縮、解壓縮 /// </summary> public class
Time of Update: 2018-12-03
需要引入的Jsoup.jar包:jsoup.jar推薦閱讀的jsoup使用教程:使用JSOUP處理HTML文檔以下是實現Jsoup解析HTML檔案,並儲存到本地的Java代碼:/** * 這個檔案實現了:將指定目錄下的所有htm和html檔案的<title>標籤的值,替換成檔案名稱(不含尾碼)。 */import java.io.File;import java.io.FileOutputStream;import java.io.IOException;import
Time of Update: 2018-12-03
//擷取本地語言資訊// public static int GetLanguageType() { int LanguageType = 0; CultureInfo ci = System.Threading.Thread.CurrentThread.CurrentCulture; if (ci.EnglishName.Equals("Chinese (People's Republic of China)")) {
Time of Update: 2018-12-03
private void dataGridView1_EditingControlShowing(object sender, DataGridViewEditingControlShowingEventArgs e) { e.CellStyle.BackColor = Color.Aqua;//設定編譯時間的顏 } private void
Time of Update: 2018-12-03
/* * 縮放函數zoomIt,它實際縮放的是el的內部元素 * @param {htmlElemnt} el 縮放目標htmlElement * @param {Number} xScale x方向縮放比例 * @param {Number} yScale y方向縮放比例 */zoomIt : function(el, xScale, yScale) {var S = KISSY,style = $(el).attr('style') || "";if(S.UA['firefox']) {//
Time of Update: 2018-12-03
/* * 擷取指定類別選取器的所以樣式值 * @method getClassStyle * @param {String} name 類別選取器的名字 * @param {Document} doc 指定的document * @return {String} 該樣式的cssText */ getClassStyle : function(name, doc) { if(!name) { return ""; }
Time of Update: 2018-12-03
Flush the buffer early [server]——儘早把response給flush出去Use GET for AJAX requests [server]——用get方法進行ajax通訊Post-load components [content]——後載入組件內容Preload components [content]——預先載入組件內容Reduce the number of DOM elements [content]——xml裡盡量減少dom元素的數量Split
Time of Update: 2018-12-03
1, man ssh-o option Can be used to give options in the format used in the configuration file. This is useful for specifying options for which there is no separate command-line flag. For full details of the options listed
Time of Update: 2018-12-03
簡而言之,它們的概念如下:① offsetparent() 指的是元素的第一級擁有定位屬性(absolute/relative/fixed)的父元素。② offsetLeft/offsetTop 元素boder外側,到其offsetparent()的border內側的位移量。③ offset() 返回{left:xx, top: yy}, 它表示元素對於文檔的絕對位移量。④ position() 返回{left:xx, top: yy},
Time of Update: 2018-12-03
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" /><style type="text/css"><!--body{background:#fff}.Menu {position:relative;width:204px;height:127px;z-index:1;background: #FFF;border:1px solid #000;margin-top:-100px;
Time of Update: 2018-12-03
項目中,最簡單的build.xml檔案的書寫方式。項目source目錄。project - src - webant - ant.bat - bulid.xml - project.war (編譯出來的war 的位置)==============================================================================================================================
Time of Update: 2018-12-03
menu控制項在ie8中動態菜單顯示不了。 asp.net的menu控制項,可以自動產生下拉式功能表,並且提供了很多的樣式,在開發網站時,提供了很大的方便。但是,在ie8中出現了一個問題,就是只能正常顯示靜態菜單,而動態菜單只出現一個白色的背景,其他的什麼也看不見。而且在chrome,Mozilla,Firefox等顯示都正常,只是在ie8中出現。 解決方案1: 經過調試ie8,開啟ie8->頁面->相容性檢視設定->勾選【在相容性檢視中顯示所有網站】,解決了問
Time of Update: 2018-12-03
//是否為數值 public static bool IsNumber(string text) { Regex objNotNumberPattern = new Regex("[^0-9.-]"); Regex objTwoDotPattern = new Regex("[0-9]*[.][0-9]*[.][0-9]*"); Regex objTwoMinusPattern = new Regex(
Time of Update: 2018-12-03
using System;using System.Text;using System.Security.Cryptography;namespace Lib{ /// <summary> /// DES加密、解密string、byte[] /// </summary> public class DesEncrypt { /// <summary> /// 建構函式 ///
Time of Update: 2018-12-03
/// <summary> /// 馬賽克效果 ///原理:確定映像的隨機位置點和確定馬賽克塊的大小,然後馬賽克塊映像覆蓋隨機點即可. /// </summary> /// <param name="m_Iimage"></param> /// <param name="val">分割成val*val像素的小區塊</param>
Time of Update: 2018-12-03
public DataSet ImportExcel(string file) { FileInfo fileInfo = new FileInfo(file); if (!fileInfo.Exists) return null; string strConn = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + file + ";Extended
Time of Update: 2018-12-03
第1步:先將第一個下拉框在Load裡面填充上資料 dgvCmbObligorType.DataSource = dtPayer; dgvCmbObligorType.DisplayMember = "name"; dgvCmbObligorType.ValueMember = "id";第2步:使用dataGridView1_CellValueChanged事件完成聯動private void
Time of Update: 2018-12-03
/* * 擷取el被縮放的倍數 */getZoomLeve : function(el) {// 標示縮放的css屬性var zoomPer, undefinedPer = 'none';if(S.UA['firefox']) {zoomPer = '-moz-transform';} else if(S.UA['ie']) {if(S.UA['ie'] == 9) {zoomPer = '-ms-transform';} else {zoomPer = 'zoom';undefinedPer