日期:2014-05-17 浏览次数:20789 次
function PhotoName() {
                window.open("FileUpload.aspx?type=Joins", "self", "top=200,left=200,height=300,width=610,toolbar=no,menubar=no, align=center,scrollbars=no,Resizable=no,location=no,status=no");
   <form id="form1" runat="server" action="File.ashx">
    <div>
        <asp:Button ID="Button1" runat="server" Text="Button" 
            OnClientClick="PhotoName()"/>   
    </div>
    </form>
string s = context.Request.Form["C1"];//接受表单值post方式
            string type = context.Request.QueryString["type"];//Get方式接收
------解决方案--------------------
+1,context.xxx