龙亿

------ 细细口味人生中的每一杯苦咖啡.

导航

2009年9月19日

摘要: using System; using System.Collections.Generic; using System.Text; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; using System.IO; namespace Loskiv.Utility { /**/... 阅读全文

posted @ 2009-09-19 17:20 龙亿 阅读(659) 评论(0) 推荐(0) 编辑

摘要: window.open('index.htm','title','height=100,width=200,top=0,left=0,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no') window.showModalDialog('index.htm','title','scrollbars=yes;... 阅读全文

posted @ 2009-09-19 07:45 龙亿 阅读(513) 评论(0) 推荐(1) 编辑

2009年9月18日

摘要: SELECT 表名=d.name, 表说明=isnull(f.value,''), 字段序号=a.colorder, 字段名=a.name, 标识=case when a.colstat=1 then '√'else '' end, 主键=case when exists(select 1 from sysindexes y,sysindexkeys z where y.id=z.id... 阅读全文

posted @ 2009-09-18 20:23 龙亿 阅读(503) 评论(0) 推荐(0) 编辑

2009年4月10日

摘要: C#反射 处理事件string assemblyName=类库;string builderName=事件;Assembly assembly=Assembly.Load(assemblyName);Type t=assembly.GetType(builderName);Builder builder=Activtor.CreateInstance(t);Hourse hourse=类.抽象类(... 阅读全文

posted @ 2009-04-10 23:01 龙亿 阅读(264) 评论(0) 推荐(0) 编辑

2009年4月8日

摘要: 在写Windows环境下,常会用到Tree控件,以下是通过XML文件构建Tree控件树形的方法.添加一个引用 using System.XML.Linq;[代码]---------------------------------------龙亿-----原创--------------------------------------------------------- 阅读全文

posted @ 2009-04-08 23:45 龙亿 阅读(1122) 评论(0) 推荐(0) 编辑

2009年3月3日

摘要: using System;using System.Collections.Generic;using System.Text;using System.IO;using Microsoft.Win32;using System.Diagnostics;namespace Uni.UniCustoms{ public class clsWinrar { /// <summary> //... 阅读全文

posted @ 2009-03-03 14:01 龙亿 阅读(3809) 评论(5) 推荐(1) 编辑

2009年2月6日

摘要: 在很多应用中需要做windows服务来操作数据库等操作,比如(1)一些非常慢的数据库操作,不想一次性去做,想慢慢的通过服务定时去做,比如定时为数据库备份等(2)在.net Remoting中利用windows服务来做Host利用vs.net我们可以在几分钟之内建立其windows服务,非常简单下面说一下步骤1.新建一个项目2.从一个可用的项目模板列表当中选择Windows服务3.设计器会以设计模式... 阅读全文

posted @ 2009-02-06 22:37 龙亿 阅读(593) 评论(0) 推荐(0) 编辑

2008年12月8日

摘要: 在本篇文件中,我们将讨论编程人员在使用ASP.NET开发应用程序时需要注意的10个技巧,这些技巧涉及从缺省的控件、表单名的改变到StringBuilder类的使用,有助于编程人员能够尽快地适应.NET环境。1、在使用Visual Studio .NET时,除直接或非引用的对象外,不要使用缺省的名字。 .NET带来的好处之一是所有的源代码和配置文件都是纯文本文件,能够使用Notepad或WordPa... 阅读全文

posted @ 2008-12-08 00:10 龙亿 阅读(192) 评论(0) 推荐(0) 编辑

2008年12月7日

摘要: 1.弹出对话框. a. 弹出对话框: C# codeClientScript.RegisterStartupScript(this.GetType(), "", ""); b.转向指定页面 C# code Response.Write(" ");//window.location.href也可以 c. 打开新的浏览器窗口 C# codeResponse.Write(" "... 阅读全文

posted @ 2008-12-07 23:45 龙亿 阅读(433) 评论(0) 推荐(0) 编辑

摘要: FCKeditor相关资料简介: 官方网站http://www.fckeditor.net/ 官方文档http://wiki.fckeditor.net/ 下载地址http://www.fckeditor.net/download/default.html 官方演示http://www.fckeditor.net/demo/default.html FCKEditor asp.net设置 下载:h... 阅读全文

posted @ 2008-12-07 04:19 龙亿 阅读(325) 评论(0) 推荐(0) 编辑