Utilize Dreamweaver MX data import function

Source: Internet
Author: User
Tags html page php and sort contact form dreamweaver
dreamweaver| data
Sometimes, we often need to put some information such as customer information posted online in order to contact, but with more and more customer information, your online update is not also feel more and more powerless? What's the deal? In fact, in addition to using ASP, PHP and other background language to achieve fast updates, Dreamweaver itself provides the data import and sorting methods, this is not understand backstage friend is definitely a big gospel. DW also retains this functionality from version DW 3 to the latest DW MX, which can be seen as useful. Now let's see how it works.
Note: This paper takes Dreamweaver MX as an example
1, for example, we now have a kehu.txt file, which is * * Company customer Contact form, the details are as follows:

2, (1) Open DW MX, create a new HTML page, select the menu bar insert/table objects/import Tabular data.

(2) The Import Tabular Data window appears, click the "Browse ..." button, select the text file that holds the data, in the delimiter that corresponds to the separator in the text file, Because the Kehu.txt file uses a comma, the comma is selected, and other items can be modified according to your needs.

(3) Finally click "OK", a table containing text file data is presented in front of you.

3, (1) Although the table is done, but sometimes we need to make a sort of data in the table, this DW of course also thought of, first select the table, and then select the menu bar commands/sort table this item.

(2) The Sort Table window appears, the sort by item selects column 1,order items to select alphabetically alphabetically and ascending order ascending, and other items can be selected as required by reference to Figure 5.

(3) Click OK to complete the sort of column 1 in the table, and the names in column 1 are sorted in ascending order by pinyin size.

4, (1) Now, we have the effect and sorting out, the last thing to do is the form of beautification, beauty of the heart people have, the table is no exception, in addition to their own manual beautification, DW also specializes in providing 17 styles for you to choose from. Like the sort table, first select the table, and then select the Commands/format table item.

(2) The Format Table window appears with various styles in the upper-left corner, you can choose according to your preferences, because the rest is a fool-like operation, here is not one of the introduction, but to the last of the emphasis on the item is to ask you whether to add the style code to the TD tag rather than the default add to the TR tag , here I suggest you do not check, or you will generate much more code than the default settings.

(3) Click "OK", finished, the final results generated by the following diagram, how? A simple few steps can be done this way, the original need to use background programming to achieve the function, with DW easy to handle, it is the strong place is precisely this.


Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.