上一页 1 2 3 4 5 6 ··· 9 下一页
摘要: View Code VS2010 using System;using System.Collections.Generic;using System.Text;using System.Data.OleDb;using System.Web.UI;using System.Web.UI.WebControls;public class KeyTitle : System.Web.UI.Page{ public KeyTitle() { this.Load += new EventHandler(Binds); } protected void Binds... 阅读全文
posted @ 2012-06-25 09:26 ComBat 阅读(260) 评论(0) 推荐(0) 编辑
摘要: View Code <a onclick="window.external.AddFavorite(location.href, document.title);" title="温州倾城新一代" style="cursor:hand">收藏本站</a> <a href=# onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.wzqingcheng.com&# 阅读全文
posted @ 2012-06-25 09:24 ComBat 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 购物车设计(一)购物车设计(一)登陆页面————————————————————————————————using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Data.SqlClient;public partial class Login : System.Web.UI.Page{ protected void Page_Load(object sen... 阅读全文
posted @ 2012-06-25 09:20 ComBat 阅读(352) 评论(0) 推荐(1) 编辑
摘要: View Code 分页排序using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;public partial class PagerDemo1 : System.Web.UI.Page{ protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { ... 阅读全文
posted @ 2012-06-25 09:16 ComBat 阅读(121) 评论(0) 推荐(0) 编辑
摘要: View Code 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 System.Web.UI.HtmlControls;/// <summary>/// visit 的摘要说明/// </summary>public cl 阅读全文
posted @ 2012-06-24 16:34 ComBat 阅读(147) 评论(0) 推荐(0) 编辑
摘要: View Code 分页 排序等using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;public partial class 分页_Default : System.Web.UI.Page{ int pagesize = 10; protected void Page_Load(object sender, EventArgs e) { ViewSta... 阅读全文
posted @ 2012-06-24 15:53 ComBat 阅读(166) 评论(0) 推荐(0) 编辑
摘要: View Code using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Text.RegularExpressions;/// <summary>///SQLInjectionHelper 的摘要说明/// </summary>public class SQLInjectionHelper{ public SQLInjectionHelper() { // //TODO: 在此处添加构造函数逻辑 // ... 阅读全文
posted @ 2012-06-24 15:16 ComBat 阅读(212) 评论(0) 推荐(0) 编辑
摘要: View Code <style type="text/css"> body,ul,div,li { margin:0; padding:0px; } #dhl { width:960px; height:35px; background:#ccc; margin:40px auto 0; line-height:35px; } #dhl ul li { float:left; } #dhl a { display:block;... 阅读全文
posted @ 2012-06-24 15:10 ComBat 阅读(219) 评论(0) 推荐(0) 编辑
摘要: View Code IE6 版本无效果 不支持CSS代码段——————————————————————————————————body,div,ul,li,a{ margin:0; padding:0}#dhl{ height: 34px; margin: 0; padding: 0; background-color: #66cccc; }#dhl ul{ list-style:none}#dhl ul li{ float:left; padding-left:20px; margin:0px}#dhl ul li a{ display:block; line-height:34px; ma 阅读全文
posted @ 2012-06-24 15:08 ComBat 阅读(196) 评论(0) 推荐(0) 编辑
摘要: View Code string fullFileName = this.FileUpload1.PostedFile.FileName; //全路径 string fileName = fullFileName.Substring(fullFileName.LastIndexOf("\\") + 1); // 这是\ 后面的名字 string type = fullFileName.Substring(fullFileName.LastIndexOf(".") + 1); //这是.后面的名字 记得要加1 if ... 阅读全文
posted @ 2012-06-24 15:04 ComBat 阅读(127) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 9 下一页