• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






单音节

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

随笔分类 -  2011年12月

 
gridview 中的删除 (简略)
摘要:web<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" DataSourceID="ObjectDataSource1" CssCla 阅读全文
posted @ 2012-04-04 16:34 单音节 阅读(153) 评论(0) 推荐(0)
杂项
摘要:protected void Page_Load(object sender, EventArgs e) { Page.Title = "你不勇敢谁能替你坚强"; HtmlMeta myMeta = new HtmlMeta(); myMeta.Name = "Keywords"; myMeta.Content = "很多时候,你只是缺少开始,一切并没有那么难"; this.Header.Controls.Add(myMeta); Repeate... 阅读全文
posted @ 2012-04-04 10:03 单音节 阅读(126) 评论(0) 推荐(0)
简单的网站登录功能--示例
摘要:web <script type="text/javascript">function CheckForm() { var Name = document.getElementById("<%=TextBox1.ClientID %>").value; var Paswrd = document.getElementById("<%=TextBox2.ClientID %>").value; if (Name == "") { alert("用户名不能为空!" 阅读全文
posted @ 2012-04-04 09:59 单音节 阅读(213) 评论(0) 推荐(0)
Listview分页 --sql2005--示例
摘要:在DAL中读取数据 //--------------------------------------------------------------------------------- /// <summary> /// DataPage分页 /// </summary> /// <param name="startRowIndex"></param> /// <param name="maximumRows"></param> /// <returns></re 阅读全文
posted @ 2012-04-04 09:42 单音节 阅读(187) 评论(0) 推荐(0)
简单的增删改查--示例
摘要:增/// <summary> /// 添加新的用户 /// </summary> /// <param name="user"></param> /// <returns></returns> public static UserInfo AddUser(UserInfo user) { string sql = "insert UserInfo(Name,LoginId,LoginPwd,UserRoleId,UserStateId)" + "values(... 阅读全文
posted @ 2012-04-04 09:33 单音节 阅读(182) 评论(0) 推荐(0)
分页---存储过程---以及在程序中使用--示例
摘要:分页存储过程示例。。set ANSI_NULLS ONset QUOTED_IDENTIFIER ONGO-- =============================================-- Author: <Author,,Name>-- Create date: <Create Date,,>-- Description: <Description,,>-- =============================================CREATE PROCEDURE [dbo].[MemoPage] -- Add the p 阅读全文
posted @ 2012-04-04 09:25 单音节 阅读(171) 评论(0) 推荐(0)
简单的DBHelper类
摘要:using System;using System.Collections;using System.Collections.Generic;using System.Text;using System.Data;using System.Data.SqlClient;using System.Configuration;namespace MyOffice.DAL{ public static class DBHelper { private static SqlConnection connection; public static SqlConne... 阅读全文
posted @ 2012-04-03 20:48 单音节 阅读(297) 评论(0) 推荐(0)