摘要:
就比如写一个存储过程对学生表进行你说的操作吧,Options是操作选项。create procedure OperationData @Options Int,@StuId VarChar(10),@StuNameVarChar(8) as begin if Options=0 --选项参数值0执行 阅读全文
摘要:
namespace DAL { class SqlHelper { static string conString = "server=.;database=SQLSchool;uid=sa;pwd=sasa"; /// /// 执行查询返回结果集 /// /// 存储过程名(SQL语句) ... 阅读全文
摘要:
属性 :只读(只有get),只写(只有set),访问级别可以单独定义 阅读全文
摘要:
从声明变量的位置到它所在的同级花括号的结束部份 { int a = 3; } 阅读全文
摘要:
//1.值类型的转换注意大小(隐式转换和强制转换)long chang = 56595959; int int4 = 23; chang = int4; int4 = (int)chang; //2.引用类型的强制转换 Animal a = new ... 阅读全文