<%@ Page Language="C#" CodeFile="~/listen.aspx.cs" Inherits="listenerTest.listen" %>
<%
Response.ClearContent();
Response.ClearHeaders();
Response.Clear();
Response.AddHeader("Content-Type", "text/plain");
if (Request.Form.Count != 0)
{
string all = "";
foreach (string name in Request.Form.AllKeys)
{
string value = Request.Form[name];
// Do something with (name, value).
all += "key:" + name + "value:" + value;
}
}
Response.End();
%>
A blog about web application development mainly on backend side
Thursday, January 17, 2013
Retrieving all values from POST in asp.net
Here is the code:
Subscribe to:
Post Comments (Atom)
What is DaemonSet in Kubernetes
A DaemonSet is a type of controller object that ensures that a specific pod runs on each node in the cluster. DaemonSets are useful for dep...
-
I have got a nice post here http://www.danielwmoore.com/extras/index.php?topic=7691.0
-
here is a t4 file. save it using .tt extension and change the connection accordingly and drag to visual studio solution.
-
Here is the code static byte [] GetBytes ( string str ) { byte [] bytes = new byte [ str . Length * sizeof ( char )]; ...
No comments:
Post a Comment