`
文章列表
点击图片控制图片收缩扩展
日历小图片
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> <!DOCTYPE html PUBLIC ...
Page.ClientScript.RegisterStartupScript(Page.GetType(), "message", "<script language='javascript' defer>alert('加入暂存架成功!');</script>");

皮肤控件

皮肤控件(WINFORM)
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 ...

获取标识字段

    博客分类:
  • sql
insert into tblRole(RoleName) values(@ select @RoleID = @@identity
<!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 ...
<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 ...
<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) ...

分页SQL

万能分页 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 ...
Global site tag (gtag.js) - Google Analytics