In ASP. NET, the crystal report does not provide the report export and printing functions as in Windows form. We need to add code to control it by ourselves. Here is a demo:
Export:Myreport reportdoc = new myreport (); // table namePrivate void
Tip 1: Improve the efficiency of using the request set
Accessing an ASP set to extract a value is a time-consuming and computing resource-consuming process. This operation contains a series of searches for related sets, which is much slower than
ASP for case-insensitive amount conversionDim tmpnum'Lower-case amount passed from the first pageTmpnum = request ("page1num ")'Call and display the upper-case amountResponse. Write RMB (cdbl (tmpnum ))Response. End%>
Common. aspFunction RMB
In the scope discussed in this article, there are three different places where errors can occur: scripts, middleware, and internal IT architecture. Because of the internal information errors, the cyclical nature can be reduced and the iis
I have been studying how to write a small and high paging algorithm recently. I have summarized the following ideas: First, an automatic Id field is required in the database ). Then, during the first access, all the records are taken out, and the
The CPU usage of ASP files is always 100%. There is a response object in the ASP object, and this object has a redirect method. We canUse this method to implement it!Redirect refers to the path in which the webpage is directed to the statement. Very
ASP can be like.. net. below I will write a simple and practical question about ASP encapsulation for you to get started easily. Of course, the most important thing to prepare on the homepage is that I used VB6.0 as a VB tool.
Start your VB and
With the development of B/S application development, more and more programmers are writing applications using this mode. However, due to the low entry threshold in this industry, the programmer's level and experience are also uneven. A considerable
ASP. NET performance optimization method summary time: Source: unknown author: aspx1 CLICK: 265 times1. database access performance optimization database connection and access to database resources need to create connections, open connections, and
SQL Injection has been played by so-called cainiao-level hackers and finds that most of today's hacker intrusions are implemented based on SQL injection. Well, who makes it easy to get started, now, if I write a general SQL anti-injection program,
In many cases, it is necessary to prevent the same form from being submitted multiple times. Many people's implementation methods are complicated (the number of code lines exceeds dozens !!) The following provides a method that uses only a few lines
Cookie Introduction
First, we will give a brief introduction to the cookie to illustrate how to use ASP to maintain the cookie.
Cookie is a small file stored in the client computer, which means that every time a user visits your site, you can
I have made a function today. I need to use multiple arrays in a class,
An array must be indexed to call an array.
I checked one msdn class and only one this indexer exists.
So how to construct indexes for so many arrays?
I found a way to know the
Two Core Components of ADO. Net:. NET Framework data provider and DatasetData providers include connection objects, command objects, datareader objects, and dataadapter objects. They are used to connect to data sources, execute SQL statements, and
Asp.net MD5 encryption function (C #)
The following method can be used to directly input data and reverse the MD5 encrypted code.
/// /// Use MD5 Encryption/// /// input data /// Public static string MD5 (string sourcein){Md5cryptoserviceprovider
21. Custom Exception Handling
// Custom exception handling classUsing system;Using system. diagnostics;Namespace myappexception{/// /// Application exception handling class inherited from the system exception class applicationexception.///
The degree of film processing recently. I read many online examples, mostly PHP, and finally saw luq885 on cnblogs.
For the Asp.net application, he wrote a few examples below, fully satisfying some basic requirements. Because there is only front-end
ASP. net iis registration tool (aspnet_regiis.exe)
When multiple tasks are executed concurrently on a computer. net Framework, which is mapped to ASP. NET application ASP. the. net isapi version determines the version of the Common Language
1. Create a class product and productrepository
Public class product{Public int productid {Get; set ;}Public string name {Get; set ;}Public double price {Get; set ;}Public String description {Get; set ;}Public String SKU {Get; set ;}Public datetime
Layer 2 Structure and Its Application Concept and EnvironmentThe three-layer result development method in ASP. NET is actually the same as Java. In Java, the three-tier architecture is front-end HTML, JSP, and Servlet, the middle layer is JavaBean
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service