
源码
张东_
csdn乐知学院.NET
展开
-
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 · 772 阅读 · 0 评论 -
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 · 3904 阅读 · 0 评论 -
jq给div的.html赋值,后台.innerhtml获取不到值-原因
label在客户端会变成,他在客户端的赋值不会保存到viewstate。客户端赋完值,点击按钮将页面提交到服务器端,服务器端根据控件的ID到viewstate中找其在客户端的赋值,此时找不到label在客户端的赋值,因为提交页面时没有保存,而textbox在客户端变成<input type='text'..,的形式,这种控件客户端赋值是被保存到viewstate和页面一起提交的,所以能在服务器原创 2013-05-11 17:14:44 · 7544 阅读 · 0 评论 -
判断是否进球,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 · 724 阅读 · 0 评论 -
拖拽删除-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 · 1076 阅读 · 0 评论 -
ashx如何用session(验证码)
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.SessionState;//这是在.ashx 中引用session 的必备条件之一namespace 优快云{ /// /// yzm 的摘要说明原创 2013-05-08 19:47:57 · 850 阅读 · 0 评论 -
滑动门导航条
滑动门导航条代码如下:要注意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 · 1075 阅读 · 0 评论 -
javascript中可用的编码解码函数,有如下的组合:
javascript中可用的编码解码函数,有如下的组合: escape(string); unescape(string);encodeURI(string); decodeURI(string);encodeURIComponent(string); decodeURIComponent(string);他们之间的区别为:escape/unescape: 以1原创 2013-05-08 19:44:56 · 834 阅读 · 0 评论 -
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 · 864 阅读 · 0 评论 -
<Table>实现分页
前台: runat="server" Text="搜索" onclick="Button3_Click" /> runat="server" Text="下一页" onclick="Button2_Click" />原创 2013-03-13 17:19:07 · 3474 阅读 · 0 评论 -
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 · 671 阅读 · 0 评论 -
数据绑定版省市选择器
aspx: onselectedindexchanged="DropDownList1_SelectedIndexChanged"> aspx.csusing System;usin原创 2012-11-29 17:36:05 · 587 阅读 · 0 评论 -
触发器的定义与使用
--每次插入数据时候都把数据值打印出来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 · 688 阅读 · 0 评论 -
游标的建立
--使用游标--游标的定义--(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 · 594 阅读 · 0 评论 -
asp中实现sql事务登录_增删改查
web.config 有关如何配置 ASP.NET 应用程序的详细消息,请访问 http://go.microsoft.com/fwlink/?LinkId=169433 --> login.aspx: 用户名原创 2012-11-13 20:08:41 · 2685 阅读 · 0 评论 -
利用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 · 905 阅读 · 0 评论 -
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 · 672 阅读 · 0 评论 -
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 · 488 阅读 · 0 评论 -
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 · 731 阅读 · 0 评论 -
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 · 4956 阅读 · 0 评论 -
.net版本聊天室源码
聊天室.aspx: #ltmessage { height: 189px; } 在线聊天:人 请输入你的姓名:<asp:TextBox ID="name" runat="s原创 2012-10-16 15:10:44 · 2705 阅读 · 0 评论