TAILIEUCHUNG - Professional ASP.NET 2.0 XML phần 6

khi được gọi là, trong nội bộ, nó có thể kiểm tra các nhóm máy tính địa phương bằng cách sử dụng cú pháp thay thế. Lý do là kiểm tra trước không thành công khi sử dụng Xây dựng một hệ thống hàng không vation Reser Sử dụng và SQL Ser ver 2005 | Chapter 9 CAST BirthDate AS char 12 AS BirthDate from Where EmployeelD sqlConnection Set the SqlCommand object properties command Fill the Dataset with the return value from the stored procedure employeeDataset Employees XmlDocument xmlDoc new XmlDocument return catch Exception ex throw ex public void Page_Load object sender EventArgs e if throw new ApplicationException This browser doesn t support Client callbacks. string src this arg DisplayResultsCallback ctx DisplayErrorCallback false string mainSrc function GetEmployeeDetailsUsingPostback arg ctx src GetEmployeeDetailsUsingPostback mainSrc true script html head title Retrieving XML Dynamically using Script Callback title script language javascript function GetEmployeeDetails var n 0 . GetEmployeeDetailsUsingPostback n txtNumber function DisplayResultsCallback result context var strXML objXMLNode objXMLDoc objEmployee strHTML objXMLDoc new ActiveXObject Load the returned XML string into XMLDOM Object result Get reference to the Employees Node objEmployee EmployeesRoot . selectSingleNode Employees 274 XML Data Display Check if a valid employee reference is returned from the server strHTML font color 0000FF if objEmployee null Dynamically generate HTML and append the contents strHTML br br Employee ID b EmployeeID .text b br br strHTML Title b Title .text b br br strHTML Hire Date b HireDate .text b br br strHTML Gender b Gender .text b br br strHTML Birth Date b BirthDate .text b br br else .

TỪ KHÓA LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.