- 博客(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母窗体获取子窗体的值
原文 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
原创 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关注的人