Time of Update: 2018-12-07
javascript(擷取或設定html元素的寬,高,座標)設定:view plaincopy to clipboardprint? document.getElementById('id').style.width=value document.getElementById('id').style.height=value document.getElementById('id').style.top=value
Time of Update: 2018-12-07
1.Appearance屬性功能:設定表單中控制項是否以三維立體方式顯示。取值:1) 1-3D 預設設定,以三維立體方式表單上的控制項。2) 0-Flat
Time of Update: 2018-12-07
代碼Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//路徑訪問絕對位址string servername = HttpContext.Current.Request.ServerVariables["SERVER_NAME"];string port =
Time of Update: 2018-12-07
不知道什麼時候開始IIS總是出現這個問題,我真是快要瘋掉了。HTML檔案可以瀏覽,只要遇到ASP檔案就有這個問題,連最簡單的ASP檔案都沒有辦法解析。調了N久,一直解決不了這個問題。1.重新啟動IIS,沒有任何收效,錯誤依舊。2.重新啟動電腦,還是老問題。3.開始懷疑是ASP.DLL檔案出了問題,重新註冊還是不行。4.重新註冊其他的組件,還是老錯誤。5.網上搜尋了N多資料,最多的就是說密碼不同步,按上面的方法還是不行。6.重新安裝IIS5.0,好不容易安裝完了,還是不行。(快崩潰了……)7.算了
Time of Update: 2018-12-07
原文地址:http://hi.baidu.com/haydo/blog/item/94a8ed0f67b142e5ab64573e.htmlCodeCode highlighting produced by Actipro CodeHighlighter
Time of Update: 2018-12-07
<style>.tr1{ background-color: #f7fbff;}.tr0{ background-color: #FFFFFF;}.td{ COLOR: red;}</style><script language="javascript" type="text/javascript">function onload(){ var ooOpinions=document.getElementById("gridview1"
Time of Update: 2018-12-07
這個類很簡單,基本上就是pushViewController和popViewController這樣兩個方法是常用的。這裡要講的是可能很容易被忽略的。首先,使用[UINavigationController alloc] initWithRootViewController:rootvc].
Time of Update: 2018-12-07
用一串二進位來表示公司的所有許可權,1表示有,0表示沒有許可權。/// <summary>/// 公司模組許可權/// </summary>public class SysModuleItem{ /// <summary> /// 使用者模組 /// </summary> public const long USER_MODULE = 0x0000000000000001; /// <summary> /// 項目模組 ///
Time of Update: 2018-12-07
/* * 需要注意的是,這裡加密的是位元組數組,而不是字串。因為 C# 字串是按照 Unicode 編碼儲存的。 * 要加密字串的話,需要用 System.Text.Encoding.UTF8 (或者其他編碼器)的 GetBytes 方法轉化為位元組數組,然後才能對其加密,密鑰也是一樣的。 * 密鑰長度是 128 位,也就是 16 個元素的位元組數組,不過少於 16 個位元組或多於 16 個位元組都可以正常工作, * 少於 16 個位元組時,會自動通過補零來充填到 16 個位元組,多於 16
Time of Update: 2018-12-07
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetNodeTable]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)drop procedure [dbo].[GetNodeTable]GOif exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[tbTest]') and
Time of Update: 2018-12-07
using System;using System.Collections.Generic;using System.Text;using System.Windows.Forms;using System.ComponentModel;namespace Demo{ class ProgressM { private BackgroundWorker worker = null; System.Windows.Forms.Control ctl =
Time of Update: 2018-12-07
問:作業系統windows,oracle9i在服務端,以sys登陸不加服務名,登陸報錯;如果加上服務名登陸正確。重啟作業系統,重啟db,現在在服務端無論用什麼使用者登陸只要不加服務名都錯誤;串連時加上服務名就正確。到底為什麼呀?C:>sqlplus /nologSQL*Plus: Release 9.2.0.1.0 - Production on 星期三 1月 31 08:46:08 2007Copyright (c) 1982, 2002, Oracle Corporation.
Time of Update: 2018-12-07
怪事年年有,今年特別多。 今天,我機子上好好的一個vs 2008的項目,拷到同事的機子上後,竟然不能運行,報“未能載入程式集”的錯誤。一看才知道,所有的程式集引用(除了System下的)的“複製本地”屬性,都為false。奇了怪了,在我這裡不是好好的true嗎? 無奈,卸載項目,然後編輯csproj檔案,發現每個引用下面,其實根本就沒有指定CopyLocal屬性! 重新附加元件目,然後把它設成true,然後再開啟csproj檔案,發現多出來一個節點:
Time of Update: 2018-12-07
使用注意事項:sKey要為8位,或16位字元using System;using System.Collections.Generic;using System.Text;using System.Security.Cryptography;using System.IO; public class DesSecurity { /// <summary> /// 加密原函數 ///
Time of Update: 2018-12-07
using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using
Time of Update: 2018-12-07
//表單對象 function GetObject(Name) { var inputlist=document.all.tags('input'); var i=0; for(i=0;i<inputlist.length;i++) { var input=inputlist[i]; if(input.id.indexOf(Name) !=-1) {
Time of Update: 2018-12-07
(譯者註:這個系列是翻譯inovak在DiveDeeper上的LearnVSXNow系列博文,該系列的目錄可以在這裡找到,也可以點擊這裡直接存取DiveDeeper部落格) 我是一個Visual Studio的愛好者。有很多次,我都很想建立一些VS的外掛程式來協助我完成一些開發工作。我也一直在嘗試勸說我的同事們把他們常用的功能做成VS外掛程式。但是,當他們問我如何入手的時候,我總是建議他們去看微軟的SDK以及相關的文檔。但我的同事們常見的問題是: ·
Time of Update: 2018-12-07
IIS安裝時,安裝程式無法複製一個或多個檔案。特定錯誤碼是0x4b8故障現象 安裝IIS的時候一直提示如下錯誤,IIS無法正常安裝。提示:安裝程式無法複製一個或多個檔案。特定錯誤碼是 0x4b8。按“確定”以繼續;或者按“取消”,停止安裝並且再試一次。如果繼續,組件可能無法正常運行。解決方案 (1) 開始 > 運行 > 輸入 CMD >再輸入以下命令:esentutl /p
Time of Update: 2018-12-07
幾乎所有的VSPackage都有使用者互動,使用者可以通過點擊Visual Studio中的菜單或工具列來啟用VSPackage的功能或顯示相關的介面。 在這一篇文章裡,我們來看一下Visual Studio的菜單和工具列是如何被定義、建立、顯示和使用的。不過這篇文章我只是說一下一些基本的知識,到下一篇文章我們再來看一些範例程式碼。一些概念
Time of Update: 2018-12-07
<div id="divfy" style="z-index: 200; width: 100%; position: absolute; top: 0px; text-align: center; padding-top: 2px;"> <script type="text/javascript" language="javascript"> function