Mastering C Sharp Database Programming doc
... returned results from an Access database. Listing 1.2: OLEDBCONNECTIONACCESS.CS /* OleDbConnectionAccess.cs illustrates how to use an OleDbConnection object to connect to an Access database */ using ... Connecting to Access and Oracle Databases Connecting to Access and Oracle Databases In this section you'll see examples of connecting to both an Access and an Oracle database. To int...
Ngày tải lên: 14/03/2014, 20:20
C sharp database programming
... results from an Access database. Listing 1.2: OLEDBCONNECTIONACCESS.CS /* OleDbConnectionAccess.cs illustrates how to use an OleDbConnection object to connect to an Access database 24 */ using ... namespace in Chapter 5, "Overview of the ADO. NET Classes." Connecting to an Access Database You connect to an Access database using an OleDbConnection object-rather than a Sql...
Ngày tải lên: 14/03/2014, 17:40
... { this._sName = name; } } } Mình không c nhiều thời gian nên c c bạn c thể tự tìm hiểu thêm, chú c c đến Enumerator c a AttributeTargets. Sử dụng Attribute tự t ạo tương ... Ví dụ 3! Creating Custom Attributes(tạo một Attributes) * Lớp tạo Attributes PHP Code: /* * Created by SharpDevelop. * NetDevelop Co., Ltd. * Author: Tuan Anh Nguyen Ngoc * Date:...
Ngày tải lên: 15/12/2013, 01:16
... You can place three types of columns within a Columns collection: a text column (DataGridTextColumn), a check-box column (DataGridCheckBoxColumn), and a template column (DataGridTemplateColumn). ... the collection. To bind a DataGrid and ListBox to dynamic data that will be updated, you should use the ObservableCollection generic class. The ObservableCollection class represents a collec...
Ngày tải lên: 17/02/2014, 23:20
C sharp From Java doc
... I put the documentation comments into my source Java has Javadoc. C# doesn’t. C# has a commenting system which is very similar, where you put keys into the source code which are picked up and ... DataClass ThisClass; public EditorClass ( DataClass thisClass ) { // copy a reference to the enclosing instance this.ThisClass = thisClass; // use it to get my properties to change ThisCla...
Ngày tải lên: 23/03/2014, 22:20
mastering vb.net database programming 2002
... connNorthwind) Dim cmdInsertCustomer As New SqlCommand(strInsertCommand, connNorthwind) daCustomers.SelectCommand = cmdSelectCustomer daCustomers.InsertCommand = cmdInsertCustomer connNorthwind.Open() daCustomers.Fill(dsCustomers, ... this code, notice that you can’t use the implicit connection created by the DataSet. This is because the InsertCommand object requires a Connection object in...
Ngày tải lên: 17/04/2014, 09:17
Tài liệu Practical Database Programming With Visual C#.NET- P17 docx
... OracleConnection OracleConn() { string cmdString = ConfigurationManager.ConnectionStrings["ora_conn"].ConnectionString; OracleConnection conn = new OracleConnection(); conn.ConnectionString ... OracleSelectResult GetOracleSelectSP(string FacultyName) { OracleConnection oraConnection = new OracleConnection(); OracleSelectResult OracleResult = new OracleSelectResult();...
Ngày tải lên: 14/12/2013, 15:15
Tài liệu Practical Database Programming With Visual C#.NET- P1 doc
... 97 3.4.1.4 Oracle Data Provider 98 3.4.2 Connection Class 98 3.4.2.1 Open() Method of Connection Class 100 3.4.2.2 Close() Method of Connection Class 101 3.4.2.3 Dispose() Method of Connection Class ... Methods of ParameterCollection Class 106 3.4.3.5 Constructor of Command Class 107 3.4.3.6 Methods of Command Class 108 3.4.4 DataAdapter Class 111 3.4.4.1 Constructor of DataAdapter Class 111...
Ngày tải lên: 26/01/2014, 08:20
Practical Database Programming With Visual C#.NET- P6
... accCommand.Connection = logForm.accConnection; accCommand.CommandType = CommandType.Text; accCommand.CommandText = cmdString; accCommand.Parameters.Add("@Param1", OleDbType.Char).Value ... (logForm.accConnection.State == ConnectionState.Open) logForm.accConnection.Close(); logForm.Close(); courseForm.Close(); facultyForm.Close(); studentForm.Close(); Application.Exi...
Ngày tải lên: 17/10/2013, 19:15
Practical Database Programming With Visual C#.NET- P7
... MTC-336 J33486 Steve Johnson MTC-118 K69880 Jenney King MTC-324 course_id faculty_id classroom CSC-131A A52990 TC-109 CSC-13 1C A52990 TC-109 CSC-132A J33486 TC-303 CSC-132B B78880 TC-302 CSC-230 ... to access the LogInForm from other objects or methods defi ned in this project to use the global connection sqlConnection object to access the database. private void cmdCancel_Click(object se...
Ngày tải lên: 20/10/2013, 11:15