ASP:ListView ASP:DataPager ASP:LinqDataSource
ASP:ListView Adventure Works Products Adventure Works Products Adventure Works Products Adventure Works Products Adventure Works Products
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"> … … <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">
ASP:LinqDataSource <asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="AWLinqDataContext" TableName="Products" Where="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 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 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 EnableDelete="True" EnableInsert="True" EnableUpdate="True" OrderBy="ProductID"> <asp:Parameter DefaultValue="no_image_available_small.gif" Name="ThumbnailPhotoFileName" Type="String" />
Set IE as default browser in VS Enable script debugging in IE Launch Debugger (F5)
C:\Program Files\Microsoft Visual Studio 9.0\VC>aspnet_merge -? Utility to merge precompiled ASP.NET assemblies. Version Copyright (c) Microsoft Corporation 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
Clean up with Dynamic Data Websites! Now with 50% more Scaffolding!
Instant REST with ADO.Net Data Services!
The MVC Framework Will Save Us All *Maybe… *