来自 数据库 2019-11-23 00:29 的文章
当前位置: 澳门三合彩票 > 数据库 > 正文

在SQL SERVER中建立这样结构的一个表

以下是引用片段: 复制代码 代码如下: ImportsSystem.Data ImportsSystem.Data.SqlClient PublicClassForm1 InheritsSystem.Windows.Forms.Form PrivateConnectionStringAsString="DataSource=.;InitialCatalog=;UserId=sa;Password=;" PrivatereaderAsSqlDataReader=Nothing PrivateconnAsSqlConnection=Nothing PrivatecmdAsSqlCommand=Nothing PrivateAlterTableBtnAsSystem.Windows.Forms.Button PrivatesqlAsString=Nothing PrivateCreateOthersBtnAsSystem.Windows.Forms.Button #Region"Windows窗体设计器生成的代码" '窗体重写处置以清理组件列表。 ProtectedOverloadsOverridesSubDispose(ByValdisposingAsBoolean) IfdisposingThen IfNotThen components.Dispose() EndIf EndIf MyBase.Dispose EndSub PublicSubNew InitializeComponent() EndSub PrivatecomponentsAsSystem.ComponentModel.IContainer FriendWithEventsDataGrid1AsSystem.Windows.Forms.DataGrid FriendWithEventsCreateDBBtnAsSystem.Windows.Forms.Button FriendWithEventsCreateTableBtnAsSystem.Windows.Forms.Button FriendWithEventsCreateSPBtnAsSystem.Windows.Forms.Button FriendWithEventsCreateViewBtnAsSystem.Windows.Forms.Button FriendWithEventsbtnAlterTableAsSystem.Windows.Forms.Button FriendWithEventsbtnCreateOthersAsSystem.Windows.Forms.Button FriendWithEventsbtnDropTableAsSystem.Windows.Forms.Button FriendWithEventsbtnViewDataAsSystem.Windows.Forms.Button FriendWithEventsbtnViewSPAsSystem.Windows.Forms.Button FriendWithEventsbtnViewViewAsSystem.Windows.Forms.Button PrivateSubInitializeComponent() 复制代码 代码如下:Me.CreateDBBtn=NewSystem.Windows.Forms.Button() Me.CreateTableBtn=NewSystem.Windows.Forms.Button() Me.CreateSPBtn=NewSystem.Windows.Forms.Button() Me.CreateViewBtn=NewSystem.Windows.Forms.Button() Me.btnAlterTable=NewSystem.Windows.Forms.Button() Me.btnCreateOthers=NewSystem.Windows.Forms.Button() Me.btnDropTable=NewSystem.Windows.Forms.Button() Me.btnViewData=NewSystem.Windows.Forms.Button() Me.btnViewSP=NewSystem.Windows.Forms.Button() Me.btnViewView=NewSystem.Windows.Forms.Button() Me.DataGrid1=NewSystem.Windows.Forms.DataGrid() CType(Me.DataGrid1,System.ComponentModel.ISupportInitialize).BeginInit ' 'CreateDBBtn ' Me.CreateDBBtn.Location=NewSystem.Drawing.Point Me.CreateDBBtn.Name="CreateDBBtn" Me.CreateDBBtn.Size=NewSystem.Drawing.Size Me.CreateDBBtn.TabIndex=0 Me.CreateDBBtn.Text="创建数据库" ' 'CreateTableBtn ' Me.CreateTableBtn.Location=NewSystem.Drawing.Point Me.CreateTableBtn.Name="CreateTableBtn" Me.CreateTableBtn.TabIndex=1 Me.CreateTableBtn.Text="创建表" ' 'CreateSPBtn ' Me.CreateSPBtn.Location=NewSystem.Drawing.Point Me.CreateSPBtn.Name="CreateSPBtn" Me.CreateSPBtn.Size=NewSystem.Drawing.Size Me.CreateSPBtn.TabIndex=2 Me.CreateSPBtn.Text="创建存储过程" ' 'CreateViewBtn ' Me.CreateViewBtn.Location=NewSystem.Drawing.Point Me.CreateViewBtn.Name="CreateViewBtn" Me.CreateViewBtn.TabIndex=3中国网管联盟www.bitscn.com Me.CreateViewBtn.Text="创建视图" ' 'btnAlterTable ' Me.btnAlterTable.Location=NewSystem.Drawing.Point Me.btnAlterTable.Name="btnAlterTable" Me.btnAlterTable.TabIndex=4 Me.btnAlterTable.Text="修改表"

本文由澳门三合彩票发布于数据库,转载请注明出处:在SQL SERVER中建立这样结构的一个表

关键词: