Getremoteaddr (): obtains the IP address of the client.
Getremotehost (): obtains the name of the client computer. If the name fails, the IP address of the client computer is returned.
Inetaddress IA = inetaddress. getlocalhost ();
String IAD =
'Microsoft ole db provider for ODBC drivers' (0x80004005)
[Microsoft] [ODBC Microsoft Access driver] The File '(unknown)' is not found )'.
/Conn/conn1.asp, row 3rd'
Iis7.0 configuration is set correctly in Windows 7, and ASP is set correctly.
How can we implement asynchronous file refresh? There are already a lot
Article To solve this problem, but a large amount of JavaScript will be used. Because of my low coding capability, I have no reason for HD, but they seem to have used IFRAME in
Two days earlier, I saw a very interesting picture on the Internet. Put the commonly used ASP syntax on a piece of paper around A4, print it out, and put it next to the computer. Once you cannot remember some statements, you can just give a look.
When the Server Control displays images, the relative position is automatically displayed,
There are two solutions for non-server controls:
1. Request. applicationpath + image path (images/xxx.gif): The image path in the database starts with the
Today, an HTML control is dynamically generated in the background, similar to htmltablecell cell = new htmltablecell ();
Directly to cell. innerhtml = "cell html
Code"; Then the page is displayed. When cell is used. controls. when add (new control
Front-end:
Code
Copy code The Code is as follows:
simple implementation of gridview sorting
Background:
CodeCopy codeThe Code is as follows: using system;Using system. Data;Using system. configuration;Using system. collections;Using
1. Save the image to an XML file
CopyCode The Code is as follows: //
/// Save the image to an XML file
///
Private void uploadimagetoxml ()
{
/// Get the file name to be uploaded
String strfilepathname = lofile. postedfile. filename;
String
The getcache function automatically creates the required cache.
CopyCode The Code is as follows: function getcache (funsname, isreset, isarr, timeinfo)
'Funsname-content to be cached. Enter a function name here.
'Isreset-whether to update [value: 0
This document uses the latest FCKeditor 2.3.1 version.
Download the official website: http://ckeditor.com/download?suggestion: download the latest official website]
Use the following code:
The first task is to streamline the powerful editor.
In the future, I will write out what I learned during this period and share it with you. This article
Article It is also a note at work, hope to give a little help to friends who encounter the same problem.
In the development work, because
Regexp is used to create a regular expression.
For example:
Set RegEx = new Regexp
RegEx. pattern is used to set the regular expression mode,For example:RegEx. pattern = "/d +"
RegEx. ignorecase = true' specifies whether the value is case
In the CS file
Code
Copy code The Code is as follows: using system;
Using system. collections;
Using system. configuration;
Using system. Data;
Using system. LINQ;
Using system. Web;
Using system. Web. Security;
Using system. Web. UI;
Using
1. Obtain the aspx client request address:
CopyCode The Code is as follows: '> address
2. C # call the client method: (top.w.w.doc ument: The table parent window. If the mainframeobject is in this window, no top.w.w.w.doc ument is added)Methods
Originally prepared to be directly modified in the previous article, but the editing function is too poor, open a bunch of HTML
Code The space "& nbsp" is dazzling, so I have to open another article.
Upgrade Description: You have added settings
Language. xml
CopyCode The Code is as follows:
Simplified Chinese simpilifiedchinese images
traditional Chinese traditionalchinese imagesbig5 DDD
SL. aspCopy codeThe Code is as follows: Set objxml2 = server. Createobject ("msxml2.
User Control
Code :
Code webcontrols
Copy code The Code is as follows: using system;
Using system. Collections. Generic;
Using system. LINQ;
Using system. Web;
Using system. Web. UI;
Using system. Web. UI. webcontrols;
Namespace xuyuanwang.
This software completes data input for thousands of products in one or two days. It can be seen that a lot of work is not done manually.
Program Personnel is to free up many people who often do repetitive and tedious work. Below are some core
Copy codeThe Code is as follows: //
/// Convert Chinese characters into pinyin (full spelling)
///
/// Chinese character string
/// converted pinyin strings
Public static string ConvertE (string hzString)
{
// Match Chinese Characters
Regex
As follows:
The source code is as follows:
Copy codeThe Code is as follows: using System;
Using System. Data;
Using System. Configuration;
Using System. Collections;
Using System. Web;
Using System. Web. Security;
Using System. Web. UI;
Using
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.