- 博客(12)
- 资源 (5)
- 收藏
- 关注
原创 表和表之间的关系是多对多时该如何查询?
create table guest( Sid int identity primary key, Sname varchar(200), Gender varchar(1))create table host( Uid int identity primary key, Duty varchar(200))create table doub(
2012-08-30 17:53:42 477
原创 文件的上传和下载
一、model层using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Model{ [Serializable] public class FilesInfo { public int Id { g
2012-08-30 11:44:30 538
转载 ASP.NET程序中常用的三十三种代码(没看)
ASP.NET程序中常用的三十三种代码1. 打开新的窗口并传送参数: 传送参数:response.write("<script>window.open(’*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"’)</script>") 接收参数:string a = Request.QueryString("id")
2012-08-28 17:35:28 5925
转载 C#控件缩写
C# 控件缩写标准控件1 btn Button 2 chk CheckBox 3 ckl CheckedListBox 4 cmb ComboBox 5 dtp DateTimePicker 6 lbl Label 7 llb LinkLabel 8 lst ListBox 9 lvw ListView 10 mtx Masked
2012-08-28 08:34:00 602
原创 case when then else end
一、(行遍历问题,面试)一道SQL语句面试题,关于group by表内容:bsbsrq res2005-05-09 胜2005-05-09 胜2005-05-09 负2005-05-09 负2005-05-10 胜2005-05-10 负2005-05-10 负二、查询1、select case when condition then
2012-08-27 18:16:27 977
原创 sql中怎样把同一张表中相同字段的内容合并为一条记录(合并的记录的后面不加逗号)?
一、创建表create table stuUnion( sid int identity primary key, cid int, id varchar(500)) 二、添加数据insert into stuUnionselect 1,'a' unionselect 1,'b' unionselect 2,'c' unionselect 2,'
2012-08-27 18:07:55 16812 2
原创 sql中怎样把同一张表中相同字段的内容合并为一条记录(不同字段的那一列每个记录后面加逗号)
一、创建表create table stuUnion( sid int identity primary key, cid int, id varchar(500)) 二、添加数据insert into stuUnionselect 1,'a' unionselect 1,'b' unionselect 2,'c' unionselect 2,'
2012-08-27 17:54:29 21382
原创 CSS 让div内的span在一行显示
让div内的span在一行显示。因为div 是block元素,默认自动换行,需把span的style.display设置成inline-block就行了。即: span { display:inline-block; }
2012-08-24 13:01:03 4340 1
原创 在C#中用JQuery做弹窗效果!
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml"> * {margin:0;padding:0;}#box {display:none;position:absolute;width:300px;height:
2012-08-24 11:38:25 1160
原创 css中的*代表什么
*:通配符,意思是所有的标签都有的属性。一般在很多网上都能看到第一句CSS是 这个*{ margin:0; padding:0;} 这样 可以很好的避免标签的默认内外补丁所产生的差异。
2012-08-24 09:01:08 4963
翻译 SQL Server存储过程中SELECT与SET对变量赋值的区别
SQL Server存储过程中SELECT与SET对变量赋值的区别这篇文章的内容如下:表达式返回多个值时,使用SELECT赋值declare @addr varchar(128)select @addr = addr from chinadba1print @addr --结果集中最后一个addr列的值--结果: addr3 go表达式未返回值时,使用SET赋值de
2012-08-23 18:11:53 1104
翻译 如何用jquery实现checkbox的全选、反选、取消反选,以及如何得到选中的checkbox的值
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml"> $(document).ready(function () { $("#all").click(function () {
2012-08-23 18:10:52 1064
DataAdapter和DataTable
2012-11-16
Sqlserver数据库教程
2012-08-16
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人