软件开发园地

.net

博客园 首页 新随笔 联系 订阅 管理

2010年6月1日 #

摘要: 首先设置用户名为必填 设置属性required="true"<mx:FormItem label="用户名" required="true" width="100%"><s:TextInput id="txtUser" width="100%"/></mx:FormItem>然后添加<mx:StringValidator id="user_stringValidator" source="{txtUser 阅读全文
posted @ 2010-06-01 16:52 lsk 阅读(279) 评论(0) 推荐(0)

摘要: 我是一个初学者,使用的是一个分页控件,具体使用如下:先绑定datagrid 的数据源:<mx:DataGrid id="dbGrid" x="10" y="46" itemClick="dbGrid_itemClickHandler(event)" width="376"><mx:columns><mx:DataGridColumn dataField="username" headerText="用户名"/><m 阅读全文
posted @ 2010-06-01 11:10 lsk 阅读(313) 评论(0) 推荐(1)