摘要: 数据库连接 SqlConnection数据适配器 SqlDataAdapter数据命令 SqlCommand数据读取器 SqlDataReader事务处理 SqlTransaction命令参数 SqlParameter//SqlDataAdapter public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { string sql = "select * from Ticket 阅读全文
posted @ 2012-08-12 18:37 YDA 阅读(117) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;using System.Runtime.Serialization.Formatters.Binary; //引用命名空间namespace ClassLibrary1{ public class Serialize { #region 二进制序列化 public MemoryStream SerializeBinary(object obj) { BinaryFormatter Serialze. 阅读全文
posted @ 2012-08-12 15:37 YDA 阅读(171) 评论(0) 推荐(0)