How to send a form Request using asp.net?
-
Hi, I need to do following Form Request in a my C# Application. So How can I do it using C#,ASP.NET
Thanks in advance.
-
Hi, I need to do following Form Request in a my C# Application. So How can I do it using C#,ASP.NET
Thanks in advance.
Is your form having runat=server tag ?
Navaneeth My Website
-
Hi, I need to do following Form Request in a my C# Application. So How can I do it using C#,ASP.NET
Thanks in advance.
I am not sure what you exactly telling I think you want to do these html form element in the asp.net using c# and accessing it. Steps 1) add new web page to a project. 2) click on the source button, in that form tag add action and set it to https://abc/MPI 3) add the hidden html tag add attributes runat="server". Do this for all the controls. 4) now you can access the hidden control value from code behind e.g In page_load PX_VERSION.Value give the value stored in the control. I think this what you want. if you have any doubt, post back to me.
-
Is your form having runat=server tag ?
Navaneeth My Website
Thanks for reply. No .I am unable to use Forms direclty.I have string field with having Form content. Is there a way to post forms contents dynamically? Thanks in advance.
-
I am not sure what you exactly telling I think you want to do these html form element in the asp.net using c# and accessing it. Steps 1) add new web page to a project. 2) click on the source button, in that form tag add action and set it to https://abc/MPI 3) add the hidden html tag add attributes runat="server". Do this for all the controls. 4) now you can access the hidden control value from code behind e.g In page_load PX_VERSION.Value give the value stored in the control. I think this what you want. if you have any doubt, post back to me.
Thanks for reply. I need to send form content Dynamically and get a response. I am unable to create form and put all the code inside the form. I can get form content to a string field. Then Is there a way to post form details dynamically and get a response. Thanks in advance