yp秋水伊人

导航

2016年8月17日 #

数据操作类:增删改查(三大类)

摘要: 一、数据连接类 using System; using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Data.SqlClient; n 阅读全文

posted @ 2016-08-17 17:15 yp秋水伊人 阅读(404) 评论(0) 推荐(0) 编辑

作业

摘要: static void Main(string[] args) { //作业 //1、让用户输入一个代号,查到一条数据(car,info),并显示 //2、输出提示,输入1删除该数据,输入2修改数据,输入3添加数据 //3、当用户输入1,把查到的这条数据删除 //4、当用户输入2,提示输入其他值,主 阅读全文

posted @ 2016-08-17 16:40 yp秋水伊人 阅读(158) 评论(0) 推荐(0) 编辑

泛型集合

摘要: namespace 泛型集合 { class Program { static void Main(string[] args) { //创建泛型集合对象 List<int> list=new List<int>(); //添加原素1,2,3 list.Add(1); list.Add(2); li 阅读全文

posted @ 2016-08-17 16:27 yp秋水伊人 阅读(148) 评论(0) 推荐(0) 编辑