自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 未将对象引用设置到对象的实例 DataReader 错误解决

测试通过后的方法: List<String> list=new List<string> { }; int index = 0; while (reader.Read()) { if (!

2017-06-19 01:41:17 259

原创 c# select数据库数据

public class PMInfobyPMHZ     {         static string DBstr = @"Server=tcp:*****;Initial Catalog=****;Persist Security Info=False;User ID=****;Password=****;MultipleActiveResultSets=False;Encrypt=Tr

2017-06-18 14:32:29 219

原创 MSDN system.Text.RegularExpression 文档

https://msdn.microsoft.com/zh-cn/library/system.text.regularexpressions(v=vs.110).aspx

2017-05-05 17:13:47 221

原创 选择文件夹路径

FolderBrowserDialog dialog = new FolderBrowserDialog(); dialog.Description = "请选择文件路径"; if (dialog.ShowDialog() == DialogResult.OK) { foldPath = dialo

2017-05-03 20:58:06 244

原创 c# txt文件读写到winform中

****memopath为路径,Encoding.UTF8为编码方式 从文本框读入到txt文件中:** private void button8_Click(object sender, EventArgs e) { string memo = this.richTextBox1.Text.ToString(); StreamWrit

2017-03-15 19:21:19 331

原创 正则表达式学习笔记

regex

2017-05-05 16:42:21 126

原创 从url下载html,并正则匹配输出字符串数组

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using System.Net; using System.Text.RegularExpressions; using System

2017-05-03 21:01:58 128

原创 C# winform 图片操作

private void button1_Click(object sender, EventArgs e) { OpenFileDialog select = new OpenFileDialog(); select.Filter = "Jpg|*.jpg|Jepg|*.jpeg|Bmp|*.bmp|GIF|*.gif";

2017-03-13 23:28:30 140

转载 c#-ADO.NET链接数据库

c#链接数据库ADO.NET

2017-01-23 16:18:14 157

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除