Chapter 6: Experience using Ultradev
1.Ultradev will conflict with Kingsoft Antivirus Firewall
Friends who have installed Kingsoft Antivirus will find that sometimes an error will be reported when opening Ultradev, and then the program will terminate. Just turn off the virus firewall.
2. Chinese characters are not displayed properly when viewing the source code.
You must be troubled by the fact that the font and text size settings (Edit-Preferences-Font/Encoding) in DREAMWEAVER Ultradev 4 cannot be saved, right? Here is a solution for everyone!
Please back up the registry first 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 and change the value b to c (change 11 in decimal to 12).
Exit regedit and enter DREAMWEAVER Ultradev 4. Now you can freely select the font and text size of PROPOTIOANL, FIXED FONT, and CODE INSPECTOR.
3. Search results cannot be turned over.
I don’t know if you have noticed that in fact, when we looked at the results of the search page we talked about earlier, if you have a lot of records, the page turning effect is not achieved. For example, if you search for the keyword win, you can get 60 records, and there are 100 records in the database. When you turn the page, you will find that the search results have changed to 100 (implemented using DataBinding ->Total Record), that is, the records in the database The records have been taken out, why? Let's look at the process of how we implement search from the beginning.
As shown in the figure below, we obtain the passed parameters (Request.form("xxx")) by using Form Variable. This is natural because we enter the query string through a Text form field.
In this case, when we turn the page, the value of Request.form("xxx") cannot be passed, so the program uses the default value "1" (see the figure below), that is, all the values in the database are taken out .
Until where is the problem? How to solve it? Since Request.form("xxx") cannot be passed on, we will change the delivery method and use Request.querystring("xxx"), as shown in the figure below.
Of course, this alone won't work. We obviously enter the query string through the form field, so how can there be a Request.querystring("xxx") to pass it? Hey, we still have to take advantage of the default value function. As shown in the figure below, the original default value is 1, and we need to modify it to the value we need.
This is the corresponding source code. We need to start by modifying the source code.
This is the modified source code. Haha, do you understand? We changed the initial value to Request.form("xxx"), so that the program will use this initial value to retrieve data if it cannot find Request.querystring("xxx").
In this way, my page turning program is complete. Isn't it very simple? ! ^_^
The above three questions are relatively common, so I will talk about them here first.
At this point, the ultradev series of teaching materials we wrote for enet comes to an end.