{"id":9676,"date":"2015-06-12T20:37:02","date_gmt":"2015-06-12T16:07:02","guid":{"rendered":"http:\/\/blog.iranhostdir.ir\/?p=9676"},"modified":"2025-04-29T19:17:12","modified_gmt":"2025-04-29T15:47:12","slug":"%d8%b1%d9%88%d8%b4%d9%87%d8%a7%db%8c-%d8%a7%d9%86%d8%aa%d9%82%d8%a7%d9%84-%d9%85%d8%aa%d8%ba%db%8c%d8%b1%d9%87%d8%a7-%d9%88-%d8%af%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%db%8c%da%a9-%d8%b5%d9%81%d8%ad-2","status":"publish","type":"post","link":"https:\/\/iranhost.com\/blog\/%d8%b1%d9%88%d8%b4%d9%87%d8%a7%db%8c-%d8%a7%d9%86%d8%aa%d9%82%d8%a7%d9%84-%d9%85%d8%aa%d8%ba%db%8c%d8%b1%d9%87%d8%a7-%d9%88-%d8%af%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%db%8c%da%a9-%d8%b5%d9%81%d8%ad-2\/","title":{"rendered":"query string \u0686\u06cc\u0633\u062a \u0648 \u0686\u0647 \u0645\u0639\u0627\u06cc\u0628\u06cc \u062f\u0627\u0631\u062f\u061f"},"content":{"rendered":"<p dir=\"RTL\" style=\"text-align: justify;\">\u062d\u062a\u0645\u0627 \u0634\u0645\u0627 \u0647\u0645 \u062f\u0631 \u0628\u062e\u06cc \u0627\u0632 url \u0647\u0627 \u0639\u0644\u0627\u0645\u062a \u0633\u0648\u0627\u0644 (\u061f) \u0631\u0627 \u062f\u06cc\u062f\u0647 \u0627\u06cc\u062f \u06a9\u0647 \u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u0622\u0646 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631\u0647\u0627\u06cc\u06cc \u0642\u0631\u0627\u0631 \u06af\u0631\u0641\u062a\u0647 \u0627\u0646\u062f. \u0628\u0647 \u0627\u06cc\u0646 \u0631\u0634\u062a\u0647 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631 \u06a9\u0648\u0626\u0631\u06cc \u0627\u0633\u062a\u0631\u06cc\u0646\u06af \u06af\u0641\u062a\u0647 \u0645\u06cc \u0634\u0648\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0645\u06cc \u062e\u0648\u0627\u0646\u06cc\u062f \u06a9\u0647 query string \u0686\u06cc\u0633\u062a \u0648 \u0686\u0647 \u0645\u0639\u0627\u06cc\u0628\u06cc \u062f\u0627\u0631\u062f.<\/p>\n<h2 dir=\"RTL\" style=\"text-align: justify;\">query string \u0686\u06cc\u0633\u062a\u061f<\/h2>\n<p dir=\"RTL\" style=\"text-align: justify;\">\u0628\u0631\u0627\u06cc \u0627\u0646\u062a\u0642\u0627\u0644 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0628\u06cc\u0646 \u0635\u0641\u062d\u0627\u062a asp.net \u0686\u0646\u062f\u06cc\u0646 \u0627\u0646\u062a\u062e\u0627\u0628 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u06a9\u0647 \u06cc\u06a9\u06cc \u0627\u0632 \u0627\u06cc\u0646 \u0631\u0627\u0647 \u0647\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632\u00a0 Query String \u0648\u00a0 <span style=\"color: #008000;\"><span style=\"color: #000000;\">\u0622\u0628\u062c\u06a9\u062a Request<\/span><\/span> \u0627\u0633\u062a. \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u0634\u0645\u0627 \u062f\u0631 \u062d\u0627\u0644 \u06af\u0630\u0631 \u062f\u0631\u00a0 \u0627\u06cc\u0646\u062a\u0631\u0646\u062a \u0647\u0633\u062a\u06cc\u062f \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0628\u0627 \u0635\u0641\u062d\u0627\u062a \u0639\u062c\u06cc\u0628\u06cc \u0645\u062b\u0644:<\/p>\n<p dir=\"RTL\" style=\"text-align: justify;\">http:\/\/www.localhost.com\/Webform2.aspx?name=Sajad&#038;lastName=Bakhtyari<\/p>\n<p dir=\"RTL\" style=\"text-align: justify;\">\u0645\u0648\u0627\u062c\u0647 \u0634\u0648\u06cc\u062f. \u0627\u06cc\u0646 \u0622\u062f\u0631\u0633 \u0647\u0627\u06cc Html \u0627\u0632 Query String \u0628\u0631\u0627\u06cc \u0627\u0646\u062a\u0642\u0627\u0644 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0628\u06cc\u0646 \u0635\u0641\u062d\u0627\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u06a9\u0646\u062f.<\/p>\n<p dir=\"RTL\" style=\"text-align: justify;\">\u06a9\u0648\u0626\u0631\u06cc \u0627\u0633\u062a\u0631\u06cc\u0646\u06af \u062f\u0631 \u0648\u0627\u0642\u0639 \u06cc\u06a9\u06cc \u0627\u0632 \u0631\u0648\u0634\u0647\u0627\u06cc \u0627\u0646\u062a\u0642\u0627\u0644 \u0645\u062a\u063a\u06cc\u0631\u0647\u0627 \u0648 \u062f\u0627\u062f\u0647 \u0627\u0632 \u06cc\u06a9 \u0635\u0641\u062d\u0647 \u0628\u0647 \u0635\u0641\u062d\u0647 \u062f\u06cc\u06af\u0631 \u0627\u0633\u062a. Query String \u0639\u0645\u0648\u0645\u0627 \u062f\u0631 \u0635\u0641\u062d\u0627\u062a \u0648\u0628 \u06a9\u0647 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0627\u0646\u062a\u0642\u0627\u0644 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0627\u0632 \u06cc\u06a9 \u0635\u0641\u062d\u0647 \u0628\u0647 \u0635\u0641\u062d\u0647 \u06cc \u062f\u06cc\u06af\u0631 \u0627\u0633\u062a\u060c \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f. \u0628\u0647 \u0637\u0648\u0631 \u0645\u062b\u0627\u0644 \u0634\u0645\u0627 \u062f\u0631 \u0635\u0641\u062d\u0647 \u0627\u0648\u0644 \u0627\u0637\u0644\u0627\u0639\u0627\u062a\u06cc \u0645\u0627\u0646\u0646\u062f \u0646\u0627\u0645 \u0648 \u0646\u0627\u0645 \u062e\u0627\u0646\u0648\u0627\u062f\u06af\u06cc \u0631\u0627 \u0627\u0632 \u0628\u06cc\u0646\u0646\u062f\u06af\u0627\u0646 \u0648\u0628 \u0633\u0627\u06cc\u062a \u062e\u0648\u062f \u062f\u0631\u06cc\u0627\u0641\u062a \u0645\u06cc \u06a9\u0646\u06cc\u062f \u0648 \u062f\u0631 \u0635\u0641\u062d\u0647 \u06cc \u0628\u0639\u062f \u0645\u0634\u062a\u0631\u06cc \u0631\u0627 \u0628\u0627 \u0646\u0627\u0645 \u062e\u0648\u062f\u0634 \u0645\u0648\u0631\u062f \u062e\u0637\u0627\u0628 \u0642\u0631\u0627\u0631 \u0645\u06cc \u062f\u0647\u06cc\u062f.<\/p>\n<p dir=\"RTL\" style=\"text-align: justify;\">\u06a9\u0648\u0626\u0631\u06cc \u0627\u0633\u062a\u0631\u06cc\u0646\u06af \u062a\u0634\u06a9\u06cc\u0644 \u0634\u062f\u0647 \u0627\u0633\u062a \u0627\u0632 \u0647\u0631 \u0645\u0642\u062f\u0627\u0631\u06cc \u06a9\u0647 \u0628\u0639\u062f \u0627\u0632 \u0639\u0644\u0627\u0645\u062a \u0633\u0648\u0627\u0644 (\u201c?\u201d) \u062f\u0631 \u0627\u0646\u062a\u0647\u0627\u06cc URL \u0642\u0631\u0627\u0631 \u0645\u06cc\u200c\u06af\u06cc\u0631\u062f \u06a9\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u0634\u0627\u0645\u0644 \u06cc\u06a9 \u06cc\u0627 \u0686\u0646\u062f \u067e\u0627\u0631\u0627\u0645\u062a\u0631 \u0628\u0627\u0634\u062f.<\/p>\n<p dir=\"RTL\" style=\"text-align: justify;\">\u0628\u0631\u0627\u06cc \u06a9\u0633\u0628 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u062f\u0631 \u062d\u0648\u0632\u0647 \u06cc <a href=\"https:\/\/iranhost.com\/blog\/%D9%85%D8%B9%D8%B1%D9%81%DB%8C-asp-%D9%88-%DA%A9%D8%A7%D8%B1%D8%A8%D8%B1%D8%AF-%D8%A2%D9%86\/\">asp.net \u0686\u06cc\u0633\u062a<\/a> \u0628\u0647 \u0634\u0645\u0627 \u067e\u06cc\u0634\u0646\u0647\u0627\u062f \u0645\u06cc \u0634\u0648\u062f \u0645\u0642\u0627\u0644\u0647 \u0645\u0627 \u0631\u0627 \u0645\u0637\u0627\u0644\u0639\u0647 \u0646\u0645\u0627\u06cc\u06cc\u062f.<\/p>\n<h2 dir=\"RTL\" style=\"text-align: justify;\">\u0633\u0627\u062e\u062a\u0627\u0631 query string \u062f\u0631 asp.net<\/h2>\n<p dir=\"RTL\" style=\"text-align: justify;\">\u0628\u0647 \u0637\u0648\u0631 \u0645\u062b\u0627\u0644 \u062f\u0631 \u0622\u062f\u0631\u0633 \u0645\u0630\u06a9\u0648 \u0634\u0645\u0627 \u06f3\u0646\u0648\u0639 \u062f\u0627\u062f\u0647 \u0631\u0627 \u0627\u0631\u0633\u0627\u0644 \u0645\u06cc \u06a9\u0646\u06cc\u062f:<\/p>\n<p>http:\/\/www.localhost.com\/Webform2.aspx?name=Sajad&#038;lastName=Bakhtyari<\/p>\n<ol style=\"text-align: justify;\">\n<li dir=\"RTL\">\u00a0Webform2.aspx : \u0627\u06cc\u0646 \u0635\u0641\u062d\u0647 \u0627\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0628\u0647 \u0622\u0646 \u0627\u0646\u062a\u0642\u0627\u0644 \u062e\u0648\u0627\u0647\u06cc\u062f \u06cc\u0627\u0641\u062a.<\/li>\n<li dir=\"RTL\">name=Sajad : \u0627\u06cc\u0646 \u0642\u0633\u0645\u062a \u0645\u0642\u062f\u0627\u0631 \u0645\u062a\u063a\u06cc\u06cc\u0631 name \u0631\u0627 \u0627\u0631\u0633\u0627\u0644 \u0645\u06cc\u06a9\u0646\u062f.<\/li>\n<li dir=\"RTL\"><code>lastName=Bakhtyar<\/code>: \u0627\u06cc\u0646 \u0645\u0642\u062f\u0627\u0631 \u0645\u062a\u063a\u06cc\u06cc\u0631 lastName \u0631\u0627 \u0627\u0631\u0633\u0627\u0644 \u0645\u06cc\u06a9\u0646\u062f.<\/li>\n<\/ol>\n<p dir=\"RTL\" style=\"text-align: justify;\">\u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u0645\u062a\u0648\u062c\u0647 \u0634\u062f\u06cc\u062f \u062f\u0631 \u062f\u0627\u062e\u0644 \u06cc\u06a9 Query String \u0627\u0632 &amp; \u0628\u0631\u0627\u06cc \u062c\u062f\u0627 \u0633\u0627\u0632\u06cc \u0645\u062a\u063a\u06cc\u06cc\u0631 \u0647\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f. \u0633\u0627\u062e\u062a \u06cc\u06a9 Query string \u062f\u0631 Asp.Net \u0628\u0633\u06cc\u0627\u0631 \u0633\u0627\u062f\u0647 \u0627\u0633\u062a\u060c \u0628\u0647 \u0637\u0648\u0631 \u0645\u062b\u0627\u0644 \u067e\u0631\u0648\u0698\u0647 \u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u062f\u0627\u0631\u0627\u06cc \u06f2 \u0641\u0631\u0645 \u0628\u0627\u0634\u062f \u0648 \u062f\u0631 \u0641\u0631\u0645 \u0627\u0648\u0644 \u06f2 \u0639\u062f\u062f Text Box \u0648 \u06cc\u06a9 Button \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f. \u0633\u067e\u0633 \u062f\u0631 \u0631\u0648\u06cc\u062f\u0627\u062f Click \u0622\u0646 \u06a9\u062f \u0632\u06cc\u0631 \u0631\u0627 \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f.<\/p>\n<p dir=\"LTR\" style=\"text-align: justify;\">private void btnSubmit_Click(object sender, System.EventArgs e)<\/p>\n<p dir=\"LTR\" style=\"text-align: justify;\">{<\/p>\n<p dir=\"LTR\" style=\"text-align: justify;\">Response.Redirect(&#8220;Webform2.aspx?Name=&#8221; +<\/p>\n<p dir=\"LTR\" style=\"text-align: justify;\">this.txtName.Text + &#8220;&amp;LastName=&#8221; +<\/p>\n<p dir=\"LTR\" style=\"text-align: justify;\">this.txtLastName.Text);<\/p>\n<p dir=\"LTR\" style=\"text-align: justify;\">}<\/p>\n<p dir=\"RTL\" style=\"text-align: justify;\">\u0642\u0633\u0645\u062a \u0627\u0648\u0644 \u0627\u06cc\u0646 \u06a9\u062f \u06cc\u06a9 query string \u0645\u06cc \u0633\u0627\u0632\u062f \u0648 \u0645\u062d\u062a\u0648\u06cc\u0627\u062a TextBox \u0647\u0627 \u0631\u0627 \u0628\u0647 \u0641\u0631\u0645 \u062f\u0648\u0645 \u0627\u0631\u0633\u0627\u0644 \u0645\u06cc\u06a9\u0646\u062f. \u062d\u0627\u0644 \u0628\u0631\u0627\u06cc \u062f\u0631\u06cc\u0627\u0641\u062a \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0627\u0631\u0633\u0627\u0644 \u0634\u062f\u0647 \u062f\u0631 \u0641\u0631\u0645 \u062f\u0648\u0645 \u0628\u0627\u06cc\u062f \u06a9\u062f \u0632\u06cc\u0631 \u0631\u0627 \u062f\u0631 \u0642\u0633\u0645\u062a page_load \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f.<\/p>\n<pre>private void Page_Load(object sender, System.EventArgs e)<\/pre>\n<pre>{<\/pre>\n<pre>this.txtBox1.Text = Request.QueryString[\"Name\"];<\/pre>\n<pre>this.txtBox2.Text = Request.QueryString[\"LastName\"];<\/pre>\n<pre>}<\/pre>\n<p dir=\"RTL\" style=\"text-align: justify;\">Request.QueryString \u00a0\u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u0627\u0632 \u06cc\u06a9\u06cc \u0627\u0632 \u0631\u0627\u0647 \u0627\u06cc \u0645\u0648\u062c\u0648\u062f \u0645\u0642\u062f\u0627\u0631 \u062f\u0647\u06cc \u0634\u062f\u0647 \u0627\u0633\u062a. \u0634\u0645\u0627 \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0631\u0648\u0634 \u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641\u06cc \u0645\u062d\u062a\u0648\u06cc\u0627\u062a Querystring \u0631\u0627 \u0628\u0627\u0632\u06cc\u0627\u0628\u06cc \u06a9\u0646\u06cc\u062f. \u0645\u062b\u0644\u0627:<\/p>\n<pre>private void Page_Load(object sender,<\/pre>\n<pre><\/pre>\n<pre>System.EventArgs e)<\/pre>\n<pre>{<\/pre>\n<pre>this.txtBox1.Text = Request.QueryString[0];<\/pre>\n<pre>this.txtBox2.Text = Request.QueryString[1];<\/pre>\n<pre>}<\/pre>\n<p dir=\"RTL\" style=\"text-align: justify;\">\u0631\u0627\u0647 \u062f\u06cc\u06af\u0631 \u0628\u0627\u0632\u06cc\u0627\u0628\u06cc \u0645\u062d\u062a\u0648\u06cc\u0627\u062a Querystring \u0628\u062f\u0648\u0646 \u0646\u0627\u0645 \u0628\u0631\u062f\u0646 \u062a\u06a9 \u062a\u06a9 \u0645\u062a\u063a\u06cc\u0631 \u0647\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062d\u0644\u0642\u0647 \u0647\u0627 \u0627\u0633\u062a\u060c \u0645\u0627\u0646\u0646\u062f:<\/p>\n<pre>foreach( string s in Request.QueryString)<\/pre>\n<pre>{<\/pre>\n<pre>Response.Write(Request.QueryString[s]);<\/pre>\n<pre>}<\/pre>\n<p dir=\"RTL\" style=\"text-align: justify;\">\u0648\u06cc\u0627<\/p>\n<pre>for (int i =0;i &lt; Request.QueryString.Count;i++)<\/pre>\n<pre>{<\/pre>\n<pre>Response.Write(Request.QueryString[i]);<\/pre>\n<pre>}<\/pre>\n<h2 dir=\"RTL\" style=\"text-align: justify;\">\u0645\u0639\u0627\u06cc\u0628 Query String<\/h2>\n<ol style=\"text-align: justify;\">\n<li dir=\"RTL\">Query String \u0647\u0627 \u0645\u062d\u062f\u0648\u062f\u06cc\u062a \u0637\u0648\u0644 \u062f\u0627\u0631\u0646\u062f\u060c \u062f\u0631 \u0635\u0648\u0631\u062a\u06cc \u06a9\u0647 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0632\u06cc\u0627\u062f\u06cc \u0631\u0627 \u0627\u0632 \u0627\u06cc\u0646 \u0637\u0631\u06cc\u0642 \u0628\u062e\u0648\u0627\u0647\u06cc\u0645 \u0627\u0631\u0633\u0627\u0644 \u06a9\u0646\u06cc\u0645 \u0628\u0627 \u0645\u0634\u06a9\u0644 \u0645\u0648\u0627\u062c\u0647 \u0645\u06cc\u0634\u0648\u06cc\u0645.<\/li>\n<li dir=\"RTL\">\u0631\u0634\u062a\u0647 \u06cc Query String \u0642\u0627\u0628\u0644 \u0645\u0634\u0627\u0647\u062f\u0647 \u062f\u0631 Address Bar \u0645\u0631\u0648\u0631\u06af\u0631 \u0647\u0627 \u0627\u0633\u062a\u060c \u0628\u0647 \u0647\u0645\u06cc\u0646 \u062f\u0644\u06cc\u0644 \u0646\u0645\u06cc\u062a\u0648\u0627\u0646 \u0627\u0632 \u0627\u0646\u062a\u0642\u0627\u0644 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0645\u0647\u0645 \u0627\u0632 \u0627\u06cc\u0646 \u0637\u0631\u06cc\u0642 \u0627\u0642\u062f\u0627\u0645 \u06a9\u0631\u062f.<\/li>\n<li dir=\"RTL\">Query String \u0646\u0645\u06cc\u062a\u0648\u0627\u0646\u062f \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631 \u0647\u0627\u06cc &amp; \u0648 \u0641\u0627\u0635\u0644\u0647 \u0631\u0627 \u0627\u0646\u062a\u0642\u0627\u0644 \u062f\u0647\u062f.<\/li>\n<\/ol>\n<p dir=\"RTL\" style=\"text-align: justify;\">\u0628\u0647 \u0637\u0648\u0631 \u0645\u062b\u0627\u0644 \u0627\u06af\u0631 \u0634\u0645\u0627 \u0627\u0632 \u06a9\u062f \u0632\u06cc\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f\u060c \u0645\u062a\u0648\u062c\u0647 \u062e\u0648\u0627\u0647\u06cc\u062f \u0634\u062f \u06a9\u0647 \u062f\u0631 \u0627\u0646\u062a\u0642\u0627\u0644 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631 \u0647\u0627\u06cc \u0641\u0627\u0635\u0644\u0647 \u0648 &amp; \u062f\u0686\u0627\u0631 \u0645\u0634\u06a9\u0644 \u0627\u0633\u062a. \u0628\u0631\u0627\u06cc \u062d\u0644 \u0627\u06cc\u0646 \u0645\u0634\u06a9\u0644 \u0628\u0627\u06cc\u062f \u062f\u0631 \u0645\u062a\u0646 \u0628\u0647 \u062c\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u00a0\u06a9\u0627\u0631\u0627\u06a9\u062a\u0631 \u0641\u0627\u0635\u0644\u0647 \u0628\u0627\u06cc\u062f \u0627\u0632 \u06f2\u06f0% \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0648 \u0628\u0647 \u062c\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 &amp; \u0628\u0627\u06cc\u062f \u0627\u0632 \u06f2\u06f6% \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f. \u0628\u0647 \u0637\u0648\u0631 \u0645\u062b\u0627\u0644 \u0634\u0645\u0627 \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f \u06a9\u062f \u0632\u06cc\u0631 \u0631\u0627 \u0628\u0647 \u062c\u0627\u06cc \u06a9\u062f \u0645\u0648\u062c\u0648\u062f \u062f\u0631 button \u062e\u0648\u062f \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f.<\/p>\n<pre>private void btnSubmit_Click(object sender, System.EventArgs e)<\/pre>\n<pre>{<\/pre>\n<pre>string p1 = this.txtName.Text.Replace(\"&amp;\",\"%26\");<\/pre>\n<pre>p1 = this.txtName.Text.Replace(\" \",\"%20\");<\/pre>\n<pre>string p2 = this.txtLastName.Text.Replace(\"&amp;\",\"%26\");<\/pre>\n<pre>p2 = this.txtName.Text.Replace(\" \",\"%20\");<\/pre>\n<pre>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"WebForm2.aspx?\" +<\/pre>\n<pre>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"Name=\" + p1 +<\/pre>\n<pre>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"&amp;LastName=\" + p2;<\/pre>\n<pre>Response.Redirect(p2);<\/pre>\n<pre>}<\/pre>\n<p dir=\"RTL\" style=\"text-align: justify;\">\u062d\u0627\u0644 \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0647 \u062f\u06cc\u06af\u0631 \u0646\u06cc\u0627\u0632\u06cc \u0628\u0647 \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646\u06cc \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631 \u0647\u0627\u06cc \u0641\u0627\u0635\u0644\u0647 \u0648 &amp; \u0628\u0627 \u06f2\u06f0% \u0648 \u06f2\u06f6% \u0646\u0628\u0627\u0634\u062f \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0645\u062a\u062f Server.UrlEncode. Server.UrlEncode \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0646\u0645\u0627\u06cc\u06cc\u062f \u062a\u0627 Query string \u0634\u0645\u0627 \u0631\u0627 encode \u06a9\u0631\u062f\u0647 \u0648 \u062f\u06cc\u06af\u0631 \u0628\u0647 \u0645\u0634\u06a9\u0644 \u0628\u0631\u062e\u0648\u0631\u062f \u0646\u06a9\u0646\u06cc\u062f.<\/p>\n<p dir=\"RTL\" style=\"text-align: justify;\">\u06a9\u062f \u0632\u06cc\u0631 \u0628\u06cc\u0627\u0646\u06af\u0631 \u0627\u06cc\u0646 \u0645\u0648\u0636\u0648\u0639 \u0627\u0633\u062a.<\/p>\n<pre>private void btnSubmit_Click(object sender, System.EventArgs e)<\/pre>\n<pre>{<\/pre>\n<pre>Response.Redirect(\"WebForm2.aspx?\" +<\/pre>\n<pre>\"Name=\" +\u00a0\u00a0 Server.UrlEncode(this.txtName.Text) +<\/pre>\n<pre>\"&amp;LastName=\" + Server.UrlEncode(this.txtLastName.Text));<\/pre>\n<pre>}<\/pre>\n<p dir=\"RTL\" style=\"text-align: justify;\">\t\t\t\t\t\t\t<h3 style=\"margin-bottom:20px;display:block;width:100%;margin-top:10px\">\u0633\u0648\u0627\u0644\u0627\u062a \u0645\u062a\u062f\u0627\u0648\u0644 <\/h3>\r\n\t\t\t\t\t\t<style>\r\n\t\t\t\t<style>\r\n#wpsm_accordion_33235 .wpsm_panel-heading{\r\n\tpadding:0px !important;\r\n}\r\n#wpsm_accordion_33235 .wpsm_panel-title {\r\n\tmargin:0px !important; \r\n\ttext-transform:none !important;\r\n\tline-height: 1 !important;\r\n}\r\n#wpsm_accordion_33235 .wpsm_panel-title a{\r\n\ttext-decoration:none;\r\n\toverflow:hidden;\r\n\tdisplay:block;\r\n\tpadding:0px;\r\n\tfont-size: 16px !important;\r\n\tfont-family: 0 !important;\r\n\tcolor:#444752 !important;\r\n\tborder-bottom:0px !important;\r\n}\r\n\r\n#wpsm_accordion_33235 .wpsm_panel-title a:focus {\r\noutline: 0px !important;\r\n}\r\n\r\n#wpsm_accordion_33235 .wpsm_panel-title a:hover, #wpsm_accordion_33235 .wpsm_panel-title a:focus {\r\n\tcolor:#444752 !important;\r\n}\r\n#wpsm_accordion_33235 .acc-a{\r\n\tcolor: #444752 !important;\r\n\tbackground-color:#e8e8e8 !important;\r\n\tborder-color: #ddd;\r\n}\r\n#wpsm_accordion_33235 .wpsm_panel-default > .wpsm_panel-heading{\r\n\tcolor: #444752 !important;\r\n\tbackground-color: #e8e8e8 !important;\r\n\tborder-color: #e8e8e8 !important;\r\n\tborder-top-left-radius: 0px;\r\n\tborder-top-right-radius: 0px;\r\n}\r\n#wpsm_accordion_33235 .wpsm_panel-default {\r\n\t\tborder:1px solid transparent !important;\r\n\t}\r\n#wpsm_accordion_33235 {\r\n\tmargin-bottom: 20px;\r\n\toverflow: hidden;\r\n\tfloat: none;\r\n\twidth: 100%;\r\n\tdisplay: block;\r\n}\r\n#wpsm_accordion_33235 .ac_title_class{\r\n\tdisplay: block;\r\n\tpadding-top: 12px;\r\n\tpadding-bottom: 12px;\r\n\tpadding-left: 15px;\r\n\tpadding-right: 15px;\r\n}\r\n#wpsm_accordion_33235  .wpsm_panel {\r\n\toverflow:hidden;\r\n\t-webkit-box-shadow: 0 0px 0px rgba(0, 0, 0, .05);\r\n\tbox-shadow: 0 0px 0px rgba(0, 0, 0, .05);\r\n\t\tborder-radius: 4px;\r\n\t}\r\n#wpsm_accordion_33235  .wpsm_panel + .wpsm_panel {\r\n\t\tmargin-top: 5px;\r\n\t}\r\n#wpsm_accordion_33235  .wpsm_panel-body{\r\n\tbackground-color:#ffffff !important;\r\n\tcolor:#444752 !important;\r\n\tborder-top-color: #e8e8e8 !important;\r\n\tfont-size:14px !important;\r\n\tfont-family: 0 !important;\r\n\toverflow: hidden;\r\n\t\tborder: 2px solid #e8e8e8 !important;\r\n\t}\r\n\r\n#wpsm_accordion_33235 .ac_open_cl_icon{\r\n\tbackground-color:#e8e8e8 !important;\r\n\tcolor: #444752 !important;\r\n\tfloat:right !important;\r\n\tpadding-top: 12px !important;\r\n\tpadding-bottom: 12px !important;\r\n\tline-height: 1.0 !important;\r\n\tpadding-left: 15px !important;\r\n\tpadding-right: 15px !important;\r\n\tdisplay: inline-block !important;\r\n}\r\n\r\n\t\t\t\r\n\t\t\t<\/style>\t\r\n\t\t\t<\/style>\r\n\t\t\t<div class=\"wpsm_panel-group\" id=\"wpsm_accordion_33235\" >\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t<!-- Inner panel Start -->\r\n\t\t\t\t\t<div class=\"wpsm_panel wpsm_panel-default\">\r\n\t\t\t\t\t\t<div class=\"wpsm_panel-heading\" role=\"tab\" >\r\n\t\t\t\t\t\t  <h4 class=\"wpsm_panel-title\">\r\n\t\t\t\t\t\t\t<a  class=\"\"  data-toggle=\"collapse\" data-parent=\"#wpsm_accordion_33235 \" href=\"javascript:void(0)\" data-target=\"#ac_33235_collapse1\" onclick=\"do_resize()\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"ac_open_cl_icon fa fa-minus\"><\/span>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t\t\t<span class=\"ac_title_class\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"margin-right:6px;\" class=\"fa fa-angle-left\"><\/span>\r\n\t\t\t\t\t\t\t\t\tquery string \u0686\u06cc\u0633\u062a\u061f\t\t\t\t\t\t\t\t<\/span>\r\n\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t  <\/h4>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<div id=\"ac_33235_collapse1\" class=\"wpsm_panel-collapse collapse in\"  >\r\n\t\t\t\t\t\t  <div class=\"wpsm_panel-body\">\r\n\t\t\t\t\t\t\t\u0631\u0648\u0634\u0647\u0627\u06cc \u0627\u0646\u062a\u0642\u0627\u0644 \u0645\u062a\u063a\u06cc\u0631\u0647\u0627 \u0648 \u062f\u0627\u062f\u0647 \u0627\u0632 \u06cc\u06a9 \u0635\u0641\u062d\u0647 \u0628\u0647 \u0635\u0641\u062d\u0647 \u062f\u06cc\u06af\u0631 QueryString\u00a0\u0645\u06cc \u06af\u0648\u06cc\u0646\u062f \u0639\u0645\u0648\u0645\u0627 \u062f\u0631 \u0635\u0641\u062d\u0627\u062a \u0648\u0628 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0627\u0646\u062a\u0642\u0627\u0644 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0627\u0632 \u06cc\u06a9 \u0635\u0641\u062d\u0647 \u0628\u0647 \u0635\u0641\u062d\u0647 \u06cc \u062f\u06cc\u06af\u0631 \u0627\u0633\u062a. \u0628\u0647 \u0637\u0648\u0631 \u0645\u062b\u0627\u0644 \u0634\u0645\u0627 \u062f\u0631 \u0635\u0641\u062d\u0647 \u0627\u0648\u0644 \u0627\u0637\u0644\u0627\u0639\u0627\u062a\u06cc \u0645\u0627\u0646\u0646\u062f \u0646\u0627\u0645 \u0648 \u0646\u0627\u0645 \u062e\u0627\u0646\u0648\u0627\u062f\u06af\u06cc \u0631\u0627 \u0627\u0632 \u0628\u06cc\u0646\u0646\u062f\u06af\u0627\u0646 \u0648\u0628 \u0633\u0627\u06cc\u062a \u062e\u0648\u062f \u062f\u0631\u06cc\u0627\u0641\u062a \u0645\u06cc \u06a9\u0646\u06cc\u062f \u0648 \u062f\u0631 \u0635\u0641\u062d\u0647 \u06cc \u0628\u0639\u062f\u00a0\u0645\u0634\u062a\u0631\u06cc \u0631\u0627 \u0628\u0627 \u0646\u0627\u0645 \u062e\u0648\u062f\u0634 \u0645\u0648\u0631\u062f \u062e\u0637\u0627\u0628 \u0642\u0631\u0627\u0631 \u0645\u06cc \u062f\u0647\u06cc\u062f.\t\t\t\t\t\t  <\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<!-- Inner panel End -->\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t<!-- Inner panel Start -->\r\n\t\t\t\t\t<div class=\"wpsm_panel wpsm_panel-default\">\r\n\t\t\t\t\t\t<div class=\"wpsm_panel-heading\" role=\"tab\" >\r\n\t\t\t\t\t\t  <h4 class=\"wpsm_panel-title\">\r\n\t\t\t\t\t\t\t<a  class=\"collapsed\"  data-toggle=\"collapse\" data-parent=\"#wpsm_accordion_33235 \" href=\"javascript:void(0)\" data-target=\"#ac_33235_collapse2\" onclick=\"do_resize()\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"ac_open_cl_icon fa fa-plus\"><\/span>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t\t\t<span class=\"ac_title_class\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span style=\"margin-right:6px;\" class=\"fa fa-angle-left\"><\/span>\r\n\t\t\t\t\t\t\t\t\t\u0645\u0639\u0627\u06cc\u0628 QueryString \u0686\u06cc\u0633\u062a\u061f\t\t\t\t\t\t\t\t<\/span>\r\n\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t  <\/h4>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<div id=\"ac_33235_collapse2\" class=\"wpsm_panel-collapse collapse \"  >\r\n\t\t\t\t\t\t  <div class=\"wpsm_panel-body\">\r\n\t\t\t\t\t\t\tQueryString \u0647\u0627 \u0645\u062d\u062f\u0648\u062f\u06cc\u062a \u0637\u0648\u0644 \u062f\u0627\u0631\u0646\u062f\u060c \u062f\u0631 \u0635\u0648\u0631\u062a\u06cc \u06a9\u0647 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0632\u06cc\u0627\u062f\u06cc \u0631\u0627 \u0627\u0632 \u0627\u06cc\u0646 \u0637\u0631\u06cc\u0642 \u0628\u062e\u0648\u0627\u0647\u06cc\u0645 \u0627\u0631\u0633\u0627\u0644 \u06a9\u0646\u06cc\u0645 \u0628\u0627 \u0645\u0634\u06a9\u0644 \u0645\u0648\u0627\u062c\u0647 \u0645\u06cc\u0634\u0648\u06cc\u0645.\r\n\u0631\u0634\u062a\u0647 \u06cc QueryString \u0642\u0627\u0628\u0644 \u0645\u0634\u0627\u0647\u062f\u0647 \u062f\u0631 AddressBar \u0645\u0631\u0648\u0631\u06af\u0631 \u0647\u0627 \u0627\u0633\u062a\u060c \u0628\u0647 \u0647\u0645\u06cc\u0646 \u062f\u0644\u06cc\u0644 \u0646\u0645\u06cc\u062a\u0648\u0627\u0646 \u0627\u0632 \u0627\u0646\u062a\u0642\u0627\u0644 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0645\u0647\u0645 \u0627\u0632 \u0627\u06cc\u0646 \u0637\u0631\u06cc\u0642 \u0627\u0642\u062f\u0627\u0645 \u06a9\u0631\u062f.\r\nQueryString \u0646\u0645\u06cc\u062a\u0648\u0627\u0646\u062f \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631 \u0647\u0627\u06cc & \u0648 \u0641\u0627\u0635\u0644\u0647 \u0631\u0627 \u0627\u0646\u062a\u0642\u0627\u0644 \u062f\u0647\u062f.\t\t\t\t\t\t  <\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<!-- Inner panel End -->\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\r\n<script type=\"text\/javascript\">\r\n\t\r\n\t\tfunction do_resize(){\r\n\r\n\t\t\tvar width=jQuery( '.wpsm_panel .wpsm_panel-body iframe' ).width();\r\n\t\t\tvar height=jQuery( '.wpsm_panel .wpsm_panel-body iframe' ).height();\r\n\r\n\t\t\tvar toggleSize = true;\r\n\t\t\tjQuery('iframe').animate({\r\n\t\t\t    width: toggleSize ? width : 640,\r\n\t\t\t    height: toggleSize ? height : 360\r\n\t\t\t  }, \u06f2\u06f5\u06f0);\r\n\r\n\t\t\t  toggleSize = !toggleSize;\r\n\t\t}\r\n\t\t\r\n<\/script>\t\n<p><script type=\"application\/ld+json\">\n    {\n    \"@context\": \"http:\/\/schema.org\/\",\n    \"@type\": \"CreativeWorkSeason\",\n    \"name\": \"query string \u0686\u06cc\u0633\u062a\",\n    \"aggregateRating\": {\n    \"@type\": \"AggregateRating\",\n    \"ratingValue\": \"5\",\n    \"reviewCount\": \"785\"\n    }\n}\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u062d\u062a\u0645\u0627 \u0634\u0645\u0627 \u0647\u0645 \u062f\u0631 \u0628\u062e\u06cc \u0627\u0632 url \u0647\u0627 \u0639\u0644\u0627\u0645\u062a \u0633\u0648\u0627\u0644 (\u061f) \u0631\u0627 \u062f\u06cc\u062f\u0647 \u0627\u06cc\u062f \u06a9\u0647 \u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u0622\u0646 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631\u0647\u0627\u06cc\u06cc \u0642\u0631\u0627\u0631 \u06af\u0631\u0641\u062a\u0647 \u0627\u0646\u062f. \u0628\u0647 \u0627\u06cc\u0646 \u0631\u0634\u062a\u0647 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631 \u06a9\u0648\u0626\u0631\u06cc \u0627\u0633\u062a\u0631\u06cc\u0646\u06af \u06af\u0641\u062a\u0647 \u0645\u06cc \u0634\u0648\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0645\u06cc \u062e\u0648\u0627\u0646\u06cc\u062f \u06a9\u0647 query string \u0686\u06cc\u0633\u062a \u0648 \u0686\u0647 \u0645\u0639\u0627\u06cc\u0628\u06cc \u062f\u0627\u0631\u062f. query string \u0686\u06cc\u0633\u062a\u061f \u0628\u0631\u0627\u06cc \u0627\u0646\u062a\u0642\u0627\u0644 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0628\u06cc\u0646 \u0635\u0641\u062d\u0627\u062a asp.net \u0686\u0646\u062f\u06cc\u0646 \u0627\u0646\u062a\u062e\u0627\u0628 &hellip;<\/p>\n","protected":false},"author":64,"featured_media":12808,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[99,78],"tags":[],"class_list":["post-9676","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-website-design","category-78"],"_links":{"self":[{"href":"https:\/\/iranhost.com\/blog\/wp-json\/wp\/v2\/posts\/9676","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iranhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/iranhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/iranhost.com\/blog\/wp-json\/wp\/v2\/users\/64"}],"replies":[{"embeddable":true,"href":"https:\/\/iranhost.com\/blog\/wp-json\/wp\/v2\/comments?post=9676"}],"version-history":[{"count":0,"href":"https:\/\/iranhost.com\/blog\/wp-json\/wp\/v2\/posts\/9676\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/iranhost.com\/blog\/wp-json\/wp\/v2\/media\/12808"}],"wp:attachment":[{"href":"https:\/\/iranhost.com\/blog\/wp-json\/wp\/v2\/media?parent=9676"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iranhost.com\/blog\/wp-json\/wp\/v2\/categories?post=9676"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iranhost.com\/blog\/wp-json\/wp\/v2\/tags?post=9676"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}