摘要: using System.Data.Common; private void Method1() { DataTable table = DbProviderFactories.GetFactoryClasses(); dataGridVi... 阅读全文
posted @ 2015-03-25 10:54 ChuckLu 阅读(476) 评论(0) 推荐(0) 编辑
摘要: https://msdn.microsoft.com/zh-cn/library/system.data.sqlclient.sqltransaction(v=vs.110).aspxprivate static void ExecuteSqlTransaction(string connectio... 阅读全文
posted @ 2015-03-25 09:08 ChuckLu 阅读(427) 评论(0) 推荐(0) 编辑
摘要: System.Data.SqlTypesSqlDbType 枚举类型Specifies SQL Server-specific data type of a field, property, for use in a SqlParameter. 阅读全文
posted @ 2015-03-25 08:54 ChuckLu 阅读(241) 评论(0) 推荐(0) 编辑