完成年龄字段后,可能希望指定对名字字段的长度加以限制。
Once you have the age field sorted out, you might want to specify length restrictions on the first-name field. You could code this validation as follows.
该新软件也可以将名字字段扩展为16到32个字。
The new software also expands name field from 16 to 32 characters.
我们可以在register方法中添加验证代码,以确定名字字段是否为null。
We could add validation code to the register method to determine whether the first-name field is blank or null.
在清单1中,一个alpha验证器应用到名字字段中,数字验证器应用到年龄字段中。
In Listing 1, an alpha-validator was applied to the name field, and the digit's validator was applied to the age field.
我们希望此应用程序是一个包含有最少量信息的表—比如,一个ID(表的键)、一个名字字段以及一个电话号码字段。
What you want for this application is a table that contains the bare minimum of information - for example, an ID (the table's key), a name field, and a phone number field.
正如您所见,我们增加了一个过滤器把名字字段全部改为大写,并使用另一个过滤器把年龄字段中的非数字内容全部去掉。
As you can see, we added a filter to change the name field to all uppercase and another to strip out everything from the age that isn't digits.
在AddWebreference对话框的Web reference名字字段中键入在代码中访问Web服务所使用的名字。
You type the name used to access the Web service in code in the Web reference name field in the Add Web reference dialog box.
在LotusDominoDesigner 6.5中,Domino应用程序开发人员可以在应用程序中增加LotusSametime人员感知功能,只需要启用能够显示在线状态的名字字段即可。
For Lotus Domino Designer 6.5, Domino application developers could now add Lotus Sametime person awareness to their applications by enabling a names field in a form to show online status.
在LotusDominoDesigner 6.5中,Domino应用程序开发人员可以在应用程序中增加LotusSametime人员感知功能,只需要启用能够显示在线状态的名字字段即可。
For Lotus Domino Designer 6.5, Domino application developers could now add Lotus Sametime person awareness to their applications by enabling a names field in a form to show online status.
应用推荐