- 博客(13)
- 收藏
- 关注
原创 15章上机123题
using System;using System.Collections.Generic;using System.Data.SqlClient;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication2{
2016-11-30 17:05:58 367
原创 14章 上机3-5
using System;using System.Collections.Generic;using System.Data.SqlClient;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication3{ class DBOpera
2016-11-29 15:51:37 1067
原创 14章 示题3 代码
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Data.SqlClient;namespace ConsoleApplication1{ class Pro
2016-11-29 12:15:00 248
原创 13章 练习
--查询数据 --1 select RelationQQID as 好友QQ,NickName as 昵称,Age as 年龄 from [QQ].[dbo].[Relation] as a,[QQ].[dbo].[BaseInfo] as b where a.QQID=88662753 and RelationStatus=1 --2 查询当前在线
2016-11-27 17:27:38 350
原创 11章 5题
--查询所有科目的参考信息(某些科目可能还没有被考试过)SELECT J.SubjectName AS 科目名称,R.StudentNo AS 学号,R.StudentResult AS 分数FROM Subject AS JLEFT OUTER JOIN Result AS RON J.SubjectId=R.SubjectIdSELECT J.SubjectName AS 科目名称
2016-11-25 17:12:21 287
原创 sql 11章上机练习
--上机1 --1 SELECT GradeId ,sum (ClassHour) FROM [MySchool].[dbo].[Subject] group by GradeId order by sum (ClassHour) --2 SELECT StudentNo,AVG(StudentResult)as 平均分 FROM [MySchool].[dbo].[
2016-11-25 15:58:44 1140
原创 给出1组30个数字的前5个数:11235,找到规律输出这30个数及生成的30个数中的奇数.偶数的个数.
namespace shangji2{ class Class1 { public int[] HanShu(){int[] shu = new int[30];shu[0] = 1;shu[1] = 1;for (int i = 2; i < 30;i++ ){ shu[i] = shu[i - 1] + shu[i - 2];}
2016-11-11 16:53:14 4100
原创 c# 第二章 课后习题3
static void Main(string[] args) { int i, j; for (i = 1; i <= 5;i++ ) { for (j = 1; j <= i;j++ ) { Consol
2016-11-09 10:05:08 1323
原创 长度为7的数组,冒泡排序.
static void Main(string[] args) { int[] a = new int[] {11,24,13,44,75,54,37}; for (int i = 0; i < a.Length-1; i++) { for (int j = 0; j < a.Le
2016-11-09 09:54:49 449
原创 c# MyBank 上机题1 2 3
class User { public string name; //姓名 public string password;//密码 public string zh;//账号 public string sfz;//身份证 public double y;//存款余额 public doubl
2016-11-08 15:12:24 1984 1
原创 动画变色页面
动画变色页面div{background-color:#ffff00;transition:background-color 0.5s linear;}div:hover{background-color:red;}....
2016-11-05 21:01:12 210
原创 球形动画页面
球形动画页面body{background-color:#000;}.box{width:300px;height:300px;position:absolute;left:50%;top:50%;margin:-150px 0 0 -150px;perspective-origin:50% 50%;perspective:30000px;}@-webkit-key
2016-11-05 20:33:10 387
原创 C#第一章 上机习题3
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication1{ class User { public string y;//用户名
2016-11-04 12:20:43 1307
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人