- 博客(7)
- 收藏
- 关注
原创 .net中使用事务
using System; using System.Collections.Generic; using System.Transactions; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 基于Entity_Framework数据模型的事务 { class Program
2015-04-23 15:47:09 506 1
原创 定时启动Windows服务
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.IO; using System.Linq; using System.ServiceProcess; using System.
2015-04-21 21:54:03 612
原创 基于jquery的ajax一 load()
http://user.qzone.qq.com/1274683369/blog/1428796674 Ajax 全称为:“Asynchronous JavaScript and XML”(异步JavaScript 和XML) Load()方法: .load()方法有三个参数:url(必须,请求html 文件的url 地址,参数类型为String)、data(可选,发送的
2015-04-12 07:58:23 406
原创 Jquery使用正则表达式验证文本框的值为非零正整数
$(function () { $(".number").each(function (index) { $(".number").eq(index).change(function () { //文本框的值发生改变时 var text = $(".number").eq(index).val();
2015-04-10 19:36:27 1223
原创 前台repeater中循环绑定了input的text控件,怎么在后台循环遍历text的值。
/// /// 修改商品数量 /// /// public int UpdateShoppingCarNumber() { ShoppingCarDAL shoppingCarDal = new ShoppingCarDAL(); //获取商品id和商品数量
2015-04-10 09:58:17 2260
转载 Repeater中绑定的LinkButton跳转页面及传递参数
LinkButton跳转页面及传递参数 在DataList中使用LinkButton按钮(LinkButtonDelete),该按钮用于链接跳转到删除页面。在模板中双击该按钮,跳转到.cs页面。问题是我们如何获得该条信息的ID,如果不知道ID值,我们又怎么知道需要删除的是哪一条信息呢?通过下面的方法就可以了: 在LinkButtonDelete控件中加入属性CommandArg
2015-04-09 16:04:46 2074
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人