Yue Yue, Day by day .....
-------------------------------------------------- ---------- =
November 24, 2004
1: JavaScript hidden form object
Function Hidntable (Tab) // Tab is the Table ID in the form
{Can also use style.visibility = "hidden" | "visible"
The acquisition of the object can be used with document.getlementByid ("Table1"). Style.visibility = "hidden"
VAR Disply = tab.style.display;
IF (Disply == "None")
DISPLY = ""
Else Disply = "none";
Tab.Style.Display = DISPLY;
}
-------------------------------------------------- -----------
November 3, 2004 1: -------
Request.mappath (".."); // get the last level of the web program
Request.mappath ("."); // get the current directory of the web program
Request.mAppath (@ "/"); // get the root directory of the web program
System.io.directory.exists (@ "c: / aa") // does not have the existence of the directory;
System.io.directory.createdIRectory (@ "c: / aa") // establishes a directory;
System.IO.File.exists () // The test file exists;
2: --------- Web mode upload file to server ----
Today, the program is discovered that the customer cannot send an email with the module I wrote. The interface that has been used is very good and combined with the SMS function. It is perfect, now 8 * & ^;
However, after adding an attachment, it is completely Over, and then discovered that the server path and the local path are different, the test, WebClient is really displaced, and when debugging, I blinded me.
It seems that the essence of web development is still post & get, and C / S does not pass;
The last statement solves the attachment upload attachment to the server problem; cool, unhappy; now it is not cool, a word is stupid)
This.file1.postedfile.saveas (@ "/") @ "/ maiLatt /" system.io.path.getFileName (this.file1.value.trim ()))))
Then, the attachment path of the message points to this, the mail address list string pays the BCC property, and the group is issued, and the user who receives the mail cannot see the group recipient address list, can only be seen
The address of the person ... ^ _ ^
note
: 1: The folder saved by the attachment must be writable; 2 IIS should allow anonymous access
November 11, 2004
-------------------------------------------------- ------------------------------
Several markers of HTML;
1: IFRAME painting
2: