在按钮事件里加上一个查询事件不就可以了么
string source="Provider=MSDAORA;user id=test;data source=test;password=test";
OleDbConnection conn=new OleDbConnection(source);
string sql="select username from user where phonenumber='"+textboxnumber.text+"'";
DataSet ds=new DataSet();
OleDbDataAdapter da=new OleDbDataAdapter(sql,conn);
da.Fill(ds,"user");
DataGrid1.DataSource=ds.Tables["user"].DefaultView;
DataGrid1.DataBind();
conn.close();