Có 100+ tài liệu thuộc chủ đề "lập trình Visual"
tailieu.vn Xem trực tuyến Tải xuống
As you can see in Figure 5-5, the Assembly Information from the project properties is included with the file. This is convenient for you (or an end user) to be able to open the file and read pertinent information, especially version information, to know you’re working with the correct assembly, for debugging, or just to know what is on your...
tailieu.vn Xem trực tuyến Tải xuống
One item to draw your attention to in Listing 5-2 is the using directive (Imports in VB), specifying that you can use the types in the ClassLibraryDemo namespace without fully qualifying them. After that, you can see how Listing 5-2 creates instances of Student and myStudent and calls GetStudentGrades.. Next, you’ll want to compile the code to see if the...
tailieu.vn Xem trực tuyến Tải xuống
Navigating a Project with Class View. In C#, you can open Class view by pressing CTRL - W , C or select Class View from the View menu. In VB you can open Class view by pressing CTRL - SHIFT , C or select View | Other Windows | Class View. Figure 5-12 shows the Class View window.. Notice how...
tailieu.vn Xem trực tuyến Tải xuống
Beyond setting breakpoints, you’ll learn how to customize breakpoints and how to manage a list of breakpoints. Then you’ll see the options VS has for stepping through code. First, we’ll start with some example code you can use to practice the concepts learned in this chapter.. Example Code for This Chapter. It would take many pages of code to show...
tailieu.vn Xem trực tuyến Tải xuống
150 Microsoft Visual Studio 2010: A Beginner’s Guide. If you’ve been working on your code and want to update the Call Hierarchy window, click Refresh. Every time you view Call Hierarchy, the selected item is added to the list. You can use the Remove Root button to delete an item from the list. The Toggle Details Pane button shows and...
tailieu.vn Xem trực tuyến Tải xuống
You can manage all of these breakpoints in a central location by selecting Debug | Windows | Breakpoints, which will show the window in Figure 6-7.. Much of the functionality of the Breakpoints window has been explained already, except that the toolbar options apply to all of the breakpoints that are currently checked.. There are export and import buttons on...
tailieu.vn Xem trực tuyến Tải xuống
The location of the log file is on the Advanced branch of IntelliTrace in Tools | Options.. Then you can view debugging history to view the state of the application during each event of the session.. The program itself is not particularly sophisticated, but it contains just enough logic to lead you down a rat hole and show you how...
tailieu.vn Xem trực tuyến Tải xuống
M ost of the work we do each day involves data, and most of the data we work with comes from databases. Because of the importance of data in our applications, this chapter introduces how to work with data in VS. It’s very important to learn the concepts in this chapter because it will affect all of the work you...
tailieu.vn Xem trực tuyến Tải xuống
Now that you know how to create databases, tables, and stored procedures, you’ll need to know how to use your database from code. The rest of this chapter shows you how to use LINQ to work with data. First, we’ll look at the basic syntax of LINQ through LINQ to Objects and then follow with working with SQL Server through...
tailieu.vn Xem trực tuyến Tải xuống
Handling Data with LINQ to SQL. The LINQ to SQL provider allows you to communicate with SQL Server databases. There are many other types of providers, such as LINQ to Entities for generic databases (which includes SQL Server), LINQ to XML for XML data sources, and LINQ to Oracle for Oracle databases. The preceding section showed you how to use...
tailieu.vn Xem trực tuyến Tải xuống
Work with Data in the UI. The result of building a WPF application is an *.exe file that you can run directly on your computer or deploy and run on any other computer that has .NET installed. With WPF, you can add a graphical user interface (GUI), pronounced “Gooey,”. This chapter will show you how to lay out a screen...
tailieu.vn Xem trực tuyến Tải xuống
Now that you know how to use the layout controls, the next section takes a closer look at WPF controls in general, giving you tips on how to use them in your application.. Data controls are excluded on purpose because the section following controls is “Working with Data in WPF.” Before diving into each control, let’s do an overview of...
tailieu.vn Xem trực tuyến Tải xuống
As you know, you can instantiate classes and call their methods, which is the technique you’ll use to open this window from the NewOrder_Click event handler in the code-behind of the MainWindow window.. In practice, you’ll populate the NewOrder window with whatever controls you need to implement a new order. However, we’ll skip that task for now because the current...
tailieu.vn Xem trực tuyến Tải xuống
Applications with ASP.NET MVC. Work with Data in ASP.NET MVC. A SP.NET is a .NET technology for building Web applications. This chapter shows you how to use ASP.NET MVC. You’ll learn about how MVC works and how it is implemented in ASP.NET MVC. Understanding ASP.NET MVC. The essential piece of knowledge required to be successful with ASP.NET MVC is the...
tailieu.vn Xem trực tuyến Tải xuống
For ASP.NET MVC, the important part of the URL is /Home/About. Home is the name of the Controller, and ASP.NET MVC appends Controller to the URL name, looking for the HomeController class, shown in Listing 9-1, physically located in the Controller folder, which is why it’s important to ensure you create files in the proper locations. About is an action,...
tailieu.vn Xem trực tuyến Tải xuống
Routing works by pattern matching, which you can see through the two statements in the RegisterRoutes method: IgnoreRoute and MapRoute. The first parameter is the name of the route. Therefore, ASP.NET MVC will append “Controller” to the URL segment that matches {controller}, meaning that the Controller name to instantiate is HomeController. The third parameter for MapRoute specifies default values, where...
tailieu.vn Xem trực tuyến Tải xuống
Work with the Silverlight Designer. What you’ll learn in this chapter is how VS helps you create a Silverlight project, how to add controls to the Silverlight designer, and how to deploy Silverlight applications.. After you set up the project with a name and folder, VS will display another window for configuring the Silverlight application, shown in Figure 10-1.. Silverlight...
tailieu.vn Xem trực tuyến Tải xuống
It would really be helpful for you to review Chapter 8 because you’ll find many of the same controls for layout and display in both Silverlight and WPF.. The following steps show how to design a screen that shows a video, as shown in Figure 10-3.. If the XAML editor is showing, click on the Design tab at the bottom...
tailieu.vn Xem trực tuyến Tải xuống
Create a Web Service. Deploy a Web Service. Write a Client That Consumes the Web Service. A Web service is software that provides functionality that can be used by any other software application, using any programming language, on any hardware and operating system that can communicate over a network.. Examples of private Web services might be the ability for multiple...
tailieu.vn Xem trực tuyến Tải xuống
314 Microsoft Visual Studio 2010: A Beginner’s Guide. The implementation of CustomerService is similar to what you’ve seen in previous chapters. We’ll soon get to the section of this chapter that shows how to consume a Web service, but you must understand that a Web service is a component that you communicate with over a network. In previous chapters, you’ve...