<!-------------------用户选择开始---------------->
<%
    SzDataReader dataReader_ADDRESS = new SzDataReader();
	//姓名，公司，手机
    ResultSet rs_ADDRESS = dataReader_ADDRESS.readInfo("SZCY_TXL", "XX2,XX4,XX23", "XX14=" + iDLID_SESSION);
    
%>

<table width="350" align="left">
  <tr>
    <td colspan="3">
	查找：<input type="text" name="txtLoginSelecting_ADDRESS" class="txtClass1"><input type="button" class="btnClassShort" value="确定" OnClick="SearchOption(formUpdate.LoginSelecting_ADDRESS, formUpdate.LoginSelected_ADDRESS, formUpdate.txtLoginSelecting_ADDRESS.value);">
    </td>
  </tr>
  <tr>
    <td width="150" align="right">
      <select name="LoginSelecting_ADDRESS" size="20" multiple style="width:200;" OnDblClick="MoveSelectedOption(formUpdate.LoginSelecting_ADDRESS, formUpdate.LoginSelected_ADDRESS);">
<%
    String sHM_ADDRESS = "";
    String name_ADDRESS = "";
    String company_ADDRESS = "";

    while (rs_ADDRESS !=null && rs_ADDRESS.next() ) {
	name_ADDRESS = SzConvert.strReadData(rs_ADDRESS.getString("XX2"));
	company_ADDRESS = SzConvert.strReadData(rs_ADDRESS.getString("XX4"));
	sHM_ADDRESS = SzConvert.strReadData(rs_ADDRESS.getString("XX23"));
        if ( sHM_ADDRESS.equals("") ) {
          sHM_ADDRESS = "无号码";
          continue;
        }
%>
        <option value="<%=sHM_ADDRESS%>,<%=name_ADDRESS%>"><%=name_ADDRESS%>[<%=sHM_ADDRESS%>]</option>
<%
    }
    rs_ADDRESS.close();
    dataReader_ADDRESS.closeAll();
%>
      </select>
    </td>
    <td width="50">
      <table>
        <tr><td><input type="button" name="btnToRight" value=">>" OnClick="MoveAllOption(formUpdate.LoginSelecting_ADDRESS, formUpdate.LoginSelected_ADDRESS);"></td></tr>
        <tr><td><input type="button" name="btnToRight" value=" >"  OnClick="MoveSelectedOption(formUpdate.LoginSelecting_ADDRESS, formUpdate.LoginSelected_ADDRESS);"></td></tr>
        <tr><td><input type="button" name="btnToLeft"  value=" <"  OnClick="MoveSelectedOption(formUpdate.LoginSelected_ADDRESS, formUpdate.LoginSelecting_ADDRESS);"></td></tr>
        <tr><td><input type="button" name="btnToLeft"  value="<<" OnClick="MoveAllOption(formUpdate.LoginSelected_ADDRESS, formUpdate.LoginSelecting_ADDRESS);"></td></tr>
      </table>
    </td>
    <td width="150" align="left">
      <select name="LoginSelected_ADDRESS" size="20" multiple style="width:200;" OnDblClick="MoveSelectedOption(formUpdate.LoginSelected_ADDRESS, formUpdate.LoginSelecting_ADDRESS);">
      </select>
    </td>
  </tr>
</table>
