Notes 1,mdi Form
With two form frmmain,frmchild, then:
Frmmain: Set IsMdiContainer property to True
To open a child window:
Write the following code in the related event:
Frmchild child=new frmchild ();
Child. Mdiparent=this;//this represents this
asp.net use asp.net for a long time, found that still can not be separated from JavaScript, whether in the foreground code or backstage, always to the key found JavaScript is indeed a rare good friend, Next to introduce a few in the use of asp.net
asp.net in asp.net because of the direct use or conversion of DLL files, most people do not care about the problem of sharing the original password, since ASP.net is able to edit the latest original code to perform the Web site, it is necessary to
Page 1, in general, if you want to add some JavaScript features to the Web Form control on an ASPX page, you can do it with Attributes.Add.
For example, for TextBox txt, you can:
Txt. Attributes.Add ("onclick", "fcn0 ();");
Then, when you click it
Asp.net| Solution | array | problem
In doing ASP.net forum to encounter more headaches is the setting of the owner of the problem. To achieve a section of more than a bamboo and a user to serve as a multi-plate, is a two-way consideration. Of course,
Download
HTTP protocol is Text format communication, download files are binary data, how to deal with the two formats, but not by the VB arbitrary Unicode conversion Effect, this code provides an example.
Option Explicit
Private strURL as
asp.net| Server | Upload file Upload technology is a very practical technology, has a very wide range of applications, In ASP.net's own previous version of the ASP to implement this function, you must use Third-party components or the development of
User Rights ASP. NET in the Context.User of the page put a implementation IPrincipal object, used to implement the authenticated user management. Asp. NET system, the usual way is to extend this context.user to keep custom information inside it.
1
Page
ASPX accepts the ASPX page file as simple as HtmlInputFile, but if you accept the HTML page post fileIt is not good to do, I modeled the method of ASP as follows, their own testing through, take out to share, you can limitFile content, type,
asp.net| Upload | design | network | Hard disk users end up with files, folders are just for easy management. File upload and download also become "Network hard disk" function design of an important link.
1. Interface arrangement
This part of the
Uses Winapi.msxml, system.dateutils; The function that obtains the network time in real time, obtains is the GMT;
The default is obtained from the Sohu server because it is the fastest, averaging only 15 milliseconds function getnettime
In the SIP project design process, for its huge log at the beginning to consider using the task decomposition of multithreading mode to analyze statistics, in my previous article "Tiger Concurrent Practice-Log analysis of parallel decomposition
By using the + operator, append the array elements on the right (excluding those elements that have the same key value as the array element on the left) to the left array, but the duplicate key values are not overwritten.
Cases:
$a =array ("a" =>
Friends with Dreamweaver do a website, there is no dynamic content, just some personal collection of articles, personal introduction and so on. Now the content is more, want to ask me to help him to do a search engine. To be honest, this is not a
Dojo is a very powerful object-oriented JavaScript toolbox, suggesting that readers should be able to add JavaScript to programming with OO, which is very useful for you to read Dojo source later.
Getting Started
1: Add Dojo to our web program
1.
I. GENERAL principles of database operation and maintenance
1, can not give the database to do things do not give the database, the database only to do data containers.
2, for the database changes must have records, you can roll back.
Ii.
Object Design Usage Specification
1. Commonly used data types
Description: The following is a commonly used data type introduction, table design according to the actual application selection.
(1) Number (P,S): The exact numeric type of the fixed
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