摘要: alert() 函数在 JavaScript 中并不常用,但它对于代码测试非常方便。我的第一段 JavaScriptJavaScript 能够对事件作出反应。比如对按钮的点击:点击这里 阅读全文
posted @ 2015-07-14 10:15 骏码信息 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 无标题文档html1 主要左边的链接无标题文档百度猫扑注;左边的链接要在右边的分层页面中实现,利用target 属性 name 的定义使用。。若在当前页面跳转则target="_self",新的一页跳转,则target="_blank" 阅读全文
posted @ 2015-07-09 09:39 骏码信息 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 我的初学者文档人生得意须尽欢,莫使金樽空对月 我是标题 我是标题 图片标签,用来显示图片。src 表示要显示图片的路径。alt 当路径出现错误时,图片不显示,而显示“还行吧”title 当将鼠标放入图片上时,显示“原来是美女啊”border 代表图片的边框 阅读全文
posted @ 2015-07-05 21:58 骏码信息 阅读(175) 评论(0) 推荐(0) 编辑
摘要: create trigger Delete_Student --创建一个触发器on student instead of delete as declare @sno varchar(20) select @sno= sno from deleted delete from score ... 阅读全文
posted @ 2015-07-04 21:34 骏码信息 阅读(2139) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 求任意长度数组的最大值__整数类型___方法_{ c... 阅读全文
posted @ 2015-06-22 21:59 骏码信息 阅读(357) 评论(0) 推荐(0) 编辑
摘要: namespace params参数的用法{ class Program { public static void Test(string name,params int[] score) { int sum = 0; ... 阅读全文
posted @ 2015-06-22 20:33 骏码信息 阅读(365) 评论(0) 推荐(0) 编辑
摘要: 如果在为方法声明参数时未使用 ref 或 out,则该参数可以具有关联的值。可以在方法中更改该值,但当控制传递回调用过程时,不会保留更改的值。通过使用方法参数关键字,可以更改这种行为。paramsparams 关键字可以指定在参数数目可变处采用参数的方法参数。在方法声明中的 params 关键字之后... 阅读全文
posted @ 2015-06-22 19:58 骏码信息 阅读(238) 评论(0) 推荐(0) 编辑
摘要: class Program { /// /// 求数组中的最大值,最小值,总和以及平均值。 /// /// 输入一个数组 /// 返回一个新的数组(max,min,sum,avg) public ... 阅读全文
posted @ 2015-06-18 22:07 骏码信息 阅读(2945) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 函数_解一元二次方程_{ class Program { public static ... 阅读全文
posted @ 2015-06-16 15:41 骏码信息 阅读(251) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 建一个判断是否为闰年的方法_函数_{ class Program { /// ... 阅读全文
posted @ 2015-06-15 23:51 骏码信息 阅读(203) 评论(0) 推荐(0) 编辑