自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

张东的专栏

2011 张东

  • 博客(66)
  • 资源 (5)
  • 收藏
  • 关注

原创 oracle数据库远程连接配置以及ado连接

前台:                                onclick="Button1_Click" />                    onclick="Button2_Click" />        后台:using System;using System.Co

2013-05-31 10:52:49 1897

原创 ajax分页

前台:http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">                    $(function () {            function fun(pgindex, pgsize) {

2013-05-22 16:47:14 722

原创 ajax三级联动省市选择器

前台:http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">                    $(function () {            $.ajax({                type: "post",

2013-05-22 16:44:28 3855

原创 jq给div的.html赋值,后台.innerhtml获取不到值-原因

label在客户端会变成,他在客户端的赋值不会保存到viewstate。客户端赋完值,点击按钮将页面提交到服务器端,服务器端根据控件的ID到viewstate中找其在客户端的赋值,此时找不到label在客户端的赋值,因为提交页面时没有保存,而textbox在客户端变成<input type='text'..,的形式,这种控件客户端赋值是被保存到viewstate和页面一起提交的,所以能在服务器

2013-05-11 17:14:44 7415

原创 判断是否进球,jq插件

http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">                                                    $(function () {              $("#basket

2013-05-09 11:17:48 664

原创 拖拽删除-jq插件

http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">                                                #mydiv{ width:900px; background-color:#444;}

2013-05-09 10:08:11 1031

原创 ashx如何用session(验证码)

using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.SessionState;//这是在.ashx 中引用session 的必备条件之一namespace CSDN{    ///     /// yzm 的摘要说明

2013-05-08 19:47:57 806

原创 滑动门导航条

滑动门导航条代码如下:要注意background-position的设置,原理是a的鼠标经过背景改变和 #navi_ul li a:hover span的背景改变 博客专栏 博客专家 热门文章 排行榜 css:#navi_ul li{    float:left;    list-style:none;    margin-left:10px;    m

2013-05-08 19:47:06 1019

原创 javascript中可用的编码解码函数,有如下的组合:

javascript中可用的编码解码函数,有如下的组合: escape(string); unescape(string);encodeURI(string); decodeURI(string);encodeURIComponent(string); decodeURIComponent(string);他们之间的区别为:escape/unescape: 以1

2013-05-08 19:44:56 799

原创 jquery-ajax智能提示

$(function () {                    //var htmlobj = $.ajax({ type: "GET", url: "jquery-ajax-智能感知.aspx?t=" + $("#sousuo").val, async: false });                    //array[0] = htmlobj.responseTe

2013-05-08 19:43:41 817

原创 <Table>实现分页

前台:                            runat="server" Text="搜索" onclick="Button3_Click" />                                    runat="server" Text="下一页" onclick="Button2_Click" />

2013-03-13 17:19:07 3419

原创 dropdownlist 启用了autopostback但是不执行selectedindexchanged事件

原因很简单,就是因为dropdownlist设置了相同的value值。

2013-01-07 14:05:59 928

原创 http错误代码大全

http错误代码含义中英文对照 Http错误代码含义中文 概要     当用户试图通过 HTTP 或文件传输协议 (FTP) 访问一台正在运行 Internet 信息服务(IIS) 的服务器上的内容时,IIS 返回一个表示该请求的状态的数字代码。该状态代码记录在IIS 日志中,同时也可能在 Web 浏览器或 FTP 客户端显示。状态代码可以指明具体请求是否已

2013-01-03 19:28:59 758

原创 ASP.NET Web.config配置文件的基本使用方法

xmlversion="1.0"?>注意: 除了手动编辑此文件以外,您还可以使用 Web 管理工具来配置应用程序的设置。可以使用 Visual Studio 中的“网站”->“Asp.Net 配置”选项。设置和注释的完整列表在 machine.config.comments 中,该文件通常位于 "Windows"Microsoft.Net"Framework"v2.x"Config 中

2013-01-02 21:37:30 663

原创 Errore HTTP 404.2 - Not Found" IIS 7.5 请求的内容似乎是脚本,因而将无法由静态文件处理程序来处理

如题,这个错误google时一大堆各种各样的解决办法,但具体原因就没怎么详细介绍,404.2就一个http status code, 在msdn上说:404.2 - ISAPI or CGI restriction  即IIS里的“ISAPI 或CGI 限制” 的配置有问题,      “ISAPI” 是供IIS加载和调用的DLL, 如果没配置相关的ISAPI,就无法正确地解释网页的内

2013-01-02 21:36:36 347

原创 HttpApplication,HttpModule,HttpContext及Asp.Net页生命周期

IIS在接到一个新的http请求后,最终会调用asp.net_isapi.dll的ISAPI扩展(特指IIS6.0环境,iis7.0的应用程序池默认为集成方式,相对有所变化),然后传递到httpRuntime Pipe(http运行时管道),Asp.Net这时才开始运行(即HttpRunTime是Asp.Net真正的入口),HttpRunTime会为每个asp.net应用自动创建一个HttpApp

2013-01-01 14:35:33 411

原创 ashx的验证码

using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Drawing;using System.IO;using System.Web.SessionState;//1.添加引用namespace gdi{    ///

2012-12-26 16:01:14 617

原创 读取xml文件内容_计算节点数量

using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Xml;namespace Ado_upper{    public p

2012-12-20 19:57:01 3973

原创 xml数据写入到输出流中

using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Xml;namespace Ado_upper{    public p

2012-12-20 19:56:04 1201

原创 c#读取xml内容保定到dropdownlist

http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">                                    书名                                作者

2012-12-20 19:48:17 1705 2

原创 数据绑定版省市选择器

aspx:                                onselectedindexchanged="DropDownList1_SelectedIndexChanged">                                 aspx.csusing System;usin

2012-11-29 17:36:05 551

原创 触发器的定义与使用

--每次插入数据时候都把数据值打印出来create trigger tri_student_afteron student after insertasbegindeclare @sClassId intdeclare @SName nvarchar(50)declare @sAge intselect @sClassId=sClassId,@SName=sName

2012-11-14 19:02:37 640

原创 游标的建立

--使用游标--游标的定义--(1)定义declare cur_student cursor fast_forward--游标快速向前for select * from student--基于返回的结果集--2(打开)open cur_student--3操作fetch next from cur_student--向下移动一条游标while @@fetch_s

2012-11-14 18:54:23 559

原创 asp中实现sql事务登录_增删改查

web.config  有关如何配置 ASP.NET 应用程序的详细消息,请访问  http://go.microsoft.com/fwlink/?LinkId=169433  -->                         login.aspx:                用户名

2012-11-13 20:08:41 2645

原创 利用sql存储过程显示内容到dataGridView

app.config                 ClassModel.cs:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace WindowsFormsApplication1{    clas

2012-11-13 19:54:45 842

原创 dataGridView分页显示数据

app.config:                 ClassModel_student.cs:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace WindowsFormsApplication1{

2012-11-13 19:52:02 618

原创 ADO中使用储存过程_sql事务

app.config                 c#: private void button3_Click(object sender, EventArgs e)        {            string connstr= ConfigurationManager.ConnectionStrings["connstr3"].C

2012-11-13 19:46:53 452

原创 ADO实现sql事务

app.config:         c#using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data.SqlClient;using System.Configuration;namespa

2012-11-13 19:40:20 692

原创 sql语句小练习

1计算100天后病毒发作的日期。print convert(varchar(50),dateadd(day,100,getdate()),111)2凡是入职一年以上的员工,工资增加500¥update employeeset fsalary=fsalary+500where datediff(yy,empintime,GETDATE())=13计算1975年10月5

2012-11-07 16:43:31 797

原创 sql的insert语句自动生成器_c#源码

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using Na

2012-10-24 19:17:39 4868

原创 页面中传递数据的几种方法

页面中传递数据的三种方法:cookies,session,application,还有一种把当前页面中的数据直接传递给另一个页面:页面1的aspx:@Page Language="C#"AutoEventWireup="true"CodeBehind="page1.aspx.cs"Inherits="跨页面传递.page1"%> DOCTYPEhtml

2012-10-17 19:48:20 971

原创 .net版本聊天室源码

聊天室.aspx: #ltmessage { height: 189px; } 在线聊天:人 请输入你的姓名:<asp:TextBox ID="name" runat="s

2012-10-16 15:10:44 2650

原创 后台获取前台runat=server的select的值(省市选择器)

这样写:前台;HTML codeli> asp:Label ID="Lpro" runat="server" Text="省份:" CssClass="fixWidth">asp:Label> select id="Select1" name="Select1" runat="server" oncha

2012-10-06 15:47:37 4873 3

原创 通用版登录login_委托

using System;using System.Collections.Generic;using System.ComponentModel;using System.Drawing;using System.Data;using System.Linq;using System.Text;using System.Windows.Forms;namespac

2012-09-14 17:11:11 634

原创 大写日期转换成阿拉伯数字的算法

using System;using System.Collections.Generic;using System.Linq;using System.Text; namespace _911日期转换{    class Program    {        static void Main(string[] args)        {

2012-09-12 16:25:28 1811

原创 base方法调用基类构造函数

using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 人类{    class person    {        private int age;        private string name;        priv

2012-09-04 17:00:50 2860

原创 new 关键字隐藏基类方法

using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Vehicles{    class Car : Vehicle//汽车类继承车辆类    {        public void Accelerate()//加速

2012-09-04 16:52:54 1702

原创 override重写基类方法

using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Vehicles{    class Vehicle//车辆类    {        public void StartEngine(String noiseToMakeWhenSt

2012-09-04 16:21:28 1859

原创 新学期开始了。

“漫长的暑假”过去了。今天上课发现,老师讲的都听的很模糊,直到下午自己做练习才渐渐回忆起以前的知识,新的学期又是新的开始。这一年是该拼命的时候了,昔日的学哥已经就业了。既有羡慕的眼光,也有忧虑的眼光。羡慕人家找到工作了,忧虑自己能不能找到称心的工作。我不要求一开始工资高低,但是要符合我的发展方向。这是我唯一期盼的。收下心该启程了。

2012-09-03 14:50:31 519 2

原创 c#运算符使用,以及装箱拆箱

using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 运算符{    class Program    {        static void Main(string[] args)        {            Si

2011-12-26 21:15:01 593

Aspose.Words 17.6破解版

Aspose.Words 17.6免费版本,支持解析word为文本。修复了大量bug,亲测可用。 在不使用Microsoft Words的情况下,aspose.words可以使用户在各个应用程序中执行各种文档处理任务,其中包括文档的生成、修改、渲染、打印,文档格式转换和邮件合并等文档处理。此外,Aspose.Words支持DOC,OOXML,RTF,HTML,OpenDocument, PDF, XPS, EPUB和其他格式

2017-09-06

eWebEditor v9.0. asp完整版

eWebEditor v9.0. 兼容性佳。ASP 多语言,完整版

2014-06-19

lsp修复工具

lsp修复工具,本人亲自测试效果管用,解决能上qq不能上网的问题。

2011-11-19

c++学习之路,一些经典小程序集合。个人编写测试通过

一些经典小程序集合。个人编写测试通过。一些经典的算法里面都有。后续还会有更新。这些程序都是调试通过的。

2011-11-18

西部数据c1门轻松解决

我用了第二种方法完美解决了c1门,用了一天了还是30677。里面有详细的说明,软件第一个是中文的,第三个是英文的

2011-10-28

空空如也

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

TA关注的人

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