摘要:
阅读全文
摘要:
1、 可以把预设体拖拽到Hierarchy中。 2、 按住鼠标右键可以通过WASD移动视角。 3、 可以按住F聚焦游戏对象,鼠标滚轮可以放大缩小。 4、 按F聚焦游戏对象后可以按住alt+鼠标左键围绕游戏对象完美旋转,鼠标右键放大缩小。 5、 如果有什么问题可以Ctrl+Z撤销。 阅读全文
摘要:
1、游标的使用Select\delete \update\insert into 表 selct*from 定义游标,让游标指向sql查询的结果declare demoCursor Cursor for select 列名1,列名2,列名3 from 表名open demoCursor declar 阅读全文
摘要:
一、程序运行时产生的错误通过使用一种称为异常(Exception)的机制在程序中传递,通过异常处理(Exception Handling)有助于处理程序运行过程中发生的意外或异常情况;异常可由CLR和客户端代码抛出(Throw),抛出的异常会在调用堆栈中传递,直到遇到可以捕获该异常的语句进行处理并中 阅读全文
摘要:
基类DictionaryBase 实现了 IEnumerable和ICollection 。IList接口 IDictionary接口都有add()、remove()方法。 话不多说直接上案例: using System; using System.Collections.Generic; usin 阅读全文
摘要:
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.SqlClient; using System.Drawing; usi 阅读全文
摘要:
1、复习 ->select 查询详解 select distinct(去除重复的) \ top … from + 表名 where + 筛选的条件 group by 分组 having order by ->union uninall ->datediff(second,startdate,endd 阅读全文
摘要:
--聚合函数Use AdventureWorkSlT2008Go Avg() :select avg(score1) as 成绩1,avg(score2) as 成绩2 from 表名 SUM() :select sum(score1) as 成绩1,sum(score2) as 成绩2 from 阅读全文
摘要:
给数据库的表添加一列:alter table 表名 add 列名 类型 null例子:alter table UserInfo add [Address] nvarchar(32) null 代码的方式:给列添加默认值约束:alter table 表名 add constraint 约束的名字 de 阅读全文