Xây dựng và ứng dụng thương mại điện tử trên nền công nghệ ASP NET 4 0 luận văn tốt nghiệp đại học
Ngày tải lên: 27/12/2013, 21:09
Beginning ASP.NET 4: in C# and VB potx
... 5 40 The ASP. NET Page Life Cycle and Events in Data Controls 545 Handling Errors that Occur in the Data Source Controls 5 50 Hand-Coding Data Access Code 5 54 Caching 565 Common Pitfalls with Caching ... 12 744 Chapter 13 745 Chapter 14 746 Chapter 15 749 Chapter 16 751 Chapter 17 752 Chapter 18 7 54 ConFiGurinG sQl server 200 8 75aPPendiX B: 7 Configuring SQL Server 200 8 757 Terminology and Concepts ... 99 Practical Tips on Working with CSS 102 Summary 103 workinG with asP. net server Controls 10ChaPter 4: 5 Introduction to Server Controls 106 A Closer Look at ASP. NET Server Controls 1 10 Defining Controls...
Ngày tải lên: 05/03/2014, 22:20
Pro ASP.NET 4 in C# 2010, 4th edition pot
... Silverlight 4 in C# Pro Dynamic .NET 4. 0 Applications Pro Windows Azure Pro C# 201 0 and the .NET 4 Platform Pro ASP. NET 4 in C# 201 0, Introducing .NET 4. 0 Accelerated C# 201 0 2529 -4 MacDonald.indd ... Dynamic Data Site 1 40 4 Customizing with Templates 1 40 4 Customizing with Routes 141 4 Customizing with Metadata 142 3 Customizing Validation 143 0 Summary 143 5 ■ Chapter 34: Silverlight 143 7 ... MacDonald Freeman Szpuszta FOURTH EDITION ASP. NET 4 in C# 201 0 Companion eBook Available 7.5 x 9.25 spine = 3 .03 125" 1616 page count THE EXPERTS VOICE đ IN .NET Pro ASP. NET 4 in C# 201 0 FOURTH...
Ngày tải lên: 06/03/2014, 20:21
asp.net 4.0 in practice
... views 378 14. 4 Data caching techniques 381 TECHNIQUE 87Implementing data caching in ASP. NET 381 14. 5 Building custom cache providers 386 TECHNIQUE 88 Custom cache provider 388 TECHNIQUE 89 Custom ... have a lot of concurrent re- quests in common web applications.
Ngày tải lên: 31/05/2014, 00:21
Beginning ASP.NET 4 in C# 2010 ppsx
... print for content only—size & color not accurate spine = 1. 906 25" 101 6 page count MacDonald ASP. NET 4 in C# 201 0 THE EXPERT’S VOICE đ IN .NET Beginning ASP. NET 4 in C# 201 0 CYAN MAGENTA ... professional ASP. NET developer. Welcome aboard! Matthew MacDonald (Microsoft MVP, MCSD) Matthew MacDonald, Author of Pro ASP. NET 4 in C# 201 0 Pro Silverlight 4 in C# Pro WPF in C# 201 0 ASP. NET: The Complete ... Performance: A typical ASP. NET application is much faster than a comparable ASP application, because ASP. NET code is compiled to machine code before it’s executed. However, processor- crunching...
Ngày tải lên: 29/06/2014, 13:20
ASP.NET 4 Unleased - p 18 pdf
... against which to compare. . ControlToCompare—The ID of a control against which to compare. The page in Listing 3. 10 illustrates how you can use the CompareValidator to perform a data type check. The ... you cannot enter the currency symbol. If these limitations concern you, you can use either the RegularExpression or CustomValidator controls to perform a more flexible data type check. You can ... than the second field, a validation error displays (see Figure 3. 10) . LISTING 3.12 ShowCompareValues.aspx <%@ Page Language= C# ” %> <!DOCTYPE html PUBLIC “-//W 3C/ /DTD XHTML 1 .0 Transitional//EN”...
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 22 pdf
... Instance=True”; public void ProcessRequest (HttpContext context) { context.Response.ContentType = “application/msword”; SqlConnection con = new SqlConnection(conString); SqlCommand cmd = new SqlCommand(“SELECT ... context of the NETWORK SERVICE account. In the case of every other operating system, an ASP. NET page executes in the security context of the ASPNET account. To enable ASP. NET Framework to save an ... account associated with the ASP. NET page must have sufficient permissions to save the file. For Windows 200 3 and Windows 200 8 servers, an ASP. NET page executes in the security context of the NETWORK...
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 45 pdf
... ptg 41 5 Using ASP. NET Parameters with the SqlDataSource Control 9 Using the ASP. NET CookieParameter Object The CookieParameter object represents a browser-side cookie. The CookieParameter includes ... eBook ptg 41 7 Using ASP. NET Parameters with the SqlDataSource Control 9 <hr /> < ;asp: GridView id=”grdVote” DataSourceID=”srcVote” Runat=”server” /> < ;asp: SqlDataSource id=”srcVote” ... /> < ;asp: SqlDataSource id=”srcVote” SelectCommand=”SELECT * FROM Vote ORDER BY Id DESC” InsertCommand=”INSERT Vote (VoterId,Color) VALUES (@VoterId,@Color)” ConnectionString=”<%$ ConnectionStrings:Vote %>”...
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 48 pdf
... DataSourceID=”srcMovies” CssClass=”gridView” Runat=”server” /> < ;asp: SqlDataSource id=”srcMovieCategories” SelectCommand=”SELECT Id, Name FROM MovieCategories” ConnectionString=”<%$ ConnectionStrings:Movies ... /> < ;asp: SqlDataSource id=”srcMovies” From the Library of Wow! eBook ptg 44 7 Overview of the List Controls 10 LISTING 10 .4 SelectMovie.aspx <%@ Page Language= C# ” %> <!DOCTYPE html PUBLIC “-//W 3C/ /DTD ... SqlDataSource control, and the GridView control is bound to the srcMovies SqlDataSource control. The srcMovies SqlDataSource control includes a ControlParameter, which represents the SelectedValue...
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 59 pdf
... DataField=”Description” Width=” 300 px” Height=”60px” HeaderText=”Movie Description” /> </Columns> < /asp: GridView> < ;asp: SqlDataSource id=”srcMovies” ConnectionString=”<%$ ConnectionStrings:Movies ... rowIndex) { base.InitializeCell(cell, cellType, rowState, rowIndex); if (cellType == DataControlCellType.DataCell) { WebControl button = (WebControl)cell.Controls [0] ; button.Attributes[“onclick”] = String.Format(“return ... < /asp: TemplateField> </Columns> < /asp: GridView> < ;asp: SqlDataSource id=”srcMovieCategories” ConnectionString=”<%$ ConnectionStrings:Movies %>” SelectCommand=”SELECT...
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 80 pdf
... name=”newProduct”>Product</param> public void ProductInsert(Product newProduct) { // Create connection SqlConnection con = new SqlConnection(_connectionString); // Create command SqlCommand cmd ... connection SqlConnection con = new SqlConnection(_connectionString); // Create command SqlCommand cmd = new SqlCommand(); cmd.Connection = con; cmd.CommandText = “UPDATE Products SET Name=@Name,Price=@Price,Description= ... ObjectDataSource Control . Handling ObjectDataSource Control Events . Concurrency and the ObjectDataSource Control . Extending the ObjectDataSource Control . Summary The ObjectDataSource control...
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 81 pdf
... Objects with the ObjectDataSource Control public SqlDataReader GetMovies() { // Create Connection SqlConnection con = new SqlConnection(_conString); // Create Command SqlCommand cmd = new SqlCommand(); ... SqlCommand(); cmd.Connection = con; cmd.CommandText = “SELECT Id,Title,Director FROM Movies”; // Return DataReader con.Open(); return cmd.ExecuteReader(CommandBehavior.CloseConnection); } public MovieDataReader() ... MovieCollection component and displayed in the GridView. The MovieCollection component contains instance methods. The ObjectDataSource automatically creates a new instance of the MovieCollection...
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 83 pdf
... GetMovieCount() { HttpContext context = HttpContext.Current; if (context.Cache[“MovieCount”] == null) context.Cache[“MovieCount”] = GetMovieCountFromDB(); return (int)context.Cache[“MovieCount”]; } private ... static int GetMovieCountFromDB() { int result = 0; // Initialize connection SqlConnection con = new SqlConnection(_conString); // Initialize command SqlCommand cmd = new SqlCommand(); cmd.Connection ... = con; cmd.CommandText = “SELECT Count(*) FROM Movies”; // Execute command using (con) { con.Open(); result = (int)cmd.ExecuteScalar(); } return result; } static MoviesDSPaging() { _conString...
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 100 pdf
... the movies directed by George Lucas with box office totals greater than $ 100 ,00 0: 20 From the Library of Wow! eBook ptg 972 CHAPTER 20 Data Access with LINQ to SQL The SelectCached() method ... cache. The Movie class in Listing 20. 20 contains a SelectCached() method that successfully caches database data with a LINQ to SQL query. LISTING 20. 20 Standard\App_Code\Movie.cs using System; ... operator: SELECT [t0].[Id], [t0].[CategoryId], [t0].[Title], [t0].[Director], [t0].[DateReleased], [t0].[InTheaters], [t0].[BoxOfficeTotals], [t0].[Description] FROM [dbo].[Movie] AS [t0] WHERE [t0].[Title]...
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 104 pdf
... Uri(“http://localhost: 500 0/ZombieKilla.svc”)); svc.MergeOption = System.Data.Services.Client.MergeOption.PreserveChanges; ZombieKillaService.Creature creature = new ZombieKillaService.Creature() ... are countless strategies for getting data in and out of your ASP. NET application ranging from traditional raw SQL access to service-based data access such as WCF Data Services. WCF Data Services ... WCF Data Service because your infra- structure prevents direct SQL access or because another team has decided to expose its data that way, it’s incredibly simple to create a service reference...
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 127 pdf
... connectionStrings section. . connectionUsername—Enables you to specify the Active Directory account used to connect to Active Directory. . connectionPassword—Enables you to specify the Active ... ptg 1 242 CHAPTER 27 Using ASP. NET Membership 2. Open the Connection Settings dialog box by selecting Action, Connect To. 3. In the Connection Settings dialog box, select the option to connect to ... eBook ptg 1 243 Using ASP. NET Membership 27 name=”MyMembershipProvider” type=”System.Web.Security.ActiveDirectoryMembershipProvider” connectionStringName=”ADLDSConnection” connectionProtection=”None”...
Ngày tải lên: 06/07/2014, 18:20