代码改变世界

oracle全文检索

2014-08-13 14:05 by 悠悠鑫宝, 582 阅读, 0 推荐, 收藏, 编辑
摘要:转载自:http://blog.sina.com.cn/s/blog_613fee860100yhyz.html1.需要对ctxsys用户解锁,以获得ctx_ddl包的操作权。进入system用户,输入如下命令,解锁ctxsys用户alter user ctxsys account unlock;然... 阅读全文

oracle 全文检索

2014-08-13 11:35 by 悠悠鑫宝, 987 阅读, 0 推荐, 收藏, 编辑
摘要:一、使用 sys 用户登录oracle(1)运行—cmd—sqlplus — sys/密码 @连接字符 as sysdba二、授权1、grant ctxapp to 全文检索使用用户;2、grant execute on ctx_dll to 全文检索使用用户;3、全文检索使用用户 登录oracle... 阅读全文

调用具体webservice方法时时报错误:请求因 HTTP 状态 503 失败: Service Temporarily Unavailable

2014-08-12 10:19 by 悠悠鑫宝, 9626 阅读, 0 推荐, 收藏, 编辑
摘要:添加web引用会在相应项目的app.cofig文件中产生如下代码: ……………… http://10.27.213.172:8080/PetroChinaService/PetroChina http://10.88.248.111:88/dm/cxf-services/ReportSS... 阅读全文

多种下载文件方式 Response.BinaryWrite(byte[] DocContent);Response.WriteFile(System.IO.FileInfo DownloadFile .FullName);Response.Write(string html2Excel);

2014-08-07 15:47 by 悠悠鑫宝, 1225 阅读, 0 推荐, 收藏, 编辑
摘要:通过html给xls赋值,并下载xls文件一、this.Response.Write(sw.ToString());System.IO.StringWriter sw = new System.IO.StringWriter(); this.Response.Clear(); string strF... 阅读全文

.net文件下载方法汇总

2014-08-07 10:47 by 悠悠鑫宝, 312 阅读, 0 推荐, 收藏, 编辑
摘要:转载自:http://blog.sina.com.cn/s/blog_680942070101ahsq.html//TransmitFile实现下载protected void Button1_Click1(object sender, EventArgs e){string strFileName... 阅读全文

C#远程获取/读取网页内容

2014-08-07 10:45 by 悠悠鑫宝, 1474 阅读, 0 推荐, 收藏, 编辑
摘要:转载自 :http://blog.csdn.net/gisfarmer/article/details/2836904usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Net;usingSystem.IO... 阅读全文

asp.net从服务器(指定文件夹)下载任意格式的文件到本地

2014-08-07 10:43 by 悠悠鑫宝, 1617 阅读, 0 推荐, 收藏, 编辑
摘要:一、我需要从服务器下载ppt文件到本地protected void Btn_DownPPT_Click(object sender, EventArgs e) { DBService svc = new DBService(); svc.DownPpts(); string strFileName ... 阅读全文

Sys.WebForms.PageRequestManagerParserErrorException:无法分析从服务器收到的消息

2014-08-07 10:29 by 悠悠鑫宝, 228 阅读, 0 推荐, 收藏, 编辑
摘要:我引起此原因的功能如下:在aspx页面添加按钮JS方法:function downPPT() {$("#Btn_DownPPT").click(); } ………… ………… ………… aspx.cs方法protected void Btn_DownPPT_Click(object... 阅读全文

.net简单页面后台绑定下拉框,按钮,分页 后台cs文件

2014-07-30 10:44 by 悠悠鑫宝, 316 阅读, 0 推荐, 收藏, 编辑
摘要:二、cs文件using System;using System.Collections.Generic;using System.Web.UI;using System.Web.UI.WebControls;using BS.EAP.DBAccess;using System.Data;using ... 阅读全文

.net简单页面后台绑定下拉框,按钮,分页 前台aspx页面

2014-07-30 10:42 by 悠悠鑫宝, 325 阅读, 0 推荐, 收藏, 编辑
摘要:一、aspx页面 查询数据表列 查询数据表列页面 收起 业务: --%> 业务: 表: 正在生成查询,请稍候........ 阅读全文