adoquery1.close;
adoquery1.sql.clear;
adoquery1.sql.add('select 密码 from 用户资料 where 用户名='''+edit1.text+'''');
adoquery1.open;