Developing a Simple Windows Application phần 1
... Developing a Simple Windows Application In this section, you'll see how to create a simple Windows application using VS .NET. This application will consist of a single form that contains ... some of these categories: • Data The Data category contains classes that allow you to access and store information from a database. The Data category includes the followi...
Ngày tải lên: 17/10/2013, 19:15
... displayed in Windows Explorer for your application. • Assembly File An assembly file contains the metadata for your application& apos;s assembly. An assembly is collection of code for your application. ... and provides a number of methods you can use in your Windows programs. Because this class is static, you don't create an instance of this class, and its members are alway...
Ngày tải lên: 20/10/2013, 10:15
... the Data Form Wizard to Create a Windows Form In this section, you'll use the VS .NET Data Form Wizard to create a Windows application that accesses both the Customers and Orders tables. ... dialog box, select Empty Project, and enter DataFormWindowsApplication in the Name field. Because you'll be adding a new form to your new application shortly, there's no ne...
Ngày tải lên: 24/12/2013, 01:17
Using a SqlConnection Object to Connect to a SQL Server Database phần 1
... ADO.NET automatically stores database connections in a pool. Connection pooling offers a great performance improvement because you don't have to wait for a brand new connection to the database ... using Windows integrated security, you can pass your username and password to SQL Server and use those credentials to connect to the database. This saves you from providing a sepa...
Ngày tải lên: 07/11/2013, 10:15
Tài liệu Kế Thừa-Đa Hình phần 1 ppt
... phương thức khởi dựng c a lớp cơ sở. Cách gọi được thực hiện bằng việc đặt dấu hai chấm ngay sau phần khai báo danh sách tham số và tham chiếu đến lớp cơ sở thông qua từ kh a base: public ListBox( ... Trong ví dụ 5 .1, phương thức DrawWindow() c a lớp ListBox sẽ làm ẩn và thay thế phương thức DrawWindow c a lớp cơ sở Window. Khi chúng ta gọi phương thức DrawWindow c a một đối tượ...
Ngày tải lên: 26/01/2014, 03:20
Customizing a Network Using the Registry phần 1
... a secondary gateway if many connections experience problems. However, in cases when you are under a DoS attack, such behavior is undesirable, since all traffic can be redirected to a gateway ... HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters registry key Brief descriptions of these parameters and their recommended values are provided below: EnableDeadGWDe...
Ngày tải lên: 07/11/2013, 08:15
Tài liệu Windows Form Microsoft .NET Framework phần 1 doc
... using System .Windows. Forms; using System.IO; public class TagPropertyExample : System .Windows. Forms.Form ( // (Bỏ qua phần mã designer.) private void TagPropertyExample_Load(object sender, ... image part with relationship ID rId5 was not fo und in the file. private void DynamicCheckBox_Load(object sender, System.EventArgs e) { // Tạo mảng. string[] foods = {"Gra...
Ngày tải lên: 23/12/2013, 20:15
Tài liệu Modifying Rows in a DataTable phần 1 ppt
... database. The following method, named AddDataRow(), uses these steps to add a new row to a DataTable: public static void AddDataRow( DataTable myDataTable, SqlDataAdapter mySqlDataAdapter, ... setup of the DataAdapter object. Adding a DataRow to a DataTable In this section, you'll learn how to add a DataRow to a DataTable. Before you see this, let's populate...
Ngày tải lên: 24/12/2013, 01:17