摘要: 最近在一个公司实习 ,由于以前都是写java代码的,然而这个公司却是用C#写后台程序,这二天碰到ado.net就顺便把他记下来吧,万一以后用的着呢,哈哈哈 其实我也是看这个博写的,发现写的真好。 转https://www.cnblogs.com/best/p/7714500.html#_lab2_4 阅读全文
posted @ 2018-08-14 16:41 IT路上的小白 阅读(199) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-08-09 17:20 IT路上的小白 阅读(161) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-08-07 11:20 IT路上的小白 阅读(203) 评论(0) 推荐(0)
摘要: DataSet是数据集,DataTable是数据表,DataSet存储多个DataTable。DataSet和DataTable像是专门存储数据的一个容器,在你查询数据库得到一些结果时可以存在里面。 DataSet功能强大有浏览、排序、搜索、过滤、处理分级数据、缓存更改等功能,还可以与XML数据互换 阅读全文
posted @ 2018-08-06 17:39 IT路上的小白 阅读(2674) 评论(0) 推荐(1)
摘要: 转自https://blog.csdn.net/u010796875/article/details/17386131 一.执行有多行结果集的用ExecuteReader SqlDateReader reader=cmd.ExecuteReader();//查询结果在数据库中,不占客户端电脑内存 W 阅读全文
posted @ 2018-08-06 16:15 IT路上的小白 阅读(421) 评论(0) 推荐(0)
摘要: datareader对象提供只读单向数据的快速传递,单向:您只能依次读取下一条数据;只读:DataReader中的数据是只读的,不能修改;相对地,DataSet中的数据可以任意读取和修改 01.using (SqlConnection connection = 02. new SqlConnecti 阅读全文
posted @ 2018-08-06 16:12 IT路上的小白 阅读(386) 评论(0) 推荐(0)
摘要: 样式如下: 实现的代码一: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using 阅读全文
posted @ 2018-08-02 14:56 IT路上的小白 阅读(5197) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic; namespace CSharp栈{ class Program { static void Main(string[] args) { Stack<string> stack = new Stack<st 阅读全文
posted @ 2018-08-02 10:00 IT路上的小白 阅读(3732) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq; namespace Queue测试{ class Program { static void Main(string[] args) { Queue<string> st 阅读全文
posted @ 2018-08-02 09:56 IT路上的小白 阅读(1865) 评论(0) 推荐(0)
摘要: xshel是一款非常好的ssh远程登入的软件,最近在玩hadoop发现的想把widows上的文件通过xshell直接传送到虚拟机中 这个解决方法还是非常不错的 https://jingyan.baidu.com/article/3a2f7c2e27e01b26afd611cc.html 阅读全文
posted @ 2018-05-06 11:11 IT路上的小白 阅读(209) 评论(0) 推荐(0)