Time of Update: 2018-12-07
靜態方法:using System;using System.Collections;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using System.Data.SqlClient;using System.Reflection; Public static DataTable LinqToDataTable(IEnumerable list){
Time of Update: 2018-12-07
客戶帳號不可為空:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--><Listeners><Click Handler=" if(!#{txtNetUserName}.validate()) { Ext.Msg.alert('警告','客戶帳號不可為空!');
Time of Update: 2018-12-07
1.logo圖片 \themes\ClassicSugar\images\company_logo.png2.登陸圖片\images\middle-bg.gif3.預設主題\config.php'default_theme' => 'ClassicSugar'4.不顯示選擇主題\login.php位置:<td align=right>主題:</td><td><select style='width: 120px'
Time of Update: 2018-12-07
本文是學習了黃忠成老師的《決戰.net -.net framework 3.5》書中 LINQ To DataTable
Time of Update: 2018-12-07
: 技術實現:前台:<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RuKD.aspx.cs" Inherits="HuoDGL_DaY_RuKD" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
Time of Update: 2018-12-07
方法一: Ext.Msg.Alert("訊息", "請輸入檢索內容!").Show(); 方法二: Ext.Msg.Show(new MessageBox.Config { Title = "查詢結果", Message = "<font style='color:black;'>沒有找到任何資料!</font>", Buttons = MessageBox.Button.OK, Icon =
Time of Update: 2018-12-07
實現效果:技術實現:前台代碼:<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="ASPNet探秘._Default" %><%@ Register Assembly="System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Time of Update: 2018-12-07
Button、TextField、DataField、ComBox這些控制項好象也沒什麼好學的,任何一個學過ASP.NET的朋友都應該會使用這些控制項,Coolite Toolkit裡的這些控制項相比標準的ASP.NET控制項提供了需要特殊的功能,比如DataFiled控制項在.NET Framework裡則是沒有的,這些控制項在系統開發中是非常有用的。一、按扭(Button)控制項 Coolite
Time of Update: 2018-12-07
1.logo圖片 \themes\ClassicSugar\images\company_logo.png 在此檔案中 \themes\ClassicSugar\header.html 2.登陸圖片 \images\middle-bg.gif 3.預設主題 \config.php 'default_theme' => 'ClassicSugar' 4.不顯示選擇主題 \login.php 位置:<td align=
Time of Update: 2018-12-07
Coolite 中的ComboBox控制項樣本,這裡寫出幾個常用方法:一、基本用法: <ext:ComboBox ID="cboSelectCol" runat="server" AllowBlank="false" Editable="false" FieldLabel="檢索條件" EmptyText="請選擇檢索條件" > <Items> <ext:ListItem Text="按標題檢索"
Time of Update: 2018-12-07
有兩種方式:.net wsdl檔案用法(一)工程—引用Web服務 添寫wsdl檔案地址,單擊前往,修改命名空間,確定。 命名空間.WebService名稱.FileServiceClient fs = new 命名空間.WebService名稱.FileServiceClient();//執行個體化webservice用戶端對象 (二)通過WSDL檔案自動產生類-WebService 使用在vs2008中的命令提示(命令列)工具,執行 wsdl "http://238.24.356.
Time of Update: 2018-12-07
1.將FCK加入到系統中 (1)工程引用FredCK.FCKeditorV2.dll (2)將fckeditor檔案夾考至工程目錄下 (3)在頁面上寫 <FCKeditorV2:FCKeditor ID="fckHtmlEditor" runat="server" Height="600" Width="880"/>後台取值: string
Time of Update: 2018-12-07
:關係代碼: <Command Handler="if(command=='butSelectReocrd'){str=record.data.SessionId; #{AjaxMethods}.SelectRecord(str);}" />全部html代碼:代碼Code highlighting produced by Actipro CodeHighlighter
Time of Update: 2018-12-07
:html代碼:<ext:FormLayout ID="FormLayout1" runat="server" LabelWidth="40"> <ext:Anchor> <ext:CheckboxColumn ID="CheckboxColumn1" runat="server" ColumnWidth="0.25" > <Items>
Time of Update: 2018-12-07
:html代碼: <ext:Panel ID="Panel4" runat="server" Icon="UserHome" Title="客戶資訊" Width="885px" Height="555px" Frame="true" > <Body> <ext:BorderLayout ID="BorderLayout1" runat="server">
Time of Update: 2018-12-07
:前台部份:<ext:Store ID="Store1" runat="server" AutoLoad="false" > <Reader> <ext:JsonReader ReaderID="id"> <Fields> <ext:RecordField Name="id" Type="String" Mapping="id" />
Time of Update: 2018-12-07
方法一:防止頁面滾動#region "防止頁面滾動"public void RetainScrollPosition(System.Web.UI.Page myPage,string strBodyName){StringBuilder saveScrollPosition = new StringBuilder ();StringBuilder setScrollPosition = new StringBuilder ();myPage.RegisterHiddenField("__SCRO
Time of Update: 2018-12-07
'主板蜂鳴 '' Beep'' VB聲明' Declare Function Beep Lib "kernel32" (ByVal dwFreq As Long, ByVal dwDuration As Long) As Long' 說明' 用於產生簡單的聲音' 傳回值' Long,TRUE(非零)表示成功,否則返回零。會設定GetLastError' 參數表' 參數 類型及說明' dwFreq
Time of Update: 2018-12-07
using System;using System.Collections.Generic;using System.Text;using System.Data;using System.Data.SqlClient;using Microsoft.Office.Interop.Excel;using Microsoft.Office.Interop.Word;using System.Collections;using System.IO;namespace Common{
Time of Update: 2018-12-07
:Html代碼:<ext:Panel ID="Panel6" runat="server" > <Body> <ext:ColumnLayout ID="ColumnLayout3" runat="server"> <ext:LayoutColumn > <ext:Panel ID="Panel1"