Presentation is loading. Please wait.

Presentation is loading. Please wait.

ASP:ListView ASP:DataPager ASP:LinqDataSource ASP:ListView Adventure Works Products Adventure Works Products Adventure Works Products Adventure Works.

Similar presentations


Presentation on theme: "ASP:ListView ASP:DataPager ASP:LinqDataSource ASP:ListView Adventure Works Products Adventure Works Products Adventure Works Products Adventure Works."— Presentation transcript:

1

2 ASP:ListView ASP:DataPager ASP:LinqDataSource

3 ASP:ListView Adventure Works Products Adventure Works Products Adventure Works Products Adventure Works Products Adventure Works Products

4 ASP:DataPager <asp:DataPager ID="dpProducts" runat="server" PageSize="14" PagedControlID="lvProducts"> <asp:DataPager ID="dpProducts" runat="server" PageSize="14" PagedControlID="lvProducts"> <asp:DataPager ID="dpProducts" runat="server" PageSize="14" PagedControlID="lvProducts"> … 3 4 5 6 7 8 9 10 11 12 … <asp:DataPager ID="dpProducts" runat="server" PageSize="14" PagedControlID="lvProducts"> Previous Next <asp:DataPager ID="dpProducts" runat="server" PageSize="14" PagedControlID="lvProducts"> Page 0 ? (Container.StartRowIndex / Container.PageSize) + 1 : 0 %> of <%# Math.Ceiling ((double)Container.TotalRowCount / Container.PageSize) %> ( records ) Page 5 of 12 ( 167 records ) <asp:DataPager ID="dpProducts" runat="server" PageSize="14" PagedControlID="lvProducts">

5 ASP:LinqDataSource <asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="AWLinqDataContext" TableName="Products" Where="ThumbnailPhotoFileName != @ThumbnailPhotoFileName" EnableDelete="True" EnableInsert="True" EnableUpdate="True" OrderBy="ProductID"> <asp:Parameter DefaultValue="no_image_available_small.gif" Name="ThumbnailPhotoFileName" Type="String" /> <asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="AWLinqDataContext" TableName="Products" Where="ThumbnailPhotoFileName != @ThumbnailPhotoFileName" EnableDelete="True" EnableInsert="True" EnableUpdate="True" OrderBy="ProductID"> <asp:Parameter DefaultValue="no_image_available_small.gif" Name="ThumbnailPhotoFileName" Type="String" /> <asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="AWLinqDataContext" TableName="Products" Where="ThumbnailPhotoFileName != @ThumbnailPhotoFileName" EnableDelete="True" EnableInsert="True" EnableUpdate="True" OrderBy="ProductID"> <asp:Parameter DefaultValue="no_image_available_small.gif" Name="ThumbnailPhotoFileName" Type="String" /> <asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="AWLinqDataContext" TableName="Products" Where="ThumbnailPhotoFileName != @ThumbnailPhotoFileName" EnableDelete="True" EnableInsert="True" EnableUpdate="True" OrderBy="ProductID"> <asp:Parameter DefaultValue="no_image_available_small.gif" Name="ThumbnailPhotoFileName" Type="String" />

6 Set IE as default browser in VS Enable script debugging in IE Launch Debugger (F5)

7 C:\Program Files\Microsoft Visual Studio 9.0\VC>aspnet_merge -? Utility to merge precompiled ASP.NET assemblies. Version 3.5.21022. Copyright (c) Microsoft Corporation 2007. All rights reserved. Usage: aspnet_merge [-?] applicationPath [-keyfile filename [-delaysign]] [-o assemblyname | -w assemblyname | -prefix prefix] [-copyattrs [assemblyfile]] [-debug] [-nologo] [-errorstack] [-r] [-xmldocs] [-a] [-log logfile] [-allowattrs filename] -? Display this help text. applicationPath The physical path of the precompiled application. -keyfile The physical path to the strongly name keyfile. -delaysign Delay sign the merged assemblies. -o Merge the entire application into a single assembly with the given name. This option cannot be combined with the -prefix or -w options. -w Merge the application Web files into a single assembly with the given name. This option cannot be combined with the -o or -prefix options. -prefix Prefix the merged assembly names with a specified string. This option cannot be combined with the -o or -w options. -copyattrs Copy the assembly level attributes from the input assembly. If input assembly is not specified, the main App_Code assembly will be used instead. -debug Preserve debug information in the merged assembly. The default is to remove debug information. C:\Program Files\Microsoft Visual Studio 9.0\VC>aspnet_merge -? web deployment projects

8

9 Clean up with Dynamic Data Websites! Now with 50% more Scaffolding!

10 Instant REST with ADO.Net Data Services!

11 The MVC Framework Will Save Us All *Maybe… *

12


Download ppt "ASP:ListView ASP:DataPager ASP:LinqDataSource ASP:ListView Adventure Works Products Adventure Works Products Adventure Works Products Adventure Works."

Similar presentations


Ads by Google