- 博客(25)
- 资源 (2)
- 收藏
- 关注
转载 最节约时间的Web开发工具网址大全
Front-end:HTML5 boilerplate - http://html5boilerplate.com/JqueryUI - http://jqueryui.com/AngularJS - http://angularjs.org/Backbonejs - http://backbonejs.org/EmberJS - http://emberjs.com/CanJS - ht
2014-09-17 12:59:07
717
原创 Sql Server 2008 游標的使用
DECLARE @trancount AS int, @dRowId AS int, @dAvailRoleCd AS varchar(20), @dRoleCd AS varchar(20), @dProgCd AS varchar(20), @dGrantAdd AS char(
2014-07-21 09:34:49
588
原创 前端学习
Angularjs2013:http://www.youkuaiyun.com/article/2014-01-03/2818005-AngularJS-Google-resource图表插件 highchart fushionchart弹出框 artdialog
2014-02-11 16:04:09
613
转载 编写windows service
地址: http://www.cnblogs.com/LittleFeiHu/archive/2010/10/26/1861229.html
2013-03-03 21:20:48
499
转载 C# windowsService安装
安装windows service通常有两种工具1.Framework目录下的installutil.exe工具。2.visual studio命令行工具在这里我要说的是当我们使用的系统是64位的系统,Framework包含1.0,2.0,3.0,3.5,4.0以及它们的64位版本时的情况。一、使用installutil.exe使用Visual Studio 2010创建的基于x86的
2013-03-03 21:11:47
3374
原创 NPOI读取Excel
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Data;using System.IO;using NPOI.SS.UserModel;using NPOI.HSSF.Util;using NPOI.HSSF.UserModel;using
2013-02-04 15:09:02
14276
3
原创 文本框样式(失去焦点和得到焦点)
<input id="txtUserName" runat="server" class="input" onblur="this.className='input'" onfocus="this.className='input_in'" type="text" />
2012-08-23 11:31:05
1038
原创 MongoDB简单的增删改
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using MongoDB.Dr
2012-08-14 09:17:51
4411
原创 压缩和解压缩
public enum CompressAlgorithm { GZip, DeflateStream } public class Compressor { private CompressAlgorithm algorithm; public Compressor(CompressAlgor
2011-11-14 12:42:31
996
转载 SL 表格的Excel导出
public static class ExportExcel { #region 导出DataGrid数据到Excel /// /// CSV格式化 /// /// 数据 /// 格式化数据
2011-06-28 14:25:00
1326
原创 Oracle求一年中每周所在的时间段
Connected to Connected as WCDMA SQL> SQL> SELECT SUNDAY.THE_WEEK, 2 DECODE(SIGN(SUNDAY.THE_DAY - SATURDAY.THE_DAY), 3 -1, 4 SUNDAY.THE_DAY,
2011-06-08 13:53:00
784
原创 SilverLight OOB模式与Com API交换的基础 和 C#编写Com 组件在SilverLight调用
原文:http://www.silverlightchina.net/html/tips/2010/0722/1610.html
2011-04-14 16:56:00
1611
原创 Js掉用SilverLight方法
1. Method called by Js [ScriptableMember] //该特性表示可以由js调用 public void CreateRect(int width,int height) { Rectangle rect = new Rectangle(); rect.Width = width; rect.Height = height;
2011-04-12 13:37:00
1049
原创 SilverLight创建JS,调用JS
<br />1.Invoke和InvokeSelf<br /> <br /> public partial class CreateJSDemo : UserControl { public CreateJSDemo() { InitializeComponent(); string jsText = @"function callJs(msg){alert(msg);}"; //function可以是在
2011-04-12 13:00:00
3051
原创 SilverLight 操作HTML元素 和HTML元素操作SilverLight对象
<br /> public partial class SilverLightElement : UserControl { public SilverLightElement() { InitializeComponent(); HtmlElement select = HtmlPage.Document.GetElementById("sel_Color"); select.Att
2011-04-12 11:44:00
765
原创 silverLight 获取初始化参数和网页参数
<br />1.新建一个Sl的用户控件命名为InitParamsDemo;<br /> <br />2.Add Param 属性在.aspx 后缀的测试页<br /> <br /><param name="initParams" value="id=12345,name=silverLight Developer" /><br /> <br />第一种方法:<br /> public partial class InitParamsDemo : UserControl {
2011-04-12 11:21:00
1265
原创 SilverLight ToolKit 绘制图表
<br />http://www.cnblogs.com/daizhj/archive/2009/07/24/1529320.html
2011-04-11 10:59:00
783
原创 MSCHART使用总结[转]
<br />chart2.Titles.Add(title); chart2.ChartAreas.Clear(); ChartArea chartArea2= chart2.ChartAreas.Add ("Default"); chartArea2.Area3DStyle.Inclination = 15; chartArea2.Area3DStyle.IsCluste
2011-03-30 14:09:00
1589
转载 MSChart使用总结[转]
mschart总结:1. mschart的坐标轴默认类型为decimal,所以不能太大。2. 可以为每个点添加提示信息; /// /// 设置点提示信息 /// /// /// protected void chartCWPBestMode_PreRender(object sender, EventArgs e) { for (int i = 0; i { chartCWPBestMode.Series[
2010-12-02 11:14:00
4864
1
原创 全表搜索字符串[转]
<br /> declare @str varchar(100) <br /> set @str='郑州南阳S-1N001' --要搜索的字符串 <br /> <br /> declare @s varchar(8000) <br /> declare tb cursor local for <br /> select s='if exists(select 1 from ['+b.name+'] where
2010-12-01 14:49:00
695
原创 C/S中的logFile
<br /> <br />public class LogFile{ public static object LockObu = new object(); /// <summary>/// 执行的SQL时发生错误或者未执行时,写入文件/// </summary>/// <param name="strSQL">执行的SQL 语句</param>/// <param name="strMessage">发生的错误信息</param> ///
2010-10-12 11:33:00
820
原创 SilverLight 利用 .Net RIA Service 进行数据库通信
<br />操作步骤:<br /> <br />1.在新建的SiverLight勾选Enable .NET RIA Service<br /> <br />2.在新建的Web站点项目中添加一个 Ado.net Entity Data Model,然后对其进行配置<br /> <br />3.添加DomainService:DomainService类是SilverLight与Ado.net 实体模型打交道的中介,在新建项中创建DomainService class,弹出一个关于DomainService的配
2010-09-06 22:10:00
1645
2
原创 SilverLight 3.0 WCF连接数据库
1.首先在Silverlight网站项目中添加一个Linq To Sql类:2.在silverLight网站项目中添加一个WCF服务,几会生产一个IStudentService文件和StudentService文件。IService文件中的代码如下:using System;using System.Collections.Generic;using System.Linq;using System.Runtime.Serialization;using System.ServiceMode
2010-09-06 21:02:00
1402
原创 Ext添加案例
1.建立一个页面 AddStudent.aspx using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Data.OracleClient;public partial class AddStudent : System.Web.UI.Page
2010-09-03 16:43:00
1872
原创 Ex中绑定Combo
1.建立一个输出数据的页面 Test.aspx 页面中只有一句话: 在PageLoad里面输出:Response.Write("{Data:[{timeId:/"1/",popularTime:/"一月/"},{timeId:/"2/",popularTime:/"二月/"},{timeId:/"3/",popularTime:/"三月/"}]}");2.建立一个测设页面 Combo.aspx
2010-09-03 16:39:00
636
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人