November 2008
Beginner
320 pages
7h 6m
English
The Web service is integrated into the project and available to use. You will call the MyDocuments Web service and its GetList Web method. Using the MyDocuments Web service is no different than using any other object in C#.
Right-click the Default.aspx page in Solution Explorer. Select View Markup. Scroll down to the Content control for the ContentPlaceholderId MyDocumentsContentPlaceholder. The code should look like Example 12-8.
Example 12-8. Content Control
<asp:Content ID="Content2" runat="server"
contentplaceholderid="MyDocumentsContent">
<asp:FileUpload ID="FileUpload1" runat="server" /><br />
<asp:Button ID="BtnUpload" runat="server" Text="Upload"
onclick="BtnUpload_Click" />
</asp:Content>Below the button markup, ...
Read now
Unlock full access