2017年7月7日

摘要: 在使用winfrom制作一些工具的时候,一些基本设置都是去属性里面找来找去,一段时间就忘了,记录记录以备不时之需。 一、窗体绘制的常用设置 窗体的设置应当在窗体构造函数中InitializeComponent()方法前执行 public frmMain() { this.StartPosition 阅读全文

posted @ 2017-07-07 17:34 MatthewTiger 阅读(325) 评论(0) 推荐(0) 编辑


2017年7月4日

摘要: using System;using System.Collections;using System.Collections.Specialized;using System.Data;using System.Data.SqlClient;using System.Configuration; n 阅读全文

posted @ 2017-07-04 15:43 MatthewTiger 阅读(359) 评论(0) 推荐(0) 编辑

摘要: 整理几段操作 SQL Server Mobile 数据库的常用 C# 代码,供刚刚接触 SQL Server Mobile 开发的朋友参考。1. 创建数据库// 创建数据库File.Delete("Test.sdf");SqlCeEngine engine = new SqlCeEngine( "D 阅读全文

posted @ 2017-07-04 15:41 MatthewTiger 阅读(265) 评论(0) 推荐(0) 编辑

摘要: /// <summary> /// SQLite 操作类 /// Author Light /// </summary> public class SQLite { /// <summary> /// 数据库 /// </summary> public static string dataBaseP 阅读全文

posted @ 2017-07-04 15:36 MatthewTiger 阅读(2999) 评论(0) 推荐(0) 编辑


Copyright © 2024 MatthewTiger
Powered by .NET 8.0 on Kubernetes