Tài liệu Creating a Samba Server doc

Tài liệu Creating a Samba Server doc

Tài liệu Creating a Samba Server doc

... new password once and then again for verification. To add additional Samba user accounts , repeat steps 1 and 2. 3. Create the Samba password file. Enter the following command at the command ... cat /etc/passwd | /usr/bin/mksmbpasswd.sh > /etc /samba/ passwd 4. Add an SMB password for users that have Samba accounts. Enter smbpasswd johnd at the shell prompt. After this command h...

Ngày tải lên: 18/01/2014, 05:20

2 270 0
Tài liệu Creating a Generic Class docx

Tài liệu Creating a Generic Class docx

... current instance is greater than the value of the parameter As an example, consider the Circle class that was described in Chapter 7, Creating and Managing Classes and Objects,” and is reproduced ... Circle objects based on their areas. The area of a circle with a larger area is greater than a circle with a smaller area. class Circle : System.IComparable { public int Compare...

Ngày tải lên: 24/12/2013, 09:16

12 298 0
Tài liệu Creating a ForeignKeyConstraint Object doc

Tài liệu Creating a ForeignKeyConstraint Object doc

... ForeignKeyConstraint. • parentDataTableName is the name of the parent DataTable. • parentDataColumnNames and childDataColumnNames contain the names of the DataColumn objects in the parent and child DataTable ... ForeignKeyConstraint(string constraintName, DataColumn[] parentDataColumns, DataColumn[] childDataColumns) ForeignKeyConstraint(string constraintName, string parentDataTableNam...

Ngày tải lên: 21/01/2014, 07:20

3 232 0
Tài liệu Creating a New SQL Server Database doc

Tài liệu Creating a New SQL Server Database doc

... command text to create database. String sqlText = "CREATE DATABASE MyDatabase ON PRIMARY " + "(NAME = MyDatabase_Data, " + "FILENAME = '" + DATAFILENAME ... are two categories of SQL statements: D atabase Definition Language (DDL) Used to manage all objects in the database, generally with CREATE, ALTER, and DROP statements to create, modify, and ......

Ngày tải lên: 21/01/2014, 11:20

3 410 1
Tài liệu Executing a SQL Server Stored Procedure By Using ActiveX Data Objects doc

Tài liệu Executing a SQL Server Stored Procedure By Using ActiveX Data Objects doc

... use the ADO Command object, as well as the Parameter object if you are passing parameters. You will create a Command object and supply the command text, which in this case will be the name of ... Command object you are creating- in this case by using the type of ADODB.CommandTypeEnum.adCmdStoredProc. The next step is to create a parameter that the Command object will use. This param...

Ngày tải lên: 14/12/2013, 20:16

2 450 0
Tài liệu Creating a Windows Forms Application docx

Tài liệu Creating a Windows Forms Application docx

... Creating a Windows Forms Application So far you have used Visual Studio 2005 to create and run a basic Console application. The Visual Studio 2005 programming environment also contains ... graphical applications—for example, the TextBox, Label, and Button classes. o The namespace Visual Studio 2005 has used the name of the project as the name of the top- level namespace: namesp...

Ngày tải lên: 24/12/2013, 09:16

8 351 0
Tài liệu Creating a Command Object Using Visual Studio .NET docx

Tài liệu Creating a Command Object Using Visual Studio .NET docx

... Creating a Command Object Using Visual Studio .NET To create a SqlCommand object using Visual Studio .NET (VS .NET), you drag a SqlCommand object from the Data tab of the Toolbox ... a new project named MyDataReader containing a Windows application. 2. Add a SqlConnection object to your project (refer back to the previous chapter to see how to add a SqlConnection object ....

Ngày tải lên: 21/01/2014, 07:20

3 379 0
Tài liệu Creating a DataAdapter Object Using Visual Studio .NET doc

Tài liệu Creating a DataAdapter Object Using Visual Studio .NET doc

... create a SqlDataAdapter object by dragging a SqlDataAdapter object from the Data tab of the Toolbox to your form. When you drag a SqlDataAdapter object to your form, you start the Data Adapter ... the Data Adapter Configuration Wizard. Figure 10.12: Final dialog box for the Data Adapter Configuration Wizard Click the Finish button to complete the Wizard. A SqlDataAdapter object...

Ngày tải lên: 21/01/2014, 07:20

4 344 0
Tài liệu Creating a DataSet Object Using Visual Studio .NET docx

Tài liệu Creating a DataSet Object Using Visual Studio .NET docx

... sqlDataAdapter1.Fill(dataSet11, "Products"); sqlConnection1.Close(); System.Data.DataTable myDataTable = dataSet11.Tables["Products"]; foreach (System.Data.DataRow myDataRow in myDataTable.Rows) ... form, and add code to your form to fill it using the Fill() method of a DataAdapter object. • Click the Generate Dataset link at the bottom of the Properties window...

Ngày tải lên: 21/01/2014, 07:20

3 350 0
Tài liệu Creating a Table in the Database from a DataTable Schema docx

Tài liệu Creating a Table in the Database from a DataTable Schema docx

... Team LiB ] Recipe 10.15 Creating a Table in the Database from a DataTable Schema Problem You need to create a table in a database from an existing DataTable schema. Solution Use the CreateTableFromSchema( ... sample database. The method CreateTableFromSchema( ) in the sample code is called to create a table in the database from this schema. CreateTableFromSchema( ) This...

Ngày tải lên: 21/01/2014, 11:20

6 493 0
w