原创 水晶報表10 中應用自定義報表名

右鍵點擊 Formula Fields 選擇 New 輸入名稱 "title" 選擇數據庫字段,字符串之間用"+"連接, 保存,然後就和其它Field一樣使用了.

原创 asp.net 該目錄不存在或因爲安全設置而無法訪問

系統win2003+ASP.net,訪問時出現如下錯誤“服務器無法訪問應用程序目錄“F:/web/”。該目錄不存在或因爲安全設置而無法訪問。” 此目錄

原创 asp.net 子窗體應用

 asp.net 子窗體應用主窗體彈出子窗體代碼string s="<script language='javascript'>window.showModalDialog('WebForm2.aspx',window,'dialogwi

原创 Web程序中網頁間數據傳遞方法小結

我們總是會遇到這樣的情況,需要將數值從一個網頁傳遞到另一個網頁。在這篇文章中,向你展示了幾種從一個網頁向另一個網頁傳遞數值的幾種方法。在此例子中,創建的網頁由一個文本控件和幾個按鈕控件組成。在文本框中輸入的數據通過被標識在按鈕控件中的不同

原创 ComboBox的源代碼(WebForm)

  using   System;     using   System.Collections;     using   System.Collections.Specialized;     using   System.Compon

原创 Javascript中Window.open參數詳解

關於Window.open的參數小結(參書改編) 先看一個例子: [javascipt:]window.open("Webpage.asp?",Derek,"height=100,width=100,status=yes,toolbar=

原创 ActionScript按鈕事件

on (release){  trace("鼠標擡起"); //_root.gotoAndPlay(30);}on(press){ trace("鼠標按下");}on(releaseOutside){ trace("鼠標在外面擡起");

原创 TreeView 選擇項

private void myTree_Check(object sender, Microsoft.Web.UI.WebControls.TreeV

原创 一個簡單的組件事件偵聽器(Action Script 2.0)

 //拖入一個TextArea組件,命名爲mytxt//在第一幀輸入// 定義監聽事件listenerObject ={};listenerObjec

原创 API電腦響喇叭(C#)

using System.Runtime.InteropServices;[DllImport("user32.dll")]  public stat

原创 DataGrid 模板列數據綁定

模板列數據綁定 <# DataBinder.Eval(Container.DataItem, "loginfo").ToString()  > CommandName="LBLog" if(e.CommandName=="LBLog") 

原创 owc11COM組件

owc11COM組件下載地址 http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&FamilyID=7287252c-402e-4f72-97a5-e0fd2

原创 光標狀態設置

把光標設置爲等待://C#Cursor.Current = Cursors.WaitCursor;'VBCursor.Current = Cursor

原创 C#任務欄光標閃爍(api)

using System.Runtime.InteropServices;--------------------------  [DllImport

原创 顏色漸變矩形的畫法

protected override void OnPaint(PaintEventArgs pe) {Graphics g = pe.Graphic