<%@ 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...
-
Cross-platform compatibility: MAUI allows developers to write code that can run on multiple platforms with minimal modifications. Shared cod...
-
Both .NET and NodeJS are popular programming frameworks that have their own strengths and weaknesses, which makes for an interesting compar...
-
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...
No comments:
Post a Comment