- 浏览: 41511 次
- 性别:
- 来自: 广州
最新评论
文章列表
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC ...
- 2009-01-09 15:43
- 浏览 1146
- 评论(0)
Page.ClientScript.RegisterStartupScript(Page.GetType(), "message", "<script language='javascript' defer>alert('加入暂存架成功!');</script>");
- 2009-01-09 08:43
- 浏览 632
- 评论(0)
protected void btnSendEmail_Click(object sender, EventArgs e)
{
List<string> listEmail = new List<string>();
//遍历GridView找到要发送邮件的联系人,并得到他们的Email放入List中
foreach (GridViewRow row in GridView1.Rows)
{
CheckBox cbSelect = (CheckBox)row.FindControl("CheckBox1");
if (cbSelect ...
- 2009-01-08 17:43
- 浏览 730
- 评论(0)
insert into tblRole(RoleName) values(@
select @RoleID = @@identity
- 2009-01-08 17:39
- 浏览 620
- 评论(0)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
创建人:牛腩
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>出错啦~~~</title>
<link ...
- 2009-01-08 16:45
- 浏览 646
- 评论(0)
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
<title>WEB页面导出为EXCEL文档的方法</title>
</head>
<body>
<table id="tableExcel" wid ...
- 2009-01-08 13:38
- 浏览 957
- 评论(0)
<script type="text/javascript">
function SelectAll(tempControl)
{
var theBox=tempControl;
xState=theBox.checked;
elem=theBox.form.elements;
for(i=0;i<elem.length;i++)
{
if(elem[i].type=="checkbox" && elem[i].id!=theBox.id)
...
- 2009-01-08 13:21
- 浏览 582
- 评论(0)
万能分页
select top 每页显示的记录数 * from topic where id not in
(select top (当前的页数-1)×每页显示的记录数 id from topic order by id desc)
order by id desc
sql2005分页
with temptbl as (
SELECT ROW_NUMBER() OVER (ORDER BY id desc)AS Row,
...
)
SELECT * FROM temptbl where Row between @startI ...
- 2009-01-08 12:53
- 浏览 889
- 评论(0)