... Creating a SqlCommand Object There are two ways you can create a SqlCommand object: • Use one of the SqlCommand constructors. • Call the CreateCommand() method of a SqlConnection object. ... SqlConnection object. mySqlTransaction is your SqlTransaction object. Before you use a SqlCommand object you first need a SqlConnection object, which is used to communicate with a SQL...
Ngày tải lên: 21/01/2014, 07:20
... SqlDataAdapter(); mySqlDataAdapter.SelectCommand = mySqlCommand; DataSet myDataSet = new DataSet(); mySqlConnection.Open(); mySqlDataAdapter.Fill(myDataSet); mySqlConnection.Close(); myDataSet.Tables["Table"].TableName ... the DataColumn of a DataTable, the D ataColumn value in each DataRow object in the DataTable must be unique. The final example retrieves the constraint...
Ngày tải lên: 26/01/2014, 07:20
Tài liệu Creating a Logical Standby Database by Using Enterprise Manager ppt
... normal security • Query GUARD_STATUS column in V$DATABASE. • Database guard level is set to ALL by broker automatically on the logical standby database. • Database guard level applies to all ... DATABASE GUARD command keywords: – ALL: prevents users from making changes to any data in the database. – STANDBY: prevents users from making changes to any data maintained by Data Guard SQL Apply....
Ngày tải lên: 09/12/2013, 16:15
Tài liệu Creating a DOS Boot Disk pptx
... technician, the student will need to create a boot disk in order to prepare a computer for installation. This disk will include utilities such as fdisk and format so that a hard drive can be prepared ... for an operating system. Procedures Formatting prepares the disk for use. For DOS, make a bootable disk using the same version of DOS that is on the hard drive. Note: Use cautio...
Ngày tải lên: 21/12/2013, 19:15
Tài liệu Creating a Class That Participates in an Automatic Transaction ppt
... they can participate in an automatic transaction. Once an object is marked to participate in a transaction, it will automatically execute within a transaction. The object's transactional ... programmatically to participate automatically in an existing transaction, to start a new transaction, or to not participate in a transaction. The following steps prepare a class to parti...
Ngày tải lên: 24/12/2013, 05:15
Tài liệu Creating a New Access Database pptx
... Button.Click Allows the user to specify the filename for the new Access database and then calls the CreateAccessDatabase( ) method in the sample to create the database. CreateAccessDatabase( ) This ... [ Team LiB ] Recipe 10.6 Creating a New Access Database Problem You need to create a new Microsoft Access database. Solution Use ActiveX Database Objects Extensions (ADOX) fr...
Ngày tải lên: 24/12/2013, 05:15
Tài liệu Creating a DataView Using Visual Studio .NET pptx
... window for sqlDataAdapter1. Accept the defaults in the dialog box, and click the OK button to create a DataSet object named dataSet11. 5. Drag a DataView object from the Data tab of the Toolbox ... This creates a SqlConnection object named sqlConnection1 and a SqlDataAdapter object named sqlDataAdapter1. These objects are placed in the tray beneath your form. 3. Alter the Connec...
Ngày tải lên: 21/01/2014, 07:20
Tài liệu Creating a Simple ASP.NET Web Application Using VS .NET pptx
... Creating a Simple ASP.NET Web Application Using VS .NET In this section, you'll see how to create a simple ASP.NET Web application that contains a text box and a button using ... Page_Load event is raised. The Page_Load event is raised whenever the Web form is loaded by a browser. Typically, you'll place any initialization code in the Page_Load() method. For example,...
Ngày tải lên: 21/01/2014, 07:20
Tài liệu Creating a Simple Shopping Cart Application ppt
... cart in a Session object. N ote As mentioned in the previous section, in a real application you'll probably want to store the shopping cart in the database rather than in a Session object. ... notice that this method creates a DataTable to store the shopping cart, and that this DataTable is stored in the Session object: 8. private void Page_Load(object sender, System.Event...
Ngày tải lên: 21/01/2014, 07:20