Post ASP.Net Form data to another page

前端 未结 5 969
终归单人心
终归单人心 2020-12-11 17:58

I have an ASP.Net Page, aspx with its default form.

I have a Submit Button for it. Upon clicking, it will post the data to itself. In othe

5条回答
  •  没有蜡笔的小新
    2020-12-11 18:53

    Use the Button's PostBackUrl property. http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.button.postbackurl.aspx

    <%@ page language="C#" %>
    
    
    
    
      Button.PostBackUrl Example
    
        
      

    Button.PostBackUrl Example

    Enter a value to post:



提交回复
热议问题