tailieunhanh - C# .NET Web Developer's Guide phần 7

thực hiện các thí nghiệm sau đây: 1. Trong Windows Explorer, tìm và chạy các ứng dụng máy chủ. 2. Trong khi giao diện điều khiển ứng dụng đang chạy, chạy các ứng dụng cùng một máy chủ từ bên trong Visual Studio có thể cần phải kích chuột phải | 470 Chapter 9 Working with XML Figure shows the program after you click Run XPath you click the button the program does a number of queries against the file and writes the results into the listbox on the form. Figure shows a portion of the XML contained in the file used to generate the queries. Figure Generating Queries xml version standalone yes Employees Employee EmployeeID 1 FirstName John FirstName MiddleInit M MiddleInit LastName Smith LastName Salaried true Salaried Wage 40000 Wage Active true Active Title Jr. Programmer Title Location Address 103 Address City Seattle City State WA State Zip 98103 Zip Location Employee Employee EmployeeID 2 FirstName Joe FirstName MiddleInit R MiddleInit LastName Jones LastName Salaried false Salaried Wage Wage Active true Active Title Graphic Artist Title Location Address 13222 S. 1st Avenue Address City Portland City Continued Working with XML Chapter 9 471 Figure Continued State OR State Zip 97206 Zip Location Employee Figure contains the relevant portions of the source code for the XPath sample. Source code inserted by the Visual designer has been omitted. using System Figure Relevant Portions of Source Code using using using using using using using using namespace XPath summary Summary description for Form1. summary public class Form1 summary Required designer variable. summary private components null private textBox1 private button1 Continued 472 Chapter 9 Working with XML Figure Continued private string m_strOutput public Form1 InitializeComponent summary The main entry point for the application. summary STAThread .

TỪ KHÓA LIÊN QUAN