Time of Update: 2018-12-05
select cert_no from jsw_user_info where len(cert_no)<18create function f_CID15to18(@sfz char(18))returns char(18)asbegin declare @osfz varchar(18) declare @i int,@ai int,@wi int,@sum int,@mod int,@result int set @osfz=@sfz set @sum=0
Time of Update: 2018-12-05
核心提示:JS判斷只能是數字和小數點 只能輸入字母和漢字 只能輸入字母和漢字JS判斷只能是數字和小數點 1.文字框只能輸入數字代碼(小數點也不能輸入) <input onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')"> 2.只能輸入數字,能輸小數點. <input
Time of Update: 2018-12-05
1.重寫 ContextLoaderListener 監聽器。package com.ucap.xzsp.util;import javax.servlet.ServletContext;import javax.servlet.ServletContextEvent;import org.springframework.context.ApplicationContext;import
Time of Update: 2018-12-05
1.Why use cocos2d?多平台支援,有多少?請看List:AndroidiOSWindows Phone 8Windows 8Windows 7Mac OS
Time of Update: 2018-12-05
在項目中實際設計中需要改變RichTextBox的UI呈現,今天在Coding的過程中發現在RichTextBox的ControlTemplate中使用ContentPresenter並不能將RichTextBox的Content呈現出來。 查看MSDN,參見http://msdn.microsoft.com/en-us/library/ff457769(v=vs.95).aspx
Time of Update: 2018-12-05
在項目中使用ListBox時,經常會將ItemContainerStyle和ItemTemplate的作用搞混,ItemTemplate可以搞定一切好似ItemContainerStyle有點多餘。我們再來看下ItemContainerStyle和ItemTemplate。 ItemContainerStyle用於給每個Item的容器定義樣式,其類型是Style。包含了操作Item的Triggers。
Time of Update: 2018-12-05
上文發布後 Link:http://www.cnblogs.com/tmywu/archive/2013/04/13/3017888.html#2657529,引起了對Node.js內部實現Event
Time of Update: 2018-12-05
由於項目中要部署的App有很多,每次發布一個版本後都有一堆垃圾檔案,部署在眾多的終端機上不注意的話十分容易搞錯。記得以前在VS中是可以設定下不產生vhost和pdb檔案的,就順手GOOGLE了下。再看下VS2012裡配置的地方基本沒動過。 1.在Application的Configuration裡選擇Debug選項卡,去掉Visual Studio Hosting Process選項。2.Build選項卡-Advanced -Ouput中Debug
Time of Update: 2018-12-05
/*---Description: Generate r_id for reply table---Author : zhongcanjun---Date : 2007-06-13*/CREATE PROCEDURE [dbo].[sp_get_code_reply] @reply_id CHAR(9) OUTPUTAS/* Declaraton of Variables Block*/DECLARE @v_last_cd CHAR(7), @v_prefix
Time of Update: 2018-12-05
Prism是一款輕量級的WPF架構,用於建立複合的WPF應用程式,儘可能的將Ui和邏輯分開。在對這款架構的理解過程也是一個對設計模式的理解過程。Prism
Time of Update: 2018-12-05
1、DNN是基於N-Tier的,分UI、BLL、DAL、DSL等四層,UI就是具體的Web Controls(*.ascx),BLL就是商務邏輯,DAL就是基於Provider模式的資料存取,DSL就是資料存放區,根據實際情況可能是ACCESS、MS SQL、Oracle、MySQL等;2、DNN是基於模組的,這意味著你開發的模組都必須使用Web
Time of Update: 2018-12-05
Prism的Loging是一個相對獨立的功能模組,基於最基本的Log功能,可以有Trace、Console等方式進行日誌的輸出。當然除了以上所提的Log功能,還可以本地化儲存、網路儲存日誌等複雜的功能。將這些複雜功能封裝,暴露一部分功能或者簡單的方式供外部使用,Prism使用Facade模式來實現日誌功能。關於Facade模式的講解,Link:http://www.cnblogs.com/cjfwu/archive/2013/03/23/2977541.html上文詳細描述了Facade模式的定
Time of Update: 2018-12-05
ToggleButton: <UserControl x:Class="ToggleButtonDemo.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Time of Update: 2018-12-05
1、屬性產生器->常規->允許排序 AllowSorting="True"2、屬性產生器->列->為要排序的每個列加上排序運算式 SortExpression="kmdm"3、private void Page_Load(object sender, System.EventArgs e){ if (!IsPostBack) { if(this.kjkm_dg.Attributes["SortExpression"]==null)
Time of Update: 2018-12-05
嚴重: Servlet /mytest threw load() exceptionorg.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized xbean element mapping: beans in namespace http://xfire.codehaus.org/config/1.0 at
Time of Update: 2018-12-05
private void initImg() { ImgBtn1.ImageUrl="../Images/newsno1_r5_c7.jpg"; ImgBtn2.ImageUrl="../Images/newsno1_r5_c8.jpg"; ImgBtn3.ImageUrl="../Images/newsno1_r5_c10.jpg"; ImgBtn4.ImageUrl="../Images/newsno1_r5_c12.jpg"; ImgBtn5.ImageUrl=".
Time of Update: 2018-12-05
基本圖形:Rectangle及Ellipse此樣本為了測試RadiusX,RadiusY這兩個屬性的具體含義<UserControl x:Class="ShapeDemo.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Time of Update: 2018-12-05
自己重寫一個ContextLoaderListener ,然後配置在web.xml替代ContextLoaderListener Java代碼 public class SpringLoaderListener extends ContextLoaderListener { @Override public void contextInitialized(ServletContextEvent event) {
Time of Update: 2018-12-05
關於Silverlight的基本控制項:TextBlock:普通文本 範例程式碼 <Grid x:Name="LayoutRoot" Background="White"> <Grid.RowDefinitions> <RowDefinition></RowDefinition> <RowDefinition></RowDefinition>
Time of Update: 2018-12-05
容器類控制項-Canvas:常用屬性有Canvas.LeftCanvas.TopCanvas.ZIndex後台編碼設定以上屬性文法格式為:Canvas.SetLeft(Element對象,值)Canvas.SetTop(Element對象,值)Canvas.SetZIndex(Element對象,值)範例程式碼:<UserControl x:Class="CanvasDemo.MainPage" xmlns="http://schemas.microsoft.com/winfx/20