... book:Supported operating systems: Microsoft Windows Server 2003, Windows Server 20 08, Windows Server 20 08 R2, Windows XP with Service Pack 2, Windows Vista, Windows 7Microsoft Visual Studio 2010This ... Microsoft .NET Framework4. 0 and Microsoft Visual Studio 2010 on your development machine.This book has been written against the released-to-market (RTM) edition of LINQ and Micro-soft .NET 4. 0. ... audience for this book is .NET developers with a good knowledge of Microsoft .NET 2.0 or 3.x who are wondering whether to upgrade their expertise to Microsoft .NET 4. 0.This...
... xiiiCHAPTER 1 ADO .NET Disconnected Classes 1CHAPTER 2 ADO .NET Connected Classes 63CHAPTER 3 Introducing LINQ 143 CHAPTER 4 LINQ to SQL 237CHAPTER 5 LINQ to XML 295CHAPTER 6 ADO .NET Entity Framework ... Practice TestCHAPTER 6ADO .NET Entity Framework Before You BeginLesson 1: What Is the ADO .NET Entity Framework? Entity Framework Architecture OverviewEntity Framework vs. LINQ to SQLModeling ... Entities 280 Adding New Entities to DataContext 282 Deleting Entities 283 Using Stored Procedures 285 Using DataContext to Submit Changes 286 Submitting Changes in a Transaction 286 Chapter...
... Hình 6 .8 Satellite assembly cho bản địa Vietnamese using System; using System .Windows. Forms; using System.Threading; using System.Globalization; public class MultiLingualForm : System .Windows. Forms.Form ... phát sinh một cách định kỳ (mỗi giây chẳng hạn) và cập nhật thuộc tính NotifyIcon.Icon. Với .NET Framework thì rất dễ dàng để hiển thị một icon trong khay hệ thống bằng NotifyIcon. Bạn chỉ cần ... hình động sẽ được tạo ra. using System; using System .Windows. Forms; using System.Drawing; public class AnimatedSystemTrayIcon : System .Windows. Forms.Form { // (Bỏ qua phần mã designer.)...
... 4. Tạo một kết nối mới bằng cách nhắp nút New Connection (xem hình 10.6). The image part with relationship ID rId7 was not fo und in the file.The image part with relationship ID rId8 was ... relationship ID rId11 was not fo und in the file. 6. Chọn kết nối vừa tạo (xem hình 10 .8) . Nhắp Next. Hình 10 .8 Chọn kết nối Northwind vừa mới tạo 7. Thêm bảng Categories và Products vào danh ... was not fo und in the file.The image part with relationship ID rId8 was not fo und in the file. 8. Chúng ta cần đặt tên cho quan hệ giữa các bảng. Gõ CategoriesProducts vào hộp Name. Categories...
... System .Windows. Forms.Control đều cung cấp thuộc tính Tag và bạn có thể sử dụng nó để lưu trữ một tham chiếu đến bất kỳ kiểu đối tượng nào. Thuộc tính Tag không được điều kiểm hay Microsoft .NET Framework ... một MessageBox (xem hình 6.2). using System; using System .Windows. Forms; using System.IO; public class TagPropertyExample : System .Windows. Forms.Form ( // (Bỏ qua phần mã designer.) ... điều kiểm container bằng phương thức Add của ControlCollection. Trong một ứng dụng dựa-trên -Windows .NET, không có sự khác biệt nào giữa việc tạo điều kiểm lúc thiết kế và việc tạo điều kiểm...
... mã cho form con: public class MDIChild : System .Windows. Forms.Form { private System .Windows. Forms.Button cmdShowAllWindows; private System .Windows. Forms.Label label; // (Bỏ qua phần ... trang cuối cùng bằng thuộc tính TopIndex (xem hình 6 .4) : using System; using System .Windows. Forms; public class ListBoxScrollTest : System .Windows. Forms.Form { // (Bỏ qua phần mã designer.) ... form kế tiếp. ## Lưu trữ các thuộc tính Left, Top, Width, và Height của form trong Windows Registry. Windows Registry là nơi lý tưởng để lưu trữ thông tin về vị trí và kích thước cho form....
... để sắp xếp danh sách dựa trên cột đó. using System; using System .Windows. Forms; public class ListViewItemSort : System .Windows. Forms.Form { // (Bỏ qua phần mã designer.) ... kiểm tra menu ngữ cảnh, và hiển thị nó. private void Control_MouseDown(object sender, System .Windows. Forms.MouseEventArgs e) { if (e.Button == MouseButtons.Right) { xếp; và Numeric ... số thay vì so sánh theo thứ tự alphabet. using System; using System.Collections; using System .Windows. Forms; public class ListViewItemComparer : IComparer { private int column; private...
... này. Trong .NET Framework phiên bản 1.0, bạn phải tạo một file manifest. Còn trong .NET Framework phiên bản 1.1, bạn chỉ cần gọi phương thức Application.EnableVisualStyles. Phong cách Windows ... processorArchitecture="X86" publicKeyToken="6595b 641 44ccf1df" language="*" /> </dependentAssembly> </dependency> </assembly> Phong cách Windows XP sẽ ... Studio .NET 2003\Common7\IDE. Hình 6. 14 Phong cách Windows XP và phong cách kinh điển # Nếu bạn áp dụng file manifest cho một ứng dụng đang chạy trên phiên bản Windows trước Windows...
... Turn Windows feature on or off ở thanh bên trái. Bước 3: Trên cửa sổ Windows Features, xổ mục .Net Framework 3.5 xuống và tích vào cả hai tùy chọn trong đó. Kích hoạt .Net Framework ... Bước 4: Nhấn OK và xác nhận thay đổi. Windows sẽ kết nối tới Internet và tải về những file cần thiết từ web. Quá trình tải về nhanh ... xuống và tích vào cả hai tùy chọn trong đó. Kích hoạt .Net Framework 3.5 trên Windows 8 ...
... về nhanh hay chậm phụ thuộc vào tốc độ kết nối mạng. Windows8 được tích hợp sẵn .Net Framework4. 5 tức những ứng dụng dựa trên .Net Framework 3.5 sẽ làm việc được. Nhưng vấn đề không phải ... Turn Windows feature on or off ở thanh bên trái. Bước 3: Trên cửa sổ Windows Features, xổ mục .Net Framework 3.5 xuống và tích vào cả hai tùy chọn trong đó. Kích hoạt .Net Framework ... nào ta có thể khắc phục được vấn đề này và kích hoạt .Net Framework 3.5 trên Windows8 để cài phần mềm phụ thuộc. Bước 1: Trên Windows 8, khởi chạy màn hình Start và tra uninstall dưới thẻ...