In the below code url indicates path of your method, here my method is in Default.aspx page.
data indicates parameters for the server side web method.
Place below code in aspx.cs page.
If we click on submit button the above method will be called and returns a Date time string appended with the text which we have entered in the text box.
This comment has been removed by the author.
ReplyDelete