Time of Update: 2018-12-07
設定ASPNET頁面編碼格式1、Web.Config設定 <configuration> <system.web> <globalization requestEncoding="utf-8" responseEncoding="utf-8"/> </system.web> </configuration> 2、單個版面設定<configuration> <location path="Index.
Time of Update: 2018-12-07
1、ExtJS資料模型基礎 ExtJS資料包中重要的三類:Model(資料實體模型)、Store(資料集)和Proxy(資料代理) ExtJS的資料模型主要包括:資料實體模型:Model資料實體模型代表了應用系統中用到的資料實體。資料代理:Proxy 資料代理用來處理資料的讀取和儲存,如通過Ajax代理擷取伺服器端的資料。資料讀寫器:Reader、Writer資料讀寫器用於讀取未經處理資料到Model資料實體模型,或者將Model資料實體模型格式化為指定的資料格式。資料集:Store
Time of Update: 2018-12-07
1、checkbox list選擇:代碼:<!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 runat="server">
Time of Update: 2018-12-07
Ext.layout.container.Auto自動布局是容器在沒有指定布局方式時預設採用的布局類型,使用原始的HTML文檔流來布局子項目,並把布局調用傳遞到子容器中,對應面板配置項(layout)的名稱為Auto。 Auto樣本: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
Time of Update: 2018-12-07
1、基本使用代碼:<html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title>Pannel</title> <link href="/jquery-easyui-1.2.4/themes/default/easyui.css" rel="stylesheet" type="text/css" /> <link
Time of Update: 2018-12-07
1、方法的聲明 方法是類成員的一種,也稱函數成員。函數成員就是類本身提供特定功能的方法,利用調用類對象的方法,使不同的類之間得以相互溝通,完成所要執行的運算或特定的工作。 在Visual C#中,如果方法沒有傳回值,其傳回型別必須為void。如果方法有傳回值,則必須指定其返回的資料類型。 2、方法的參數
Time of Update: 2018-12-07
1、基本用法代碼:<html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title>日期控制項</title> <link href="/jquery-easyui-1.2.4/themes/default/easyui.css" rel="stylesheet" type="text/css" /> <link
Time of Update: 2018-12-07
------------------------------------------------------------------- Date Created: 2009-5-15 16:18:04-- Created By: Generated by CodeSmith-----------------------------------------------------------------USE NorthwindGO-- If procedure
Time of Update: 2018-12-07
1、基本使用代碼:<html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title>Window</title> <link href="/jquery-easyui-1.2.4/themes/default/easyui.css" rel="stylesheet" type="text/css" /> <link
Time of Update: 2018-12-07
一般常用顏色表:顏色代碼名稱 顏色代碼名稱 #6B8E23olivedrab #FFFF00yellow #808080gray #008000green #EE82EEviolet #FFC0CBpink #4682B4steelblue #FFFF93 #800080purple #A52A2Abrown #CC0000 #800000maroon #FF8282 #000000black #8080FF #8080C0 #FFA500orange #FFFFFF
Time of Update: 2018-12-07
1、SQL事務優點:執行效率最佳限制:事務上下文僅在資料庫中調用,難以實現複雜的商務邏輯。 例:代碼 Code highlighting produced by Actipro CodeHighlighter
Time of Update: 2018-12-07
Ext.grid.Panel表格分頁樣本代碼:cshtml@{ Layout = null;}<!DOCTYPE html><html><head> <title>Ext.grid.Panel動態載入分頁資料</title> <link href="@Url.Content("~/Scripts/ext-4.0.7-gpl/resources/css/ext-all.css")" rel="stylesheet"
Time of Update: 2018-12-07
1、基本使用代碼:<html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title>Dialog</title> <link href="/jquery-easyui-1.2.4/themes/default/easyui.css" rel="stylesheet" type="text/css" /> <link
Time of Update: 2018-12-07
1、TinyMCE下載官方下載網址:http://www.tinymce.com/簡體中文語言套件下載:http://www.tinymce.com/i18n/index.php?ctrl=lang&act=download&pr_id=12、下載包中樣本代碼:<!DOCTYPE html><html><head> <title>@ViewBag.Title</title>
Time of Update: 2018-12-07
1、基本樣本代碼: 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head runat="server"> 4 <title>Ext.tree.
Time of Update: 2018-12-07
Ext.tab.Panel頁簽組件的每個tab都是一個Ext.panel.Panel,一般情況會有多個tab同時存在,但是同一時刻只有一個處於啟用狀態。 Ext.tab.Panel主要設定項目表:配置項參數類型說明activeTabString/Number設定預設啟用的tab也,參數為tab頁的id或索引值layoutObjecttabPanel內建的card布局minTabWidthNumbertab標籤的最小寬度,預設為30plainBooleantrue則不顯示TabBar的完整背
Time of Update: 2018-12-07
Ext.container.Viewport代表瀏覽器視窗的整個地區,將document body作為渲染對象,它會根據瀏覽器視窗的大小自動調整自身的尺寸,在一個頁面中只允許出現一個Viewport執行個體。此外它沒有提供對捲軸的支援,如果需要使用捲軸需要在其子面板中進行設定。 1、簡單樣本 HTML代碼:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
Time of Update: 2018-12-07
Ext.layout.container.Border對應面板布局layout配置項的名稱為Border,該布局包含多個子面板,是一個面嚮應用的UI風格的布局,它將整個容器分為5個部分,分別是:east(東)、south(南)、west(西)、north(北)和center(中)。加入到容器中的子面板需要指定region配置項來告知容器要加入到那個部分。 代碼:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
Time of Update: 2018-12-07
Ext.layout.container.Absolute對應面板布局配置項的Absolute,可以根據子面板中配置的x/y座標進行定位。 代碼:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html
Time of Update: 2018-12-07
Ext.layout.container.Accordion摺疊布局,對應面板布局配置項的Accordion。該布局可以包含多個子面板,任何時候都只有一個子面板處於開啟狀態,每個面板都內建了對展開和收縮功能的支援。1、Ext.layout.container.Accordion主要配置配置項類型說明activeOnTopBoolean是否保持展開的子面板處於父面板的頂端,true則交換當前展開面板到頂端,false則保持原來的位置不動animateBoolean設定在展開或收縮子面板時是否使