In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "how to use the full function of WCF pagination". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to use the full function of WCF paging.
Step 1: create an Asp.Net site in VS2008 that supports .net Framework 3.5 and named ExtJs_Wcf_Linq_PageGrid, and delete the default.aspx page in the project template when you are finished. The effect picture after this step is completed.
Step 2: after the WCF page creates the website, add the ExtJs related resource files to the project, mainly from the official sample project of extjs.
Step 3: WCF paging in the example in this article, we use the data table Product in the sample database AdventureWorks that comes with SQL2005. The sample database may not be installed by default. To install this database, you can consult the SQL2005 online documentation in the SQL2005 documentation and tutorials. In this step, the main goal is to create a Lint to Xml class in the project that is used by Linq to interact with the data table Product. Using Linq To Sql, you can generate an entity class and a data access class. The operation to add this class is as follows:
Namespace ExtJs_Wcf_Linq_PageGrid {using System.Data.Linq; using System.Data.Linq.Mapping; using System.Data; using System.Collections.Generic; using System.Reflection; using System.Linq; using System.Linq.Expressions; using System.ComponentModel; using System; using System.Runtime.Serialization [System.Data.Linq.Mapping.DatabaseAttribute (Name= "AdventureWorks")] public partial class ProductsDataContext: System.Data.Linq.DataContext {at this point, I believe you have a better understanding of "how to use the full function of WCF paging". You might as well do it in practice! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.