摘要:
using Model; using System.Collections.Generic; using System.Text; public class Class1 { #region 生成Model类 public void testff() { #region 数据库ID所对应的类型值 Dictionary DicType ... 阅读全文
摘要:
using System.Collections.Generic; using System.Text; public class Class1 { //传递 1.表名 2.列名 3.类型 public void GenerateModel(string TableName, string ColumnName, string TypeName)... 阅读全文
摘要:
select * from sysobjects --查询所有信息 SELECT Name FROM Master..SysDatabases ORDER BY Name --查询所有数据库名字 SELECT name FROM sysobjects WHERE xtype='U' --查询数据库表(先引用数据库[use]) select * from sys.tables --查询数据库... 阅读全文
摘要:
namespace test { using System; using System.ComponentModel; using System.Drawing; using System.Windows.Forms; public class Form1 : Form // public partial class Form1 : Form ... 阅读全文