2017年8月24日

linq 操作

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace dowqjdio{ public class Stude 阅读全文

posted @ 2017-08-24 16:13 泽泽博客 阅读(159) 评论(0) 推荐(0)

2017年8月14日

C#操作数据库的方法

摘要: string connStr = "server=.;uid=sa;pwd=123qweASD;database=Test"; using (SqlConnection conn = new SqlConnection(connStr)) { using (SqlCommand cmd = new 阅读全文

posted @ 2017-08-14 16:39 泽泽博客 阅读(238) 评论(0) 推荐(0)

angularjs相关知识

摘要: 1、创建服务的5种方式 //创建服务(1) app.service("studentInfo",function(){ this.info = function(){ return{ UserId:"B13020505", UserName:"小芳", UserGender:"女", UserAge 阅读全文

posted @ 2017-08-14 15:23 泽泽博客 阅读(134) 评论(0) 推荐(0)

2017年8月13日

sqlsever 约束相关语句

摘要: --1、添加外键约束 ALTER TABLE Product ADD CONSTRAINT FK_Product_Category FOREIGN KEY(CategoryId) REFERENCES Category(CatId) --给delflag添加默认值约束 --ALTER TABLE [ 阅读全文

posted @ 2017-08-13 21:26 泽泽博客 阅读(318) 评论(0) 推荐(0)

导航