2009年6月10日
摘要: 开发平台:Visual Studio 2005 语言:C#首先添加应用"Microsoft Word 11.0 Object library"的COM组件,从而来实现读取word文档的对象。然后添加命名空间using System.Windows.Forms; //添加应用,添加System.Windows.Forms 的.NET组件代码实现:object filepath = this.File... 阅读全文
posted @ 2009-06-10 21:32 sweting 阅读(1310) 评论(0) 推荐(0)
摘要: 上传图片的是HTML 控件:FILE 定义如下: ..<input type="file">.. 为了显示图片先给个服务器控件 Image: ...<asp:Image ImageUrl="预先显示图片.gif" ranunt="server">... 下面实现当File内容改变,即图片地址改变时,Image显示不同图片: 在 File 控件里的onchange加处理事件:... 阅读全文
posted @ 2009-06-10 15:52 sweting 阅读(241) 评论(0) 推荐(0)
摘要: CREATE procedure deletecolumn(@nfather nvarchar(50))as declare @t table(n_name nvarchar(50),n_fathername nvarchar(50),level int)declare @i intset @i=1insert into @t select n_name,n_fathername,@i from ... 阅读全文
posted @ 2009-06-10 15:09 sweting 阅读(481) 评论(0) 推荐(0)