原创 Ex中綁定Combo

1.建立一個輸出數據的頁面 Test.aspx      頁面中只有一句話: 在PageLoad裏面輸出: Response.Write("{Data:[{timeId:/"1/",popularTime:/"一月/"},{timeId:

原创 SilverLight 3.0 WCF連接數據庫

1.首先在Silverlight網站項目中添加一個Linq To Sql類,命名爲student:   2.在silverLight網站項目中添加一個WCF服務,就會產生一個IStudentService文件和StudentService

原创 C/S中的logFile

  public class LogFile { public static object LockObu = new object(); /// <summary> /// 執行的SQL時發生錯誤或者未執行時,寫入

原创 Ext添加案例

1.建立一個頁面 AddStudent.aspx    using System; using System.Collections.Generic; using System.Linq; using System.Web; using

原创 SilverLight 利用 .Net RIA Service 進行數據庫通信

操作步驟:   1.在新建的SiverLight勾選Enable .NET RIA Service   2.在新建的Web站點項目中添加一個 Ado.net Entity Data Model,然後對其進行配置   3.添加DomainS

原创 NPOI讀取Excel

using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data; using System.IO

原创 Sql Server 2008 遊標的使用

DECLARE @trancount AS int, @dRowId AS int, @dAvailRoleCd AS varchar(20),

原创 前端學習

Angularjs2013:http://www.csdn.net/article/2014-01-03/2818005-AngularJS-Google-resource 圖表插件 highchart  fushionchart ech

原创 最節約時間的Web開發工具網址大全

轉自:http://www.evget.com/article/2014/9/17/21592.html Front-end: HTML5 boilerplate - http://html5boilerplate.com/JqueryU

原创 Js掉用SilverLight方法

1. Method called by Js [ScriptableMember] //該特性表示可以由js調用 public void CreateRect(int width,int height)

原创 C# windowsService安裝

安裝windows service通常有兩種工具 1.Framework目錄下的installutil.exe工具。 2.visual studio命令行工具在這裏我要說的是當我們使用的系統是64位的系統,Framework包含1.0,

原创 編寫windows service

地址: http://www.cnblogs.com/LittleFeiHu/archive/2010/10/26/1861229.html

原创 MongoDB簡單的增刪改

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; u

原创 壓縮和解壓縮

public enum CompressAlgorithm { GZip, DeflateStream } public class Compressor {

原创 SilverLight 操作HTML元素 和HTML元素操作SilverLight對象

public partial class SilverLightElement : UserControl { public SilverLightElement() {