Friday, October 9, 2009

DreamweaverMX Ultradev is explored (3-1)

Dreamweaver MX Ultradev is explored (3) adds a record to the middle of the database

Good, receive go up to be told, before one chapter interprets content of dynamic indication database, believe everybody present mood already was very excited, ah. . . It is a heart in thinking early, ought to can can oneself also add data by hand on the webpage? Be no problem of course, DW MX already prepared everything for us. Generally speaking, want to pass ASP page to add a record to the middle of the database, need offers the interface of user data-in, this can include watch sheet and page to come true through founding. The Insert Record that uses Dreamweaver MX (insert record volume) server behavior, OK to the record is added in the database.

Gibberish says less, build one page, if pursue (3-1)



3-1 ought to everybody is met.

<1>After clicking, you can discover, occurrence page and DW or UD are very big before do not show, if pursue (3-2) be shown. DW MX is founding different dynamic webpage respect to appear very convenient, can select the kind that oneself want at will, and need not choose even like before save a type. Here we choose to found dynamic page (Dynamic Page) , choice VBScript regards the script of the page as the language. OK, save for Insert.asp.



3-2
<2>We are built with ACCESS occupy a library, save a name to be " the user is expressed " , if pursue (3-3) be shown. Appoint ID to give priority to key, the data kind that sets it at the same time is automatic number.



3-3

Everybody notices, here I used field type Chinese, if be in before UD times, it is absolutely cannot appear of Chinese, but arrived DW MX times, we can be used eventually, touch Ing. . . Reflect the introduction of the 2nd chapter, build systematic DSN, establish good database link in DW MX at the same time, if pursue (3-4) be shown.



3-4

<3> Good, preparative work was finished eventually to here. Mention in front the record is added in wanting to face a database through ASP page, need offers the interface of user data-in, namely we should build watch sheet on the page, provide the area that lets user input, such data that we just can submit the user are saved in entering a database. Design following interfaces, if pursue (3-5) be shown.



3-5

Noticed the gules number above? Not urgent, here still has a bit to want to notice, if pursue (3-6) be shown. Want to designate the name of these text casing, the first " user name " I appoint the text casing at the back of it for " user name " , other two duplicate, appoint respectively for " password " , "Mailbox " , the kind that just wants this one to notice a password (Type) should appoint for Password, such users see when inputting a password is date of a string of * only. Note: Name to text casing in UD before cannot use Chinese, but also can use in DW MX now.



3-6

No comments:

Post a Comment