In the previous chapter, we wrote one of the simplest custom controls. This time, let us leave the theory behind and develop a practical custom control: a menu that allows you to set permissions.In this project, we will not use any unlearned
【Abstract】 the tracking function of ASP. NET is much better than that of ASP. It is helpful to identify the root cause of errors in WEB applications through tracking information. This article explains in detail the tracking mode of ASP. NET through
In ASP, encryption objects are not provided. We can only use external objects for encryption. Now, the encryption solution is provided in ASP. NET. The namespace System. Web. Security contains the FormsAuthentication class. There is a method
The Request object actually operates the HttpRequest class in the System. Web namespace. When the customer sends a Request to execute the ASP. Net program, the CLR will encapsulate the client Request information in the Request object. These request
Sorry, I haven't written an article for a long time. The main reason is that some time ago I took the exam and was so busy that I turned out to be confused. Now I have to mention the pen again (Note: no pen, when I got home, I didn't even have a
In the ASP era, if we want to build a database-driven web site, then you can choose a Microsoft SQL SERVER database with a lot of money or choose to spend a lot of time looking for an ACCESS database that achieves unified performance and stability,
1. What is application settings?Application settings usually refer to a series of parameters closely related to the application. In Windows applications based on forms, application settings mainly include parameters such as location and size that
First, you must create a website to create the following files: Web forms (Default. asp tutorial x), JScript file (ajax. js), Web Service (SayHelloService. asmx), Class (Hello. cs) (to add a Microsoft. web. preview. dll, which can be downloaded from
TextBox
1. how to disable the default context menu of TextBox (right-click menu)
TextBox1.ContextMenu = new ContextMenu ();
See original
4. How to put the focus at the end of the TextBox text when the textBox gets the focus
TextBox1.SelectionStart =
We can initialize a random number generator in two ways:
?? The first method does not specify the random seed. The system automatically selects the current time as the Random Seed:
?? Random ro = new Random ();Instance
Private static char []
1. Pass a value to the child form in the parent form and write: FormChild fc = new FormChil (); // create a new child form fc. showDialog (this); // the preceding two sentences implement the contact textBox2.Text = fc between the child form and the
When ScriptMange is used, the "Microsoft JScript runtime error: 'sys 'is undefined" error occurs. When debugging, the system reports that debugging data cannot be debugged. the following error occurs:
There are two solutions available on
During self-development, we found that there was a conflict when using mvc to update data. Let's take a look at the solution below for reference.
The Code is as follows:
Copy code
Public abstract class dbBase{Public virtual
Let's share an article about how to use a session that suddenly encounters session loss for no reason. My code is no different from other ones, but this is the case. Let's take a look at my solution.
Whether the Session disconnection
This article introduces the asp.net asynchronous call implementation method without ajax implementation. If you need it, you can check it out. It is a good way to write it.
I wonder if you have encountered thread-UI interaction in Winform code? Then,
WinForm is a program in Windows. Therefore, it can be achieved by judging whether the parent process is explorer. At that time, testing was feasible and caused a lot of debate, I think it would be better to judge the passing of parameters by judging
This article introduces two methods to refresh the parent form by using sub-forms. One is relatively simple, and the other is implemented by using the delegate relationship in asp.net. If you need it, you can check it out.
Child form ff = new child
In the all-around space, the asp.net/php/aspability can be better tested and analyzed, and some samples can be referenced.
Below is my test record today.
Test equipment and EnvironmentTest Device: self-use laptop Test System: Windows Server 2003
One of the powerful functions of ASP. NET is its rich Web controls. Here we will talk about one of them-verification controls. It summarizes various Web data verification methods and is designed as a general ASP. NET control today.
Directory1.
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