Friday, October 23, 2009

The data that uses DW alive guides, sort and beautification

When having, we often need to so that contact,release a few data such as client information to the net, but as client data increasing, is be being updated on your net to also feel more and more ability not equal to one's ambition? How should this do? Actually, besides will come true with these tiring-room languages such as Asp, Php quick outside updating, dreamweaver itself offerred data to guide the method with sort, this is absolutely to knowing the friend of tiring-room greatly good news. Dw also from version 3 retained this function all the time to newest Mx, see its economic point. We come to experience below its effect after all how.

Note: The article is with Dreameaver MX exemple

1,  for example we at hand has a Kehu.txt file now, sheet of connection of ** firm client is inside, detailed information is shown as follows:

Full name, sexual distinction, position, phone

Li Ming, male, personnel of A company technology, 87185900

Li Yan, male, b company director, 80226888

Wang Jiang, male, c company chief engineer, 83546790

Su Lin, female, personnel of D company sale, 87556341

Chen Dongdong, male, director of E company project, 87436588

Can see, inside this every undertook depart with comma.

2,  (1) open DW MX, build page of a Html, insert/table Objects/import Tabular Data of choice menu column this.

 

Graph 1

(2) window of occurrence Import Tabular Data, click " Browse... " pushbutton, the choice deposits the text file of data, in Delimiter this in want and the separator in text file is opposite should, because be used in Kehu.txt file, is comma, chose Comma so, other can need each to undertake choosing to revise according to everybody.

Graph 2

(3) click finally " OK " , a piece of form that includes text file data appears was in your before.

 

Graph 3

3,  (1) although form is,be done, nevertheless sometimes we need to have a sort to the data in form, this bit of DW also thought of of course, first pitch on form, choose menu column Commands/sort Table next this.

 

Graph 4

(2) window of occurrence Sort Table, sort By choose Column 1, order the choice is mixed by alphabetical sort Alphabetically ascend arrange Ascending, other each everybody can consult graph 5 basises need to undertake choosing.

 

Graph 5

(3) click " OK " , the sort of 1 is listed in completing pair of form so, list 1 medium full name to all undertook with phonetic alphabet size ascend arrange.

 

Graph 6

4, (1) now, our effect and sort came out, what should do finally is the beautification to form, love beautiful heart person to all have, form is not exceptional also, move beautification besides him hand outside, DW offerred seventeen kinds of style technically also to choose for you. As similar as Sort Table, first pitch on form, reelection choose Commands/format Table.

 

Graph 7

(2) window of occurrence Format Table, top left corner has all kinds of type, can choose according to your be fond of, because the others is the operation of goofy type each, did not introduce one by one here, just emphasize to last, this are to enquire whether you add code of all kinds of type to acquiesce of the and rather than in TD mark to be added in TR mark, here the author suggests you are not ticked off anthology, can generate otherwise get much code more than acquiescent setting.

 

Graph 8

(3) click " OK " , success, the effect that creates finally pursues as follows, how? Simple a few paces can make it such, need the function that comes true with ability of tiring-room process designing originally, do easily with DW decided, its powerful point also depends on this just about

 

No comments:

Post a Comment