noteswiki

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2016年10月27日

摘要: 在学习DataTable知识之前,我们有必要了解下ADO.NET。以下摘自MSDN: ADO.NET 对 Microsoft SQL Server 和 XML 等数据源以及通过 OLE DB 和 XML 公开的数据源提供一致的访问。数据共享使用者应用程序可以使用 ADO.NET 来连接到这些数据源, 阅读全文
posted @ 2016-10-27 22:06 noteswiki 阅读(4128) 评论(0) 推荐(0) 编辑

2016年9月20日

摘要: 自定义IniFile操作类 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; using System 阅读全文
posted @ 2016-09-20 00:33 noteswiki 阅读(3409) 评论(0) 推荐(0) 编辑

2016年9月18日

摘要: 窗体起始位置为顶部中间,WinForm居中显示: 其他注意点: 通过指定窗体Locaiton来,设定窗体位置 创建窗体时, 设置宽度和高度 获取屏幕大小(using System.Drawing) 阅读全文
posted @ 2016-09-18 23:58 noteswiki 阅读(13965) 评论(0) 推荐(1) 编辑

2016年9月8日

摘要: 通过List<String>动态传递参数 调用 动态 传递给sqlparamter <略> 阅读全文
posted @ 2016-09-08 00:08 noteswiki 阅读(1827) 评论(0) 推荐(0) 编辑

2016年9月6日

摘要: private void bindTreeView1() { string sql = "select * from dm_category"; DataTable dt = db.ExecuteDataTable(sql, CommandType.Text, null); DataRow[] dr 阅读全文
posted @ 2016-09-06 20:33 noteswiki 阅读(242) 评论(0) 推荐(0) 编辑

2016年9月4日

摘要: Datagridview 列绑定 阅读全文
posted @ 2016-09-04 23:49 noteswiki 阅读(432) 评论(0) 推荐(0) 编辑

摘要: Solution1://In Fill DataGridViewEvent : // In Button Event put these codes: datagridview 中的checkbox列是否被选中 反选 阅读全文
posted @ 2016-09-04 22:31 noteswiki 阅读(12293) 评论(0) 推荐(2) 编辑

2016年8月9日

摘要: 1.数据库连接(常用连接方法,示例) 1 string dbPath = Environment.CurrentDirectory + "/test.db";/*指定数据库路径 */ 2 using(SQLiteConnection conn = new SQLiteConnection("Data 阅读全文
posted @ 2016-08-09 22:18 noteswiki 阅读(1618) 评论(0) 推荐(0) 编辑

摘要: 1.SQLLite如何集成在C#中 2.相关C#与SQLLite资源,及说明 3.简单示例 阅读全文
posted @ 2016-08-09 22:15 noteswiki 阅读(412) 评论(0) 推荐(0) 编辑

摘要: 1.SQLLite 简介 2.命令行使用 3.常用GUI管理工具 阅读全文
posted @ 2016-08-09 22:10 noteswiki 阅读(134) 评论(0) 推荐(0) 编辑