{"id":659,"date":"2019-04-06T22:57:24","date_gmt":"2019-04-06T19:57:24","guid":{"rendered":"http:\/\/www.aydiner.gen.tr\/?p=659"},"modified":"2023-04-26T12:04:59","modified_gmt":"2023-04-26T09:04:59","slug":"asp-net-search-paneli","status":"publish","type":"post","link":"https:\/\/www.aydiner.gen.tr\/index.php\/2019\/04\/06\/asp-net-search-paneli\/","title":{"rendered":"Asp.net search paneli"},"content":{"rendered":"<p>AramaSonuc.aspx sayfas\u0131na  GridView1 eklenir.<br \/>\nAramaSonuc.aspx Page Load k\u0131sm\u0131na<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n\r\n            SqlConnection baglanti = new SqlConnection();\r\n\r\n            baglanti.ConnectionString = ConfigurationManager.ConnectionStrings&#x5B;&quot;marketConnectionString&quot;].ConnectionString;\r\n\r\n            string selectsorgusu = string.Format(&quot;select * from urunler where UrunAdi like '%{0}%'&quot;, Session&#x5B;&quot;Arama&quot;].ToString());\r\n\r\n            SqlDataAdapter sorgu = new SqlDataAdapter(selectsorgusu, baglanti);\r\n\r\n            DataTable tablo = new DataTable();\r\n            sorgu.Fill(tablo);\r\n            GridView1.DataSource = tablo;\r\n            GridView1.DataBind();\r\n\r\n\r\n<\/pre>\n<p>master sayfas\u0131 ARA Butonu click olay\u0131na ise<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n\r\n     Session&#x5B;&quot;Arama&quot;] = TxtAra.Text;\r\n     Response.Redirect(&quot;AramaSonuc.aspx&quot;);\r\n\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>AramaSonuc.aspx sayfas\u0131na GridView1 eklenir. AramaSonuc.aspx Page Load k\u0131sm\u0131na SqlConnection baglanti = new SqlConnection(); baglanti.ConnectionString = ConfigurationManager.ConnectionStrings&#x5B;&quot;marketConnectionString&quot;].ConnectionString; string selectsorgusu = string.Format(&quot;select [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":547,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-659","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web"],"_links":{"self":[{"href":"https:\/\/www.aydiner.gen.tr\/index.php\/wp-json\/wp\/v2\/posts\/659","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.aydiner.gen.tr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aydiner.gen.tr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aydiner.gen.tr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aydiner.gen.tr\/index.php\/wp-json\/wp\/v2\/comments?post=659"}],"version-history":[{"count":2,"href":"https:\/\/www.aydiner.gen.tr\/index.php\/wp-json\/wp\/v2\/posts\/659\/revisions"}],"predecessor-version":[{"id":2151,"href":"https:\/\/www.aydiner.gen.tr\/index.php\/wp-json\/wp\/v2\/posts\/659\/revisions\/2151"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.aydiner.gen.tr\/index.php\/wp-json\/wp\/v2\/media\/547"}],"wp:attachment":[{"href":"https:\/\/www.aydiner.gen.tr\/index.php\/wp-json\/wp\/v2\/media?parent=659"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aydiner.gen.tr\/index.php\/wp-json\/wp\/v2\/categories?post=659"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aydiner.gen.tr\/index.php\/wp-json\/wp\/v2\/tags?post=659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}