this.oleDbDeleteCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Original_用户权限", System.Data.OleDb.OleDbType.VarWChar, 15, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "用户权限", System.Data.DataRowVersion.Original, null)); this.oleDbDeleteCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Original_用户权限1", System.Data.OleDb.OleDbType.VarWChar, 15, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "用户权限", System.Data.DataRowVersion.Original, null)); // // oleDbConnection1 // this.oleDbConnection1.ConnectionString = @"Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Registry Path=;Jet OLEDB:Database Locking Mode=1;Jet OLEDB:Database Password=;Data Source=""g:\document. and Settings\Administrator\My document.\Visual Studio Projects\企业人事管理系统\企业人事管理系统\DateBase\DateBase.mdb"";Password=;Jet OLEDB:Engine Type=5;Jet OLEDB:Global Bulk Transactions=1;Provider=""Microsoft.Jet.OLEDB.4.0"";Jet OLEDB:System database=;Jet OLEDB:SFP=False;Extended Properties=;Mode=Share Deny None;Jet OLEDB:New Database Password=;Jet OLEDB:Create System Database=False;Jet OLEDB:Don't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;User ID=Admin;Jet OLEDB:Encrypt Database=False"; // // oleDbInsertCommand1 // this.oleDbInsertCommand1.CommandText = "INSERT INTO 管理用户(用户口令, 用户名称, 用户权限) valueS (?, ?, ?)"; this.oleDbInsertCommand1.Connection = this.oleDbConnection1; this.oleDbInsertCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("用户口令", System.Data.OleDb.OleDbType.VarWChar, 10, "用户口令")); this.oleDbInsertCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("用户名称", System.Data.OleDb.OleDbType.VarWChar, 15, "用户名称")); this.oleDbInsertCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("用户权限", System.Data.OleDb.OleDbType.VarWChar, 15, "用户权限")); // // oleDbSelectCommand1 // this.oleDbSelectCommand1.CommandText = "SELECT 用户口令, 用户名称, 用户权限 FROM 管理用户"; |