自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(39)
  • 资源 (12)
  • 收藏
  • 关注

转载 判断手机号码属于哪个地区 哪个运营商(移动、联通、电信、)

判断手机号码属于哪个地区 哪个运营商(移动、联通、电信、).net技术:如何通过代码实现  判断手机号码属于哪个地区 哪个运营商(移动、联通、电信)在线等!!解决方案 »移动:2G号段(GSM):134、135、136、137、138、139、150、151、152、158、159;3G号段(TD-SCDMA,G3):157、187、

2014-12-09 13:47:44 13501

原创 amCharts: JavaScript/HTML5 charts 破解

drb: function() {        var a = "m,o,c,.,s,t,r,a,h,c,m,a".split(",").reverse().join(""),        b = window.location.hostname.split(".");        if (2         AmCharts.remove(this.bbset);   

2014-02-28 17:43:59 817

原创 html5兼容ie

2014-02-28 17:23:04 647

原创 C# 图片处理 将 图片数组将图片缩放为指定大小

using System;using System.Collections.Generic;//using System.Linq;using System.Text;using System.IO;using System.Drawing;using System.Data;using System.Drawing.Imaging;namespace Common

2013-10-25 13:44:10 1640 1

转载 说说JSON和JSONP,也许你会豁然开朗,含jQuery用例

原文地址http://www.cnblogs.com/dowinning/archive/2012/04/19/json-jsonp-jquery.html  前言:  由于Sencha Touch 2这种开发模式的特性,基本决定了它原生的数据交互行为几乎只能通过AJAX来实现。当然了,通过调用强大的PhoneGap插件然后打包,你可以实现100

2013-07-18 18:42:09 521

原创 JQUERY 跨域调用WCF REST服务

WCF REST服务 参考地址http://www.dotblogs.com.tw/rolence0515/archive/2011/03/03/21653.aspxhttp://www.cnblogs.com/sorex/archive/2012/04/16/2230061.html 关于JQUERY 跨域调用WCF REST服务:  $.ajax({

2013-07-18 18:35:12 840

原创 注册asp.net 4.0 到iis

如果没有按照正常的先装iis后装.net的顺序,可以使用此命令重新注册一下:32位的Windows:---------------------------------------------------------------------------1. 运行->cmd 2. cd  C:\Windows\Microsoft.NET\Framework\v4.0.303

2013-07-16 12:32:35 468

原创 vs2010 未能将脚本调试器附加到计算机上的进程。已附加了一个调试器

解决:1.以管理员身份打开CMD,2.运行:regsvr32 "%ProgramFiles%\Internet Explorer\msdbg2.dll

2013-07-15 12:48:18 924

原创 使用JS实现文件下载示例(asp.net)

文件下载    // 使用JS实现下载.jpg、.doc、.txt、.rar、.zip等文件的方法(参数 imgOrURL 为需要下载的图片的URL地址)    // 使用该方法实现下载压缩文件时会有网页错误信息提示    // .doc、.rar、.zip 文件可以直接通过文件地址下载,    // 如:点击下载文件 点击下载文件    function saveIm

2013-01-14 23:27:21 1383

原创 asp.net HTML生成WORD文档

protected void BtnWord_Click(object sender, EventArgs e)        {            string filePath = @"E:\Test\test.doc";            StreamWriter writer = new StreamWriter(filePath, false, Encoding.

2013-01-08 22:15:04 1345

原创 html生成word

网页上内容导出到wordfunction OpenWord(){Layer1.style.border=0word = new ActiveXObject('Word.Application');word.Application.Visible = true;var mydoc=word.Documents.Add('',0,1);myRange =mydoc.Rang

2013-01-08 22:12:06 704

原创 分享到新浪与QQ微博代码

新浪  (function(){   var _w = 16 , _h = 16;   var param = {     url:location.href,     type:'3',     count:'', /**是否显示分享数,1显示(可选)*/     appkey:'1929229597', /**您申请的应用appkey,显示分享来源(可选)*

2012-12-27 21:15:07 624 1

原创 ASP.NET生成静态页面

ASP.NET生成静态页面方法主要有三种第一种方法:向服务器的动态页面发送请求,获取页面的html代码。这种方法缺点显而易见:速度慢。另外如果请求的动态页面有验证控件的话,返回的html页面却无法进行数据验证。但这种方法写起来比较简单。主要代码如下:#region//生成被请求URL静态页面public static void getUrltoHtml(string Url,strin

2012-12-15 23:50:58 384

原创 获取html页面内容

///         /// 获取html页面内容        ///         /// 页面URL地址        /// 页面内容        public string GetPage(string url)        {            HttpWebRequest webReques = (HttpWebRequest)HttpWebR

2012-12-06 19:34:05 447

原创 jQuery实现点击复选框即高亮显示选中行 全选、反选

html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">  head>  title>jQuery实现点击复选框即高亮显示选中行 全选、反选title>   style type="text/css">   table{ border:0;border-collapse:collapse;}   td{ font:norm

2012-12-05 23:05:10 778

原创 jquery笔记:用jquery实现无刷新登录

防止以后好久不用生疏,在这里记下,供刚开始学习jquery的童鞋们借鉴,我也是刚开始学jquery,有什么写的不对的地方,还请大家指出错误,共同进步。好了,唠嗑就到这里,现在看如何用jquery实现无刷新登录。首先先创建html的部分 table> tr> td> 用户名: td>

2012-11-08 13:27:08 433

转载 开源搜索引擎HubbleDotNet图解之基础使用

开源搜索引擎HubbleDotNet图解之基础使用<!--body {border-bottom:0px; border-left:0px; line-height:1.2; background-color:#ffffff; margin:4% 10%; font-family:verdana; direction:ltr; font-si

2011-11-24 21:20:46 1320

转载 C#2.0网络蜘蛛

C#2.0实现抓取网络资源的网络蜘蛛如何使用C#2.0实现抓取网络资源的网络蜘蛛。使用这个程序,可以通过一个入口网址来扫描整个互联网的网址,并将这些扫描到的网址所指向的网络资源下载到本地。然后可以利用其他的分析工具对这些网络资源做进一步地分析,如提取关键词、分类索引等。也可以将这些网络资源作为数据源来实现象Google一样的搜索引擎。一、引言二、网络蜘蛛的基本实现思

2011-10-31 23:32:00 2294 1

原创 .net C# 生成缩略图 用白色填充空白部分

#region 生成缩略图        ///         /// 生成缩略图        ///         /// 原来图片的绝对路径及文件名        /// 缩略图保存的绝对路径及文件名        /// 缩略图长度        /// 缩略图宽度        public static void MakeThumbnail(string originalImage

2011-06-09 18:49:00 2227 3

原创 css实现上传文件,file按钮用图片显示

<br />在做项目的时候,要做这样的效果:上传文件的时候,file按钮用图片显示。怎么做呢?很纠结。上网查了很多资料,发现都是用js或其他语言实现的。代码很复杂,语言基础不好的人,根本都不了解,不知道什么意思。所以基本上都没有用,然后想了很久,发现css就可以简单实现。<br />思路如下:父标签里包含input=“file”,img。其中input的透明度为0,img绝对定位在上边。<br />先发一下效果吧,各大浏览器都兼容哦!<br />效果图:<br />点击前:<br />点击后:<br /><

2011-06-01 16:52:00 2783

原创 IIS 服务器应用程序不可用

服务器应用程序不可用  您试图在此 Web 服务器上访问的 Web 应用程序当前不可用。请点击 Web 浏览器中的“刷新”按钮重试您的请求。  管理员注意事项: 详述此特定请求失败原因的错误信息可在 Web 服务器的系统事件日志中找到。请检查此日志项以查明导致该错误发生的原因。  解决的方法是在命令行窗口(开始--运行--cmd)中输入“C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_regiis.exe -i”。这样问题就解决了。这样,

2011-04-07 16:40:00 433

原创 复制表结构创建新表

<br />select top 0 * into (要创建的表名)from 复制的表名<br /> <br />select top 0 * into t_apps123 from dbo.t_survey_results   --此写法不能创建主键<br /> <br />-- 和上面的类似,可以创建主键<br />select * into CG from t_survey_results <br />where 1<>1 alter table CG <br />add constraint <br

2010-08-05 09:20:00 660

原创 动态添加TreeView

<br /><br />     for (int i = 0; i < 10; i++)<br />            { <br />                TreeNode newNode1 = new TreeNode();<br />                newNode1.Text = "123456";<br />                newNode1.Value = "111";<br />                 TreeView1.Nodes.Add

2010-08-05 09:16:00 415

原创 动态添加TreeView

    for (int i = 0; i             {                 TreeNode newNode1 = new TreeNode();                newNode1.Text = "123456";                newNode1.Value = "111";                 TreeView1.Nodes.Add(newNode1);                for (int j = 0; j         

2010-07-06 23:31:00 453

原创 js 身份证验证

 18位身份证标准在国家质量技术监督局于1999年7月1日实施的GB11643-1999《公民身份号码》中做了明确的规定。 GB11643-1999《公民身份号码》为GB11643-1989《社会保障号码》的修订版,其中指出将原标准名称"社会保障号码"更名为"公民身份号码",另外GB11643-1999《公民身份号码》从实施之日起代替GB11643-1989。GB11643-1999《公民身份号码

2009-12-01 17:46:00 594

原创 点击按钮后实现复制,复制TextBox里面的内容

点击按钮后实现复制和剪切的代码function copy(ob){var obj=findObj(ob); if (obj) { obj.select();js=obj.createTextRange();js.execCommand("Copy");}}function cut(ob){var obj=findObj(ob); if (obj) { obj.select();js=obj.cre

2009-11-30 11:48:00 882

原创 asp.net 当前页 关闭 父类页

 //在当前页中关闭 Response.Write("window.opener.opener= null;window.opener.location.replace(window.opener.location.href=ideabank.aspx);window.close();"); //父类页打开 子页  Response.Write("window.open

2009-11-16 12:59:00 548

原创 IIS 注册Asp.net 2.0

服务器上安装了ASP.NET v2.0组件,但是在IIS的Web服务扩展中并没有找到ASP.NET v2.050727这项,这导致基于.NET2.0开发的网页都无法正常浏览。解决方法:打开IIS,转至Web服务扩展中,点击右侧窗口任务下的“添加一个新的Web服务扩展”,在弹出的窗口中,点击添加,然后找到x:/WINDOWS/Microsoft.NET/Framework/v2.0.5072

2009-08-14 14:30:00 3426 1

原创 Asp.net中GridView使用详解

 Asp.net中GridView使用详解 GridView无代码分页排序GridView选中,编辑,取消,删除GridView正反双向排序GridView和下拉菜单DropDownList结合GridView和CheckBox结合鼠标移到GridView某一行时改变该行的背景色方法一鼠标移到GridView某一行时改变该行的背景色方法二GridView实现删除时弹出确认对话框

2009-06-13 18:45:00 632

原创 sql语句中 删除字段中的一个字符?

 update   表名     set   字段名=REPLACE(字段名,@,)    

2009-05-22 09:36:00 1732

原创 asp.net过滤所有html标记

 正则表达 去掉      return Regex.Replace(strIn, @"]*>", ""); 

2009-05-21 16:38:00 436

原创 Retrieving the COM class factory for component with CLSID {0002E55D-0000-0000-C000-000000000046} failed due to the following err

 Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. E

2009-05-14 23:42:00 3542 2

原创 ajax实现地图标记添加

using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.We

2008-01-17 23:21:00 645

原创 ajax实现地图标记添加

        http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">    http://www.w3.org/1999/xhtml">            无标题页//引入地图">http://api.51ditu.com/js/maps.js">//引入地图//">http://api.51ditu.com/js/ezma

2008-01-17 23:18:00 1164

原创 javacript 点击图片移动

function move(){xa=window.event.clientX;ya=window.event.clientY;xb=Layer1.style.pixelLeft;yb=Layer1.style.pixelTop;x=xb;if(xb{movelayer();}else{movelayer1();}}function movelayer1(){if(x>=xa){y=((ya-

2008-01-15 16:44:00 616

原创 net中 添加 天气预报的代码

此代码添加到你要显示天气预报的地方就可以 ,无需改动http://weather.news.qq.com/inc/ss255.htm" width="189" height="190" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"> 

2008-01-07 11:19:00 557

原创 net Access数据库连接类 通用

using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using

2007-12-21 17:43:00 502

原创 net SQL数据库连接类 通用

using System;using System.Data;using System.Data.SqlClient;namespace test1{  public class DBAccess {  private SqlConnection conn=null; // 数据库的连接方法public void getConn()  {   conn=new SqlConnection("s

2007-12-21 14:42:00 603

原创 HyperLink超链接传值

    select   title,uid   from   xindwen   查数据库里的 名字和id数据录里面的值查出来给 HyperLink28   的text属性 NavigateUrl= Width="211px">   select   title,uid   from   xindwen   查数据库里的 名字和id数据录里面的值查出来给 HyperLi

2007-11-23 13:54:00 1690 1

amcharts_3.17.2.free

amcharts_3.17.2.free 最新版本破解 ,去除 官网网站链接

2015-10-14

fromwork卸载

fromwork卸载fromwork卸载fromwork卸载

2009-12-23

AspNetMVC1.msi安装文件

AspNetMVC1.msi安装文件AspNetMVC1.msi安装文件

2009-12-23

Expression Blend 3中文波破解文件

Expression Blend 3中文波破解文件 覆盖安装目录的SLDL_DLL.dll文件

2009-12-19

Office 2003 组件owc11

Retrieving the COM class factory for component with CLSID {0002E55D-0000-0000-C000-000000000046} failed due to the following error: 80040154. 收藏 Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {0002E55D-0000-0000-C000-000000000046} failed due to the following error: 80040154. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [COMException (0x80040154): Retrieving the COM class factory for component with CLSID {0002E55D-0000-0000-C000-000000000046} failed due to the following error: 80040154.] GraphPage.Page_Load(Object sender, EventArgs e) +1097 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082 请大家帮忙 谢谢 Server Error in '/' Application. -------------------------------------------------------------------------------- Retrieving the COM class factory for component with CLSID {0002E55D-0000-0000-C000-000000000046} failed due to the following error: 80040154.

2009-05-15

asp.net dll反编辑工具

从别处下载的没有用过 所以没有具体的使用方法请谅解

2009-03-28

C#中弹出一个对话框使用

弹出一个对话框使用javascript

2007-12-28

企业短信不全

不完全 数据库可以用 完全版的 的改一改 数据库联接

2007-12-23

企业企业平台

企业 平台 短信 发布 邮箱留言

2007-12-23

网站中控件的应用

自己看看 里面有的功能不全

2007-12-23

net 编辑控件的使用

编辑控件的使用 和加载 编辑控件的使用 和加载 里面有说明

2007-11-23

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除