我正在使用XMADL编写跨平台移动应用程序。我在本地数据库中有一个表“用户”,其中包含 firstname、lastname、email、pwd 列。调用用户配置文件屏幕时如何显示数据?配置文件屏幕定义为
<controls>
<control name="labelfirstname" type="TEXT" x="2" y="3" width="30" height="8"
appearance_name="black" data_type="VARCHAR"
default_value="First Name"/>
<control name="editfirstname" type="EDIT" x="35" y="2" width="50" height="8"
appearance_name="edit_box" data_type="VARCHAR" field_name="firstname"
default_value="" size="80"/>
<control name="labellastname" type="TEXT" x="2" y="12" width="30" height="8"
appearance_name="black" data_type="VARCHAR"
default_value="Last Name"/>
<control name="editlastname" type="EDIT" x="35" y="12" width="50" height="8"
appearance_name="edit_box" data_type="VARCHAR" field_name="lastname"
default_value="" size="80"/>
<control name="labelemail" type="TEXT" x="2" y="22" width="30" height="8"
appearance_name="black" data_type="VARCHAR"
default_value="Email"/>
<control name="editemail" type="TEXT" x="35" y="22" width="50" height="8"
appearance_name="black" data_type="VARCHAR" field_name="email"
default_value="" size="80"/>
<control name="labelpassword" type="TEXT" x="2" y="32" width="30" height="8"
appearance_name="black" data_type="VARCHAR"
default_value="Password"/>
<control name="editpassword" type="PASSWORD" x="35" y="32" width="50" height="8"
appearance_name="edit_box" word_wrap="0" data_type="VARCHAR" field_name="password"
default_value="" size="80"/>
</controls>
</screen>