摘要: try {System.Data.DataSet ds = new System.Data.DataSet();//for 2007 //string strConn = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + Server.MapPath("1111.xlsx") + ";Extended Properties=\"Excel 12.... 阅读全文
posted @ 2010-07-05 20:51 3.mu 阅读(713) 评论(0) 推荐(0) 编辑
摘要: HttpContext.Current.Response.Clear();//清除缓冲区流中的所有内容输出。 HttpContext.Current.Response.Write(message); //将信息写入 HTTP 响应输出流。HttpContext.Current.Response.Flush();//向客户端发送当前所有缓冲的输出。HttpContext.Current.Respo... 阅读全文
posted @ 2010-07-02 14:48 3.mu 阅读(482) 评论(0) 推荐(0) 编辑
摘要: 用鼠标移动TR 0 0 0 1 1 1 2 2 2 3 3 3 4 4 4 5 5 5 6 6 6 7 7 7 阅读全文
posted @ 2010-07-01 16:32 3.mu 阅读(238) 评论(0) 推荐(1) 编辑
摘要: CREATEPROCsp_PageView@tbnamesysname,--要分页显示的表名@FieldKeynvarchar(1000),--用于定位记录的主键(惟一键)字段,可以是逗号分隔的多个字段@PageCurrentint=1,--要显示的页码@PageSizeint=10,--每页的大小(记录数)@FieldShownvarchar(1000)='',--以逗号分隔的要显示的字段列表,... 阅读全文
posted @ 2010-06-27 12:58 3.mu 阅读(174) 评论(0) 推荐(1) 编辑
摘要: grid.on("rowcontextmenu", function (grid, rowIndex, e) { e.preventDefault(); if (rowIndex < 0) { return; } var treeMenu = new Ext.menu.Menu ([ { xtype: "", text: "详细", iconCls: 'context-dog', press... 阅读全文
posted @ 2010-06-18 10:00 3.mu 阅读(1031) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/3_mu/articles/1704941.html 阅读全文
posted @ 2010-04-05 22:50 3.mu 阅读(457) 评论(0) 推荐(0) 编辑
摘要: ps: 1.处理silverlight 工作流(1)基类2.处理在活动 拖动过程中 活动与活动不能重叠3.提供 一个方法获取 所有活动列表 4.提供一个方法根据坐标获取活动实例(为后面的活动之间连线做准备)效果:先贴出基类代码:定义 一些基本的属性baseActive Code highlighting produced by Actipro CodeHighlighter (freeware)h... 阅读全文
posted @ 2010-04-04 12:11 3.mu 阅读(735) 评论(0) 推荐(1) 编辑
摘要: 链接 阅读全文
posted @ 2009-12-23 14:10 3.mu 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 1.sliverlight3.0在添加新建项的时候 可以添加ChildWindow.xaml ChildWindow.xaml.cs public ChildWindow1() { InitializeComponent(); } public string param="no set"; private void OKButton_Click(object sender, RoutedEve... 阅读全文
posted @ 2009-12-22 20:25 3.mu 阅读(372) 评论(0) 推荐(0) 编辑
摘要: 1 如果要获得的对象就是产生事件的对象,则最简单。正如QuickStarts中列举的那样 function changelocation(sender, args) { sender["Canvas.Top"] = 70; } 2 如果要获得对象包含的子元素对象,则可使用findName方法 function changeEllipseColor(sender, args) { sen... 阅读全文
posted @ 2009-12-21 16:48 3.mu 阅读(242) 评论(0) 推荐(0) 编辑