Dreamweaver MX Ultradev is explored (1) establish data source
Attend one class, we just introduced the new function of respect of MX backstage database simply, we should begin to learn his function truly today. Dynamic page is the mainest is database of combinative backstage supporter, update Web page automatically, so our tutorial from only then it is to mix eventually oneself the database is not divided, left a database to also do not talk to go up what trends page. So we basically negotiate the link that how installs a database in MX today.
The link that establishs a database is the bridge that Web page leads to data, the accretion of any forms, delete, revise, retrieving is to build what undertake on connective foundation, can imagine connective importance. Because this establishs correct link,be the first when we learn.
Again you think possible the place builds a folder, give a name for Dwmx (of course you have right need not this name) , an Access database is built inside, the beat of Northwind.mdb of database of give typical examples that had better be an Office Access goes in, because we will be used to his henceforth. Enter MX, be in before the elephant Dw or it is Ud in same, install a site, catalog is the list that we a moment ago built, acquiescent language is Asp VBScript. Of course you also can be installed in the Files face plate of right.
Build a file, do in playing the window that give (the 1-1 that be like a graph) setting. Because MX joined a lot of new backstage supporter to develop a language, contained newest technology, can select the kind of the page when building a file so, if be dynamic page, choose appropriate tiring-room to develop a language even. Here we choose Dynamic Page and Asp VBScript of course, I think this is the choice of major friend! Press Creat pushbutton.
Graph 1-1
Preparative work has been done, begin join database, spread out the Appli cation face plate of right, choose Databases label, press "+" button, choose Data Source Name (DSN) (the 1-2 that be like a graph)
Graph 1-2
In shooting the dialog box of Data Source Name (DSN) that give proceed is installed. If you had installed join in the ODBC of Control Panel, so you can help the link that you find to build in list below Data Source Name (DSN) , a name is inputted in Connection Name, press Test button, if succeed, so the database is good with respect to join. But, how to if are we done not have,do in join of the setting in ODBC?
1, very simple, click Define... pushbutton, can enter ODBC data source control implement. (the 1-3 that be like a graph, )
Graph 1-3
2, label of selection system DSN, click add pushbutton (the 1-4 that be like a graph)
Graph 1-4
3, the data driver that chooses us to want to use, choose here (the 1-5 that be like a graph) .
Graph 1-5
4, click the pushbutton that finish, choose the route of the database, should be Dwmx/northwind.mdb. Have a name to data source. Call "testmx" ! (the 1-6 that be like a graph) .
Graph 1-6
5, click the data cause that can see us certainly "testmx" (the 1-7 that be like a graph) .
Graph 1-7
6, the dialog box of Data Source Name (DSN) in clicking affirmatory pushbutton to return MX. In Connection Name input name "northwind" checks, if succeed, with respect to OK.
We read the Databases label of Application face plate now, have the data cause that we build! (the 1-8 that be like a graph)
Graph 1-8
Good, our bridge had built, should pass him to take data in the database namely next.
To be continued...
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment