首页 > 代码库 > 测试 Windows Live Wrter

测试 Windows Live Wrter

Alaska Peninsula National Wildlife Refuge

 

C#代码

public CartHandler()    {    }    public CartHandler(int id, int num, string action)    {        this.id = id;// string.IsNullOrEmpty(context.Request.Params["id"]) ? 0 : Convert.ToInt32(context.Request.Params["id"]);        this.num = num;// string.IsNullOrEmpty(context.Request.Params["num"]) ? 0 : Convert.ToInt32(context.Request.Params["num"]);        this.action = action;// string.IsNullOrEmpty(context.Request.Params["action"]) ? "" : context.Request.Params["action"];    }

T-SQL代码

if exists(select * from sysobjects where name =tr_student_insert)drop trigger tr_student_insertgocreate trigger tr_student_inserton student after insertas--declare @studentNo int =(select StudentNo from inserted)--declare @classId int =(select ClassId from inserted)declare @studentNo intdeclare @classId intselect @studentNo=studentNo, @classId= ClassId from insertedif((select ClassId from grade where ClassId=@classId) is null)beginprint id不存在,删除一条插入的数据--delete Student where StudentNo=@studentNoendelseprint id 存在,不做任何操作select * from insertedgoinsert Student values(123123,nnn,,0,138,地址地址,2012-12-12,xx@qq.com,0)select * from Student

 

vs07

 

vs10

 

32603ed607027095b73a324a88f16979

 

TsinghuaArche_ZH-CN7826742772_1920x1200

 

Css代码

@charset "gb2312";/* CSS Document */.list_1 div.title{ background:none; border-bottom:none; height:80px; text-align:center;}.list_1 div.title span{ float:right; margin:0 50px 0 0;}.detail .content{ background:none;width:640px; margin:0 auto 20px;}.detail .content p{ margin:0; width:auto; line-height:25px;}

测试 Windows Live Wrter