Test Windows Live Wrter

Source: Internet
Author: User

C # code

 PublicCarthandler () {} PublicCarthandler (intIdintNumstringaction) {         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 code

if exists(Select *  fromsysobjectswhereName='Tr_student_insert')Drop TriggerTr_student_insertGoCreate TriggerTr_student_insert onStudent afterInsert as--declare @studentNo int = (select Studentno from inserted)--declare @classId int = (select classId from inserted)Declare @studentNo intDeclare @classId intSelect @studentNo=Studentno,@classId=ClassId frominsertedif((SelectClassId fromGradewhereClassId=@classId) is NULL)beginPrint 'ID does not exist, delete an inserted piece of data'--Delete Student where [email protected]EndElsePrint 'ID exists, no action is done'Select *  frominsertedGoInsertStudentValues('123123','nnn','female',0,'138','Address Address','2012-12-12','[email protected]',0)Select *  fromStudent

CSS Code
@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;}

Test Windows Live Wrter

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.