We said the main operation of a few DWMX in front, the metropolis after believing everybody looked feels simpler, really, this is a tool software, the operation goes to the lavatory should be his tenet. Network backstage supporter is the actually most primary should be capture database, the thing that has mastered this respect only you ability is OK more thorough study. Of course, what we learned DWMX only is very few one part, the action that still has a lot of (Server Behaviors) be about yourself goes fumbling slowly, what we can do is the world that takes you to enter MX, want to master more deep-seated thing, be about to treat your patience and will. Study is happy, but also be anguish, come up against in you especially when the problem is solved without method.
Begin from today, we should discuss the thing of respect of a few skill together, our skill does not go up in the operation, however on backstage application, namely the skill of Asp. MX can generate code automatically, believing everybody has felt is one great leap, also not be the business that what Yao cannot reach again to those design personnel especially. But the negative sex that aught has him, DWMX is not exceptional also.
Above all: The code that he generates is too much, either let abecedarian so easily understand. We can use a lot of time completely the code that less code will come to to replace him to be generated automatically. Next: The page that he needs to manage is too much also, safeguarded personnel to bring bigger trouble to Web that is to say, we often can see there is an After **** Go To in behavior dialog box, it is a hand jump after we complete this operation turn (little skill: Jump turning to also can say is directional, asp code is: Response.Redircet "newpage.asp" ) to a new page. Actually he can accomplish a page completely to go up, such advantage is the page that we should safeguard little, you can not look down upon him, if you can very good control this skill, so you will be OK build the page of 30% less, it is really such, you are not amazed.
Today we for the skill that says this aspect: We basically use an If here... Endif statement, this I think authority is clear, specific how to come true?
For instance: We should build an entry system, do us to want two pages with traditional DWMX, this is a very simple thing, a few code to want only? So I decide to be him in a page.
Process designing train of thought: We should build entry system, should use a list for certain sheetWhen watch sheet is referred we get expressing the value in sheet with Request.form("name") , still having a square hair that passes information between client computer and server is Request.QueryString, he is delivered together with Url, we often see, http://www.cfsky.com/forum.asp? Id=1. Id=1 is QueryString, we can get his value with Request.queryString("id") .
What we should come true is the statement that use If the examination has Querystring, if did not make watch sheet on the page, if have,welcome you in " of the output on the page, city does not have lover " (little skill: The literal " that with Response.write " you want to output can be outputted, also can use <%= " the literal " %> that you want to output)
Basic watch sheet is built on the page, the name is Login.asp, everybody notices: We in
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment