自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 C# ASCII码转字符

int asciiCode = 40; System.Text.ASCIIEncoding asciiEncoding = new System.Text.ASCIIEncoding(); byte[] byteArray = new byte[] { (byte)asciiCode }; string strCharacter = asciiEnc

2014-09-29 21:16:06 519

原创 WinForm子窗体和母窗体的交互

功能说明:如图

2014-09-27 14:05:10 1376

原创 WinForm子窗体获取母窗体的值

1:设置

2014-09-27 13:12:58 1147

转载 WinForm母窗体获取子窗体的值

原文    using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms; name

2014-09-27 09:54:52 2710

转载 asp.net 缓存

asp.net 缓存一、缓存概念,缓存的好处、类型。           缓存是一种用空间换取时间的技术,通俗点也就是说把你得到的数据存放在内存中一段时间,在这短时间内服务器不去读取数据库、或是真实的数据源,而是读取你存放在内存中的数据,这里你会疑惑怎么设置存放数据,能存放什么样子的数据,存放时间的设置,真实数据源数据改变服务器不就读取存在偏差?别急,下面慢慢会说到的。。   

2014-09-26 16:33:32 325

转载 Visual Studio 2008 的Toolbox 为空

原文:http://www.cnblogs.com/fox23/archive/2009/03/21/solve-visual-studio-toolbox-disappear-13119.html[VS Tips]Visual Studio 2008 Toolbox里控件消失(#13119)的问题今天打开Visual Studio 2008准备写windows form程

2014-09-26 15:50:28 785

原创 asp.net 对Cookie的简单操作

//创建Cookie protected void btn1_Click(object sender, EventArgs e) { HttpCookie cookie = new HttpCookie("MC"); DateTime dt = DateTime.Now; TimeSpan ts = new TimeSpan(0,

2014-09-26 11:08:36 411

原创 Linq to SQL查询数据库

定义实体类,Linq to SQL 将类直接映射到数据库中的表

2014-09-18 21:48:42 468

原创 ADO.NET读取数据库

SqlCommand dataCommand = new SqlCommand(); dataCommand.Connection = dataConnection; dataCommand.CommandType=CommandType.Text; dataCommand.CommandText =

2014-09-18 10:08:08 677

原创 ADO.NET 链接数据库

//Integrated Security=true是Windows身份验证,默认false. //COM125计算机名,SQLEXPRESS数据库实例名 string strCon = "Data Source =COM125\\SQLEXPRESS;Initial Catalog=TestDB;Integrated Security=true";

2014-09-15 16:20:10 358

空空如也

空空如也

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

TA关注的人

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