自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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 459

原创 文件的上传和下载

一、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 530

转载 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 5830

转载 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 590

原创 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 960

原创 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 16748 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 21250

原创 CSS 让div内的span在一行显示

让div内的span在一行显示。因为div 是block元素,默认自动换行,需把span的style.display设置成inline-block就行了。即:    span    {        display:inline-block;                    }

2012-08-24 13:01:03 4274 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 1148

原创 css中的*代表什么

*:通配符,意思是所有的标签都有的属性。一般在很多网上都能看到第一句CSS是 这个*{ margin:0; padding:0;} 这样 可以很好的避免标签的默认内外补丁所产生的差异。

2012-08-24 09:01:08 4716

翻译 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 1094

翻译 如何用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 1056

软件操作手册

这部分的软件操作手册,是为了让读我所写的“操作手册格式”的人方便阅读、方便理解。

2013-06-28

DataAdapter和DataTable

DataAdapter和DataTable。它讲的是DataAdapter的InsertCommand、deleteCommand、updateCommand、SelectCommand,以及用dataTable进行创建数据和查询

2012-11-16

GridView分页

这个分页是在GridView本身的分页功能基础上加了点点缀,希望对您有所帮助。

2012-11-01

网页设计 html

它包括网页布局、div+css布局、表单、表格、框架、js、JQuery等。相信会对您有所帮助!

2012-09-13

Sqlserver数据库教程

这个ppt是自己做的。通过学习,我把所学的内容以及可能出现的错误都详细的写在了里面。它包括创建数据库、创建表、对数据库的增删改查操作、存储过程、触发器、事务等内容。希望对下载的你有所帮助!

2012-08-16

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除