10 2009 档案

摘要: <appSettings>     <add key="FCKeditor:BasePath" value="~/fckeditor/"/>     <add key="FCKeditor:UserFilesPath" value="~/U...阅读全文
posted @ 2009-10-15 14:33 汉城 阅读(293) | 评论 (0) 编辑
摘要: @"Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=" + Path + ";" + "Extended Properties='Excel 8.0;HDR=Yes;IMEX=1;'";阅读全文
posted @ 2009-10-14 17:56 汉城 阅读(204) | 评论 (0) 编辑
摘要: 首先引入类库,Microsoft.Office.Interop.Word,然后进行编程。代码如下: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System...阅读全文
posted @ 2009-10-13 12:58 汉城 阅读(98) | 评论 (0) 编辑
摘要: 解决方法一: 控制面板-》管理工具-》组件服务-》计算机-》我的电脑-》DCom配置-》找到Microsoft Word文档 之后 单击属性打开此应用程序的属性对话框。? 2. 单击标识选项卡,然后选择交互式用户。 3.单击"安全"选项卡,分别在"启动和激活权限"和"访问权限"组中选中"自定义",然后 自定义-...阅读全文
posted @ 2009-10-13 12:55 汉城 阅读(166) | 评论 (0) 编辑
摘要: select ceiling(48/10.00)  等于 5阅读全文
posted @ 2009-10-12 17:02 汉城 阅读(104) | 评论 (0) 编辑
摘要: declare    @wnPageIndex        int        --第几页         ,@wiCount  ...阅读全文
posted @ 2009-10-12 16:52 汉城 阅读(48) | 评论 (0) 编辑
摘要:   说明 On 指定启用自定义错误。如果未指定 defaultRedirect,用户将看到一般性错误。 Off 指定禁用自定义错误。这允许显示标准的详细错误。 RemoteOnly 指定仅向远程客户端显示自定义错误并且向本地主机显示 ASP.NET 错误。这是默认值。 system.web 元素 下添加下边的代码 <customErrors mode="R...阅读全文
posted @ 2009-10-12 16:16 汉城 阅读(259) | 评论 (0) 编辑
摘要: if object_Id('tempdb..#Temp1010')is not null     drop table #Temp1010 go if object_Id('tempdb..#Temp2020')is not null     drop table #Temp2020 go create table #Temp2020( ...阅读全文
posted @ 2009-10-10 16:18 汉城 阅读(81) | 评论 (0) 编辑
摘要:   1、ReadOnly 2、Disabled 3、contentEditable 4、onkeydown=" if( event.keyCode == 9  ){return true;}else{ return false;}"  onpaste="return false"阅读全文
posted @ 2009-10-10 15:11 汉城 阅读(45) | 评论 (0) 编辑