父窗口:
ScriptManager.RegisterStartupScript(this.UpdatePanel1, this.GetType(), "", "window.open('data_select.aspx','','width=600,height=400,scrollbars=yes');", true);
子窗口:
Response.Write("<script>window.opener.document.all['ctl00_ContentPlaceHolder1_txtCuno'].value='" + GridView1.Rows[i].Cells[1].Text + "';window.opener=null;window.close();</script>");
ctl00_ContentPlaceHolder1_txtCuno:為父窗口ID