Dynamic data interaction with asp + javascript without refreshing
Source: Internet
Author: User
///// // By xxrl)
/// // Chinese: Jiang Jianhua
//// // Email: jjh_115@eyou.com
Linkage, linkage, linkage .... Troubled by a lot of netizens nervous, in the CSDN-ASP section, always see netizens shout for help, save what? Linkage! Why is the association so concerned? Its practicality is beyond review and can be recognized by users. However, if there is a large amount of data that is associated with each other, the problem arises. How to identify and display is a very distressing issue. Is there a good solution? The answer is yes, because we have asp and javascript, haha, so let's get started!
Since we want to achieve the linkage effect of the data we want to obtain, we are sure that the data is associated, so we use such an instance to describe our method.
Prerequisites:
SQL server 2000 Chinese Enterprise Edition, IIS5.0 +, IE5.0 +, of course, it is best to have a good editor, VS. NET is good, of course, if you are a supporter of Notepad, then I can not. L
We describe how to interact with departments in the personnel management. We can understand that the department levels in the management can be defined in this way, which is also the definition rule of the actual enterprise, ** chemical plant/** system/**, for example
×× Chemical plant/marketing system/marketing department. In this article, the FirstOrganization table corresponds to "×× chemical plant" and SecondOrganization corresponds to "marketing system ", thirdOrganization corresponds to the "marketing department"
Create two or three tables in SQL SERVER 2000. To make full use of the Association function, create three tables.
Database name: xxrl_STUDY, username: xxrl_STUDY, password: xxrl_STUDY
Then you can create an ODBC data source.
ODBC name: xxrl _ ODBC. Use the username xxrl_STUDY and password xxrl_STUDY to connect and point to the xxrl_STUDY Database. The default Chinese setting is used for testing.
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