Ultradev Example Tutorial: 6 Ultradev Use Experience

Source: Internet
Author: User
Tutorials | tips

The sixth chapter: Ultradev Use Experience

1.Ultradev will clash with Jinshan Poison Blaster virus firewall


Put on the Golden Hill poison PA friend will find sometimes open Ultradev when the error, and then the program is aborted. Just turn off the virus firewall.

2. See the source code when the Chinese characters are not normal

Everyone must be Dreamweaver Ultradev 4 inside the font, text size set (edit-preferences-font/encoding) can not save the big headache? Here to provide you with a solution!

Please back up the registry and exit the running Dreamweaver Ultradev 4.

1. Run Regedit.exe.

2. Find Hkey_current_user/software/macromedia/dreamweaver Ultradev 4/font PREFERENCES

3. Double-click Number encodings to change the value B to C (decimal 11 to 12).

Exit regedit and enter Dreamweaver Ultradev 4, and now you are free to choose the font and text size for propotioanl,fixed font,code inspector.

3. Search results cannot be turned page

Do not know whether we have found, in fact, we are in front of the search page of the production, the final view of the results, if you have a lot of words, the page effect has not been achieved. For example, you use the keyword win search can get 60 records, the database records have 100, when you turn the page, you will find that the search results changed to 100 (using DataBinding->total record), that is, the records in the database are taken out, Why, then? Let's take a look at the process of implementing the search from the beginning.

See the figure below, we are using form variable to get the parameters passed (request.form ("xxx"), which is natural because we enter the query string through a text form field.



In this case, when we turn the page, the value of this request.form ("xxx") can not be passed, so the program uses the default value of "1" (see below), that is, to remove all the values in the database.



Until the problem is where, how to solve it? Since Request.Form ("xxx") can not be passed down, then we will change the way of transmission, with request.querystring ("xxx"), see the figure below.


Of course, only this is not possible, we are clearly through the form field to enter the query string, how can there be a request.querystring ("xxx") to pass it? Hey, we still want to take advantage of the default value function. As shown in the following figure, the original default value is 1 and we want to change it to the value we need.



This is the corresponding source code, we have to start by modifying the source code



This is the source code after the modification. Haha, see understand? We changed the initial value to Request.Form ("xxx") so that the program would take the initial value to fetch the data if it could not find request.querystring ("xxx").



So my page-turning process is perfect, is not very simple?! ^_^

The above three questions are more common, let us talk about here first.

In this case, the Ultradev series of textbooks that we have written to Enet will come to an ending.



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.