O'Reilly logo

Special Edition Using Microsoft® SharePoint Portal Server by Robert Ferguson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Employee Locator Web Part (Version 3)

In the first version of the Employee Locator Web Part, you saw how we can retrieve data from a SQL Server database, save it in an offline form in an XML file, and transform it into an HTML format using an XSL file.

In the second version, we used the same approach for representing employee information, but with real-time access to the SQL Server database using an ADO stream object.

Both versions showed how the data is separated from the interface, which makes the code much easier to follow and more reusable. As you saw in the second version, we changed the logic of data retrieval without changing the XSL file that is responsible for reformatting XML into HTML. In spite of the separation of data and the interface, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required