Very useful 2 tips (label label and SQL2005)

Source: Internet
Author: User
Tags version unique id
Very useful 2 tips, label label and sql2005 Import version 2000 appear problem-solving.

1. In order to convert a Sql2005 database to a Sql2000 database, an error can sometimes occur when a version 2000 script is generated: "The target server version does not support this object or one of its properties".
Workaround: In fact, if you set the compatibility level to SQL Server 2000 (80) in the properties of this database, then this error will not occur.

2. In the form, label this label is very useful, the most useful is to increase the form elements of the mouse click Range, improve user friendliness.
The use method is to set the label's for property to the ID of the form element to be associated. It's no problem when the form element is relatively young.
But when you have a lot of form elements, especially when you have a lot of radio and check boxes. Setting a unique ID for each element can be cumbersome, and the page becomes more complex.
So sometimes trade-offs are made, sacrificing a bit of user experience to reduce complexity.
Is there a way to have both worlds? The answer is yes, and you don't need an ID to do it.
How to: Put the form elements and text directly into the label.
point I try:

[Ctrl + A ALL SELECT hint: You can modify some of the code, and then run]
Is it simple? Compatibility is OK, in addition to IE6 (more despise it), has not found that there is no browser support.



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.