<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5583557331987860052</id><updated>2012-02-11T19:28:35.789+02:00</updated><category term='and user controls.'/><category term='Thread was being aborted error message when I use Response.Redirect in ASP.net'/><category term='Asp.Net Yeni pencere açma'/><category term='including finding controls in DataGrid rows'/><category term='Repeaters'/><category term='Asp.Net Encryption/Decryption Query String with DES  Base64 encoded.'/><category term='The report server cannot open a connection to the report server database. A connection to the database is required for all requests and processing.'/><category term='ASP Net Error: Response is not available in this context'/><category term='Redirect URI cannot contain newline characters'/><category term='Tips for locating controls with the FindControl method'/><category term='DataGrid headers'/><title type='text'>Ismail Tutumluer-Ölümüne Kankayız</title><subtitle type='html'>C#,Asp.Net,Error,Sql Server 2005,Reporting Service 2005,
Coding is my life,</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ismailtutumluer.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://ismailtutumluer.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>ismail tutumluer</name><uri>http://www.blogger.com/profile/13880939201119695372</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-r91ZIIvxUmo/TusWe8UBiLI/AAAAAAAAAjw/H-UjRuwvh_U/s1600/ismail-tutumluer.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>18</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5583557331987860052.post-577879599305825649</id><published>2008-05-10T11:56:00.003+03:00</published><updated>2008-11-13T17:53:40.231+02:00</updated><title type='text'>Facebook'da Kim Bakmış YALANI</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_26gcgxD5Gbs/SCVkzMYL3sI/AAAAAAAAAX4/E6i_F8ILIQU/s1600-h/logo_facebook-rgb-7inch.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_26gcgxD5Gbs/SCVkzMYL3sI/AAAAAAAAAX4/E6i_F8ILIQU/s320/logo_facebook-rgb-7inch.jpg" alt="" id="BLOGGER_PHOTO_ID_5198672175527878338" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Kısaca FaceBook'tan yağaılan araştırmaya göre böyle birşeye izin yok.Böyle uygulamalar kesinlik le yalandır amaçı sadece sizin özel bilgilerinize ulaşabilmektir.Siz siz olun sakın bu yalanlara gelmeyin....&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Facebook currently does not provide an application that allows users to track profile views or statistics on the views of any specific user content. third party developers, however, may offer applications that provide some of this functionality. please keep a few things in mind for these applications:&lt;br /&gt;&lt;br /&gt;* Applications cannot track profile visits for users who simply go to another person's profile; facebook has made this technically impossible.&lt;br /&gt;* In order to be tracked by an application, you will need to specifically agree to allow the application to track your actions.&lt;br /&gt;* Adding an application that provides this functionality is purely optional. if you do not want to participate, please do not add the application to your account.&lt;div class="blogger-post-footer"&gt;ismail tutumluer&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5583557331987860052-577879599305825649?l=ismailtutumluer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ismailtutumluer.blogspot.com/feeds/577879599305825649/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5583557331987860052&amp;postID=577879599305825649&amp;isPopup=true' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/577879599305825649'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/577879599305825649'/><link rel='alternate' type='text/html' href='http://ismailtutumluer.blogspot.com/2008/05/facebookda-kim-bakm-yalani.html' title='Facebook&apos;da Kim Bakmış YALANI'/><author><name>ismail tutumluer</name><uri>http://www.blogger.com/profile/13880939201119695372</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-r91ZIIvxUmo/TusWe8UBiLI/AAAAAAAAAjw/H-UjRuwvh_U/s1600/ismail-tutumluer.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_26gcgxD5Gbs/SCVkzMYL3sI/AAAAAAAAAX4/E6i_F8ILIQU/s72-c/logo_facebook-rgb-7inch.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5583557331987860052.post-8249365807115931606</id><published>2007-05-22T16:49:00.000+03:00</published><updated>2007-05-22T16:50:31.185+03:00</updated><title type='text'>The database could not be exclusively locked to perform the operation.</title><content type='html'>&lt;span name="intelliTxt" id="intelliTxt"&gt;&lt;br /&gt;The &lt;a itxtdid="3944651" target="_blank" href="http://www.tek-tips.com/viewthread.cfm?qid=1206312&amp;page=8#" style="border-bottom: 0.075em solid darkgreen; font-weight: normal; font-size: 100%; text-decoration: underline; color: darkgreen; background-color: transparent; padding-bottom: 1px;" classname="iAs" class="iAs"&gt;database&lt;/a&gt; could not be exclusively locked to perform the operation.&lt;br /&gt;&lt;br /&gt;ALTER DATABASE bsy SET SINGLE_USER WITH ROLLBACK IMMEDIATE&lt;br /&gt;alter database bsy collate SQL_Latin1_General_CP1_CI_AS&lt;br /&gt;ALTER DATABASE bsy SET MULTI_USER&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;ismail tutumluer&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5583557331987860052-8249365807115931606?l=ismailtutumluer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ismailtutumluer.blogspot.com/feeds/8249365807115931606/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5583557331987860052&amp;postID=8249365807115931606&amp;isPopup=true' title='5 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/8249365807115931606'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/8249365807115931606'/><link rel='alternate' type='text/html' href='http://ismailtutumluer.blogspot.com/2007/05/database-could-not-be-exclusively.html' title='The database could not be exclusively locked to perform the operation.'/><author><name>ismail tutumluer</name><uri>http://www.blogger.com/profile/13880939201119695372</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-r91ZIIvxUmo/TusWe8UBiLI/AAAAAAAAAjw/H-UjRuwvh_U/s1600/ismail-tutumluer.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5583557331987860052.post-447663242085296519</id><published>2007-01-30T18:20:00.000+02:00</published><updated>2007-01-30T18:24:23.310+02:00</updated><title type='text'>ASP.Net yeni POP-UP pencere açma c#</title><content type='html'>public void PencereAc(Page p_sayfa,string p_text)&lt;br /&gt;        {&lt;br /&gt;            string _value="&lt;"+"script language='javascript'"+"&gt;window.open('"+ p_text +"', 'newwindow','width=500, height=400,left=300,top=300,toolbar=no, menubar=no, scrollbars=no, resizable=no');&lt;"+"/script"+"&gt;";&lt;br /&gt;            p_sayfa.RegisterStartupScript("BenimKey", _value);&lt;div class="blogger-post-footer"&gt;ismail tutumluer&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5583557331987860052-447663242085296519?l=ismailtutumluer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ismailtutumluer.blogspot.com/feeds/447663242085296519/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5583557331987860052&amp;postID=447663242085296519&amp;isPopup=true' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/447663242085296519'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/447663242085296519'/><link rel='alternate' type='text/html' href='http://ismailtutumluer.blogspot.com/2007/01/aspnet-yeni-pop-up-pencere-ama-c.html' title='ASP.Net yeni POP-UP pencere açma c#'/><author><name>ismail tutumluer</name><uri>http://www.blogger.com/profile/13880939201119695372</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-r91ZIIvxUmo/TusWe8UBiLI/AAAAAAAAAjw/H-UjRuwvh_U/s1600/ismail-tutumluer.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5583557331987860052.post-176379601756496758</id><published>2007-01-29T10:03:00.000+02:00</published><updated>2007-01-30T10:15:44.889+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.Net Yeni pencere açma'/><title type='text'>Asp.Net Yeni pencere açma(open new window)</title><content type='html'>window.open(&lt;i&gt;URL,name,specs,replace&lt;/i&gt;)&lt;br /&gt;&lt;table class="ex" id="table2" border="1" cellpadding="3" cellspacing="0" width="100%"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr&gt;&lt;br /&gt;&lt;th align="left" valign="top" width="20%"&gt;Parameter&lt;/th&gt;&lt;br /&gt;&lt;th align="left" valign="top" width="80%"&gt;Description&lt;/th&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top"&gt;URL&lt;/td&gt;&lt;br /&gt;&lt;td valign="top"&gt;Optional. Specifies the URL of the page to open. If no URL is specified, a new window with about:blank&lt;br /&gt;is opened&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top"&gt;name&lt;/td&gt;&lt;br /&gt;&lt;td valign="top"&gt;&lt;br /&gt;&lt;p&gt;Optional. Specifies the target attribute or the name of the window. The following values are supported:&lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;_blank - URL is loaded into a new window. This is default&lt;/li&gt;&lt;br /&gt;&lt;li&gt;_parent - URL is loaded into the parent frame&lt;/li&gt;&lt;br /&gt;&lt;li&gt;_self - URL replaces the current page&lt;/li&gt;&lt;br /&gt;&lt;li&gt;_top - URL replaces any framesets that may be loaded&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;i&gt;name&lt;/i&gt; - The name of the window&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top"&gt;specs&lt;/td&gt;&lt;br /&gt;&lt;td valign="top"&gt;&lt;br /&gt;&lt;p&gt;Optional. A comma-separated list of items. The following&lt;br /&gt;values are supported:&lt;/p&gt;&lt;br /&gt;&lt;table class="ex" id="table4" border="1" cellspacing="0" width="100%"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top"&gt;channelmode=yes|no|1|0&lt;/td&gt;&lt;br /&gt;&lt;td valign="top"&gt;Whether or not to display the window in theater mode. Default is no&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top"&gt;directories=yes|no|1|0&lt;/td&gt;&lt;br /&gt;&lt;td valign="top"&gt;Whether or not to add directory buttons. Default is yes&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top"&gt;fullscreen=yes|no|1|0&lt;/td&gt;&lt;br /&gt;&lt;td valign="top"&gt;Whether or not to display the browser in full-screen mode. Default is no. A window in full-screen mode must also be in theater mode&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top"&gt;height=pixels&lt;/td&gt;&lt;br /&gt;&lt;td valign="top"&gt;The height of the window. Min. value is 100&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top"&gt;left=pixels&lt;/td&gt;&lt;br /&gt;&lt;td valign="top"&gt;The left position of the window&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top"&gt;location=yes|no|1|0&lt;/td&gt;&lt;br /&gt;&lt;td valign="top"&gt;Whether or not to display the address field. Default is yes&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top"&gt;menubar=yes|no|1|0&lt;/td&gt;&lt;br /&gt;&lt;td valign="top"&gt;Whether or not to display the menu bar. Default is yes&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top"&gt;resizable=yes|no|1|0&lt;/td&gt;&lt;br /&gt;&lt;td valign="top"&gt;Whether or not the window is resizable. Default is yes&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top"&gt;scrollbars=yes|no|1|0&lt;/td&gt;&lt;br /&gt;&lt;td valign="top"&gt;Whether or not to display scroll bars. Default is yes&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top"&gt;status=yes|no|1|0&lt;/td&gt;&lt;br /&gt;&lt;td valign="top"&gt;Whether or not to add a status bar. Default is yes&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top"&gt;titlebar=yes|no|1|0&lt;/td&gt;&lt;br /&gt;&lt;td valign="top"&gt;Whether or not to display the title bar. Ignored unless the calling application is an HTML Application or a trusted dialog box. Default is yes&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top"&gt;toolbar=yes|no|1|0&lt;/td&gt;&lt;br /&gt;&lt;td valign="top"&gt;Whether or not to display the browser toolbar. Default is yes&lt;/td&gt;&lt;br /&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top"&gt;top=pixels&lt;/td&gt;&lt;br /&gt;&lt;td valign="top"&gt;The top position of the window&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top"&gt;width=pixels&lt;/td&gt;&lt;br /&gt;&lt;br /&gt;&lt;td valign="top"&gt;The width of the window. Min. value is 100&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top"&gt;replace&lt;p&gt; &lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;br /&gt;&lt;td valign="top"&gt;&lt;br /&gt;&lt;p&gt;Optional.Specifies whether the URL creates a new entry or replaces the current entry in the history list.&lt;br /&gt;The following values are supported:&lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;true - URL replaces the current document in the history list&lt;/li&gt;&lt;br /&gt;&lt;li&gt;false - URL creates a new entry in the history list&lt;/li&gt;&lt;/ul&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span nd="5" name="intelliTxt" id="intelliTxt"&gt;&lt;b&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Örnek:&lt;br /&gt;&lt;br /&gt;window.open ('titlepage.html', 'newwindow', config='height=100,&lt;br /&gt;width=400, toolbar=no, menubar=no, scrollbars=no, resizable=no,&lt;br /&gt;location=no, directories=no, status=no')&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;ismail tutumluer&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5583557331987860052-176379601756496758?l=ismailtutumluer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ismailtutumluer.blogspot.com/feeds/176379601756496758/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5583557331987860052&amp;postID=176379601756496758&amp;isPopup=true' title='4 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/176379601756496758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/176379601756496758'/><link rel='alternate' type='text/html' href='http://ismailtutumluer.blogspot.com/2007/01/aspnet-yeni-pencere-amaopen-new-window.html' title='Asp.Net Yeni pencere açma(open new window)'/><author><name>ismail tutumluer</name><uri>http://www.blogger.com/profile/13880939201119695372</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-r91ZIIvxUmo/TusWe8UBiLI/AAAAAAAAAjw/H-UjRuwvh_U/s1600/ismail-tutumluer.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5583557331987860052.post-4150376282248794109</id><published>2007-01-25T14:46:00.000+02:00</published><updated>2007-01-25T14:47:00.165+02:00</updated><title type='text'>Asp.net Refresh Sorunu</title><content type='html'>&lt;p class="CodeListing"&gt;&lt;span lang="EN-US"&gt;&lt;pre&gt;&lt;span style="color: Black; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;&lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;Sub&lt;/span&gt; Page_Load (sender &lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;As&lt;/span&gt; &lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;Object&lt;/span&gt;, e &lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;As&lt;/span&gt; EventArgs)&lt;br /&gt;    &lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;If&lt;/span&gt; &lt;span style="color: Red; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;Not&lt;/span&gt; Page.IsPostBack&lt;br /&gt;        Session(&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;"update"&lt;/span&gt;) &lt;span style="color: Red; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;=&lt;/span&gt; Server.URLEncode(System.DateTime.&lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;Now&lt;/span&gt;.ToString())&lt;br /&gt;    &lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;End&lt;/span&gt; &lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;If&lt;/span&gt;&lt;br /&gt;&lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;End&lt;/span&gt; &lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;Sub&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;Sub&lt;/span&gt; Page_PreRender (sender &lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;As&lt;/span&gt; &lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;Object&lt;/span&gt;, e &lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;As&lt;/span&gt; EventArgs)&lt;br /&gt;    ViewState(&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;"update"&lt;/span&gt;) &lt;span style="color: Red; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;=&lt;/span&gt; Session(&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;"update"&lt;/span&gt;)&lt;br /&gt;&lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;End&lt;/span&gt; &lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;Sub&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;Sub&lt;/span&gt; Button1_Click(sender &lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;As&lt;/span&gt; &lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;Object&lt;/span&gt;, e &lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;As&lt;/span&gt; EventArgs)&lt;br /&gt;    &lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;If&lt;/span&gt; Session(&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;"update"&lt;/span&gt;).ToString() &lt;span style="color: Red; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;=&lt;/span&gt; ViewState(&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;"update"&lt;/span&gt;).ToString() &lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;Then&lt;/span&gt;&lt;br /&gt;        &lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;If&lt;/span&gt; AddEmployee(firstName.Text, lastName.Text) &lt;span style="color: Red; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;=&lt;/span&gt; 0&lt;br /&gt;            Message.Text &lt;span style="color: Red; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;=&lt;/span&gt; &lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;"Success"&lt;/span&gt;&lt;br /&gt;            Session(&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;"update"&lt;/span&gt;) &lt;span style="color: Red; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;=&lt;/span&gt; Server.URLEncode(System.DateTime.&lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;Now&lt;/span&gt;.ToString())&lt;br /&gt;        &lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;Else&lt;/span&gt;&lt;br /&gt;            Message.Text &lt;span style="color: Red; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;=&lt;/span&gt; &lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;"Failure"&lt;/span&gt;&lt;br /&gt;        &lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;End&lt;/span&gt; &lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;If&lt;/span&gt;&lt;br /&gt;    &lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;Else&lt;/span&gt;&lt;br /&gt;        Message.Text &lt;span style="color: Red; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;=&lt;/span&gt; &lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;"Failure - Session"&lt;/span&gt;&lt;br /&gt;    &lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;End&lt;/span&gt; &lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;If&lt;/span&gt;&lt;br /&gt;    firstName.Text &lt;span style="color: Red; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;=&lt;/span&gt; &lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;""&lt;/span&gt;&lt;br /&gt;    lastName.Text &lt;span style="color: Red; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;=&lt;/span&gt; &lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;""&lt;/span&gt;&lt;br /&gt;&lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;End&lt;/span&gt; &lt;span style="color: Blue; background-color: transparent; font-family: Courier New; font-size: 11px; font-weight: normal;"&gt;Sub&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;ismail tutumluer&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5583557331987860052-4150376282248794109?l=ismailtutumluer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ismailtutumluer.blogspot.com/feeds/4150376282248794109/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5583557331987860052&amp;postID=4150376282248794109&amp;isPopup=true' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/4150376282248794109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/4150376282248794109'/><link rel='alternate' type='text/html' href='http://ismailtutumluer.blogspot.com/2007/01/aspnet-refresh-sorunu.html' title='Asp.net Refresh Sorunu'/><author><name>ismail tutumluer</name><uri>http://www.blogger.com/profile/13880939201119695372</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-r91ZIIvxUmo/TusWe8UBiLI/AAAAAAAAAjw/H-UjRuwvh_U/s1600/ismail-tutumluer.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5583557331987860052.post-9105776019448663179</id><published>2007-01-24T10:47:00.000+02:00</published><updated>2007-01-24T10:51:13.740+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='and user controls.'/><category scheme='http://www.blogger.com/atom/ns#' term='DataGrid headers'/><category scheme='http://www.blogger.com/atom/ns#' term='including finding controls in DataGrid rows'/><category scheme='http://www.blogger.com/atom/ns#' term='Repeaters'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips for locating controls with the FindControl method'/><title type='text'>In Search Of ASP.Net Controls(Posted by K. Scott Allen)</title><content type='html'>&lt;span class="Article_FullDescription"&gt;&lt;p&gt;The FindControl method of the System.Web.UI.Control class appears simple enough to use. In fact, the MSDN description of the method is one simple sentence: &lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;i&gt;Searches the current naming container for the specified server control.&lt;/i&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;The key to using FindControl is to invoke the method on the correct container. As a warm up, let’s say we have the following form inside of an aspx page.&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;&amp;lt;form id="Form1" method="post" runat="server"&amp;gt;&lt;br /&gt; &amp;lt;asp:TextBox id="TextBox1" runat="server"&amp;gt;&amp;lt;/asp:TextBox&amp;gt;&lt;br /&gt; &amp;lt;asp:Button id="Button1" runat="server" Text="Button"&amp;gt;&amp;lt;/asp:Button&amp;gt;&lt;br /&gt;&amp;lt;/form&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Although we can declare a member variable in our code behind class to reference TextBox1, let’s use the FindControl method in an event handler.&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;private void Button1_Click(object sender, System.EventArgs e)&lt;br /&gt;{&lt;br /&gt;  TextBox b = Page.FindControl("TextBox1") as TextBox;&lt;br /&gt;  if(b != null)&lt;br /&gt;  {&lt;br /&gt;     Response.Write("Found TextBox1 on Button1_Click&amp;lt;br&amp;gt;");&lt;br /&gt;  }        &lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;The above code will find TextBox1 and write a message into the response stream. But what happens when the TextBox is not a child of the control we query with FindControl? Consider the following form. &lt;/p&gt;&lt;br /&gt;&lt;pre&gt;&amp;lt;form id="Form1" method="post" runat="server"&amp;gt;&lt;br /&gt; &amp;lt;asp:Panel id="Panel1" runat="server" Height="152px"&amp;gt;&lt;br /&gt;   Panel&lt;br /&gt;   &amp;lt;asp:TextBox id="TextBox1" runat="server"&amp;gt;&amp;lt;/asp:TextBox&amp;gt;&lt;br /&gt;&lt;br /&gt;   &amp;lt;asp:Button id="Button1" runat="server" Text="Button"&amp;gt;&amp;lt;/asp:Button&amp;gt;&lt;br /&gt; &amp;lt;/asp:Panel&amp;gt;&lt;br /&gt;&amp;lt;/form&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;In the above form, the parent of TextBox1 is the Panel control Panel1. Let’s use the same event handler we used in the first example and see what happens.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;img src="http://www.odetocode.com/aimages/findcontrol/findcontrol1.jpg" /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Once again we have easily located the control. For later comparison, let’s view an excerpt of the HTML source the ASP.NET form has given us.&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;&amp;lt;div id="Panel1" style="height:152px;"&amp;gt;&lt;br /&gt;&lt;br /&gt; Panel&lt;br /&gt; &amp;lt;input name="TextBox1" type="text" id="TextBox1" /&amp;gt;&lt;br /&gt; &amp;lt;input type="submit" name="Button1" value="Button" id="Button1" /&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;In the source above we can see ASP.NET has given the TextBox a client side ID of TextBox1, the same ID we use on the server. This behavior changes when we place the textbox inside of a control implementing the INamingContainer interface, which will change the way we use the FindControl method. Any control implementing INamingContainer will create a new control namespace so that all child controls will have a unique ID on the page. In short, an INamingContainer control will guarantee there are no naming conflicts on a page. This behavior is best demonstrated with an example.&lt;/p&gt;&lt;br /&gt;&lt;h2&gt;FindControl in a DataGrid&lt;/h2&gt;&lt;br /&gt;&lt;p&gt;There are several ASP.NET controls which implement INamingContainer, including the DataGrid, the Repeater, and the DataList. Let’s build a form with a DataGrid and view the HTML output. &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&amp;lt;form id="Form1" method="post" runat="server"&amp;gt;&lt;br /&gt;  &amp;lt;asp:DataGrid id=DataGrid1 runat="server" DataSource="&amp;lt;%# employees1 %&amp;gt;"&lt;br /&gt;       AutoGenerateColumns="False"&lt;br /&gt;       OnSelectedIndexChanged="DataGrid1_SelectedIndexChanged"&lt;br /&gt;       OnEditCommand="DataGrid1_EditCommand"&amp;gt;&lt;br /&gt;    &amp;lt;Columns&amp;gt;&lt;br /&gt;      &amp;lt;asp:BoundColumn DataField="emp_id" SortExpression="emp_id" HeaderText="emp_id"/&amp;gt;&lt;br /&gt;      &amp;lt;asp:BoundColumn DataField="fname" SortExpression="fname" HeaderText="fname"/&amp;gt;&lt;br /&gt;      &amp;lt;asp:BoundColumn DataField="lname" SortExpression="lname" HeaderText="lname"/&amp;gt;&lt;br /&gt;&lt;br /&gt;      &amp;lt;asp:TemplateColumn&amp;gt;&lt;br /&gt;        &amp;lt;ItemTemplate&amp;gt;&lt;br /&gt;          &amp;lt;asp:TextBox Runat="server" ID="TextBox1" /&amp;gt;&lt;br /&gt;        &amp;lt;/ItemTemplate&amp;gt;&lt;br /&gt;      &amp;lt;/asp:TemplateColumn&amp;gt;&lt;br /&gt;      &amp;lt;asp:ButtonColumn Text="Select" CommandName="Select"&amp;gt;&amp;lt;/asp:ButtonColumn&amp;gt;&lt;br /&gt;&lt;br /&gt;      &amp;lt;asp:EditCommandColumn ButtonType="LinkButton" UpdateText="Update"&lt;br /&gt;              CancelText="Cancel" EditText="Edit"&amp;gt;&lt;br /&gt;      &amp;lt;/asp:EditCommandColumn&amp;gt;&lt;br /&gt;    &amp;lt;/Columns&amp;gt;&lt;br /&gt;  &amp;lt;/asp:DataGrid&amp;gt;&lt;br /&gt;&amp;lt;/form&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;The DataGrid in the form will display data from a well known SQL Server table. Using a TemplateColumn, we will add a TextBox control with the ID of TextBox1 to each row of the grid. Let’s take a look at an excerpt of the HTML ASP.NET generates.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&amp;lt;table cellspacing="0" rules="all" border="1" id="DataGrid1"&amp;gt;&lt;br /&gt;   &amp;lt;tr&amp;gt;&lt;br /&gt;   &amp;lt;td&amp;gt;emp_id&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;fname&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;lname&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt; &amp;lt;/td&amp;gt;&amp;lt;td&amp;gt; &amp;lt;/td&amp;gt;&amp;lt;td&amp;gt; &amp;lt;/td&amp;gt;&lt;br /&gt;&lt;br /&gt; &amp;lt;/tr&amp;gt;&lt;br /&gt; &amp;lt;tr&amp;gt;&lt;br /&gt;   &amp;lt;td&amp;gt;A-C71970F&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Aria&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Cruz&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;&lt;br /&gt;     &amp;lt;input name="DataGrid1:_ctl2:TextBox1" type="text" id="DataGrid1__ctl2_TextBox1" /&amp;gt;&lt;br /&gt;   &amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt; &amp;lt;/tr&amp;gt;&lt;br /&gt; &amp;lt;tr&amp;gt;&lt;br /&gt;   &amp;lt;td&amp;gt;A-R89858F&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Annette&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Roulet&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;&lt;br /&gt;     &amp;lt;input name="DataGrid1:_ctl3:TextBox1" type="text" id="DataGrid1__ctl3_TextBox1" /&amp;gt;&lt;br /&gt;   &amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt; &amp;lt;/tr&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Here we can see there are many instances of TextBox1, but each ID is prefixed with some additional identifier information. This behavior shows the INamingContainer objects at work. The DataGrid implements INamingContainer and will preface each child control ID with ‘DataGrid1’. As we will see shortly, a DataGrid uses a collection of DataGridItem controls to represent each row of data. A DataGridItem control also implements INamingContainer, and will preface the name of child controls with a it’s own generated identifier (‘_ctrl2’, ‘_ctrl3’, etc.).&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Now, if we used the following code, FindControl will return a null value&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;Control c = Page.FindControl(“TextBox1”)&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;The Page control cannot find a TextBox1 because the TextBox controls hide themselves inside of INamingContainer controls. Besides, which control would we really expect FindControl to return? The first TextBox control of the page? The last TextBox control? Typically, when you want to find a TextBox inside of a DataGrid, you’ll be looking for a TextBox on a specific row the user has chosen. For example, we added a Select column to allow the user to click on a hyperlink to chose the selected row. Let’s try to grab the TextBox control in the SelectedIndexChanged event. &lt;/p&gt;&lt;br /&gt;&lt;pre&gt;private void DataGrid1_SelectedIndexChanged(object sender, System.EventArgs e)&lt;br /&gt;{&lt;br /&gt;  TextBox b;&lt;br /&gt;  b = DataGrid1.Items[DataGrid1.SelectedIndex].FindControl("TextBox1") as TextBox;&lt;br /&gt;  if(b != null)&lt;br /&gt;  {&lt;br /&gt;     Response.Write("Sender = " + sender.GetType().ToString() + "&amp;lt;br&amp;gt;");&lt;br /&gt;     Response.Write("Found Textbox1 in SelectedIndexChanged event&amp;lt;br&amp;gt;");&lt;br /&gt;     Response.Write(FindUtil.DumpParent(b));&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;The code invokes FindControl on the selected DataGridItem object. The code above will work, as demonstrated in the following figure.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;img src="http://www.odetocode.com/aimages/findcontrol/findcontrol2.jpg" /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;We have also added some additional output to clearly see the chain of ownership leading to our TextBox. The TextBox1 control has a TableCell object as a parent, which in turn is a child control of a DataGridItem object, and so on up the line until we reach a Page control. The code to produce this dump is next.&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;public class FindUtil&lt;br /&gt;{&lt;br /&gt;  public static string DumpParents(Control c)&lt;br /&gt;  {&lt;br /&gt;     StringBuilder sb = new StringBuilder();&lt;br /&gt;     sb.Append(c.ID + " (" + c.GetType().ToString() + ")");&lt;br /&gt;&lt;br /&gt;     while(c.Parent != null)&lt;br /&gt;     {&lt;br /&gt;        c = c.Parent;&lt;br /&gt;        sb.Append(" -&amp;gt;&amp;lt;br&amp;gt;");&lt;br /&gt;        sb.Append(c.ID + " (" + c.GetType().ToString() + ")");&lt;br /&gt;     }&lt;br /&gt;&lt;br /&gt;     return sb.ToString();&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;The code will walk up the Parent control references building a string of control IDs (when a control ID exists – not all controls in a form will have a server side ID), and the control type.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;We also added an EditCommandColumn to our DataGrid for the user to select a row to edit. Working with the EditCommand event handler is slightly easier, because the second parameter to the handler is of type DataGridCommandEventArgs, which contains a reference to the DataGridItem the user has selected for interaction.&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;protected void DataGrid1_EditCommand(object source,&lt;br /&gt;                                    DataGridCommandEventArgs e)&lt;br /&gt;{&lt;br /&gt;  TextBox b;&lt;br /&gt;  b = e.Item.FindControl("TextBox1") as TextBox;&lt;br /&gt;  if(b != null)&lt;br /&gt;  {&lt;br /&gt;     Response.Write("Found Textbox1 in EditCommand event&amp;lt;br&amp;gt;");&lt;br /&gt;  }       &lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Finding Controls In Headers and Footers&lt;/h2&gt;&lt;br /&gt;&lt;p&gt;For some DataGrid objects you may want to display an interactive control inside of the header or footer section. These cases require a slightly different method of attack with FindControl. Consider the following form&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;&amp;lt;asp:DataGrid id=DataGrid1 runat="server" DataSource="&amp;lt;%# employees1 %&amp;gt;"&lt;br /&gt;      AutoGenerateColumns="False" ShowFooter="True"&amp;gt;&lt;br /&gt;&lt;br /&gt; &amp;lt;Columns&amp;gt;&lt;br /&gt;   &amp;lt;asp:BoundColumn DataField="emp_id" SortExpression="emp_id" HeaderText="emp_id"/&amp;gt;&lt;br /&gt;   &amp;lt;asp:BoundColumn DataField="fname" SortExpression="fname" HeaderText="fname"/&amp;gt;&lt;br /&gt;   &amp;lt;asp:BoundColumn DataField="lname" SortExpression="lname" HeaderText="lname"/&amp;gt;&lt;br /&gt;   &amp;lt;asp:TemplateColumn&amp;gt;&lt;br /&gt;     &amp;lt;HeaderTemplate&amp;gt;&lt;br /&gt;&lt;br /&gt;       &amp;lt;asp:DropDownList Runat="server" ID="DropDownList1"&amp;gt;&lt;br /&gt;         &amp;lt;asp:ListItem Value="1"&amp;gt;One&amp;lt;/asp:ListItem&amp;gt;&lt;br /&gt;         &amp;lt;asp:ListItem Value="2"&amp;gt;Two&amp;lt;/asp:ListItem&amp;gt;&lt;br /&gt;         &amp;lt;asp:ListItem Value="3"&amp;gt;Three&amp;lt;/asp:ListItem&amp;gt;&lt;br /&gt;&lt;br /&gt;       &amp;lt;/asp:DropDownList&amp;gt;&lt;br /&gt;     &amp;lt;/HeaderTemplate&amp;gt;&lt;br /&gt;     &amp;lt;ItemTemplate&amp;gt;&lt;br /&gt;       &amp;lt;asp:TextBox Runat="server" ID="TextBox1" /&amp;gt;&lt;br /&gt;     &amp;lt;/ItemTemplate&amp;gt;&lt;br /&gt;     &amp;lt;FooterTemplate&amp;gt;&lt;br /&gt;&lt;br /&gt;       &amp;lt;asp:DropDownList Runat="server" ID="Dropdownlist1"&amp;gt;&lt;br /&gt;         &amp;lt;asp:ListItem Value="1"&amp;gt;One&amp;lt;/asp:ListItem&amp;gt;&lt;br /&gt;         &amp;lt;asp:ListItem Value="2"&amp;gt;Two&amp;lt;/asp:ListItem&amp;gt;&lt;br /&gt;         &amp;lt;asp:ListItem Value="3"&amp;gt;Three&amp;lt;/asp:ListItem&amp;gt;&lt;br /&gt;&lt;br /&gt;       &amp;lt;/asp:DropDownList&amp;gt;&lt;br /&gt;     &amp;lt;/FooterTemplate&amp;gt;&lt;br /&gt;   &amp;lt;/asp:TemplateColumn&amp;gt;&lt;br /&gt;   &amp;lt;asp:ButtonColumn Text="Select" CommandName="Select"&amp;gt;&amp;lt;/asp:ButtonColumn&amp;gt;&lt;br /&gt; &amp;lt;/Columns&amp;gt;&lt;br /&gt;&amp;lt;/asp:DataGrid&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Here we have added a DropDownList control into the HeaderTemplate and FooterTemplate of the DataGrid. We should know at this point we cannot call FindControl on the Page, or on the DataGrid to retrieve these controls, because they will exist inside of another INamingContainer control, specifically a DataGridItem. What might be suprising however, is how we cannot use the DataGrid object’s Items collection as we did earlier. MSDN documentation has the following to say about the Items collection. &lt;/p&gt;&lt;br /&gt;&lt;p&gt;Note: Only items bound to the data source are contained in the Items collection. The header, footer, and separator are not included in the collection.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;So we will not find the header and footer DataGridItem controls inside the Items collection, but all child controls must exist inside the Controls collection. In this case, our earlier dump of the DataGrid control hierarchy will prove useful. We know the parent of each DataGridItem is a DataGridTable, and the parent of the DataGridTable is the DataGrid control itself. We will have to assume the DataGridTable is the first control in the DataGrid, and the header row will be the first control of the DataGridTable (consequently the footer is the last control of the DataGridTable). Thus the following code:&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;private void DataGrid1_SelectedIndexChanged(object sender, System.EventArgs e)&lt;br /&gt;{&lt;br /&gt;  DropDownList d;                &lt;br /&gt;  d = DataGrid1.Controls[0].Controls[0].FindControl("DropDownList1") as DropDownList;&lt;br /&gt;  if(d != null)&lt;br /&gt;  {&lt;br /&gt;     Response.Write("Found header DropDownList1 in SelectedIndexChanged event&amp;lt;br&amp;gt;");&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  int footerIndex = DataGrid1.Controls[0].Controls.Count-1;&lt;br /&gt;  d = DataGrid1.Controls[0].Controls[footerIndex].FindControl("DropDownList1") as DropDownList;&lt;br /&gt;  if(d != null)&lt;br /&gt;  {&lt;br /&gt;     Response.Write("Found footer DropDownList1 in SelectedIndexChanged event&amp;lt;br&amp;gt;");&lt;br /&gt;     Response.Write(FindUtil.DumpParents(d));&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;will give us both DropDownList controls in the header and footer, and produce the following output. &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;img src="http://www.odetocode.com/aimages/findcontrol/findcontrol3.jpg" /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Seeing hard coded index values into the Controls collection is a bit worrisome. If your control changes, or the DataGrid control changes in a newer version of the framework, this code could break. An alternate solution could involve looping through the DataGridTable controls looking for DataGridItem objects with a ItemType property equal to ListItem.Header or ListItem.Footer. Whichever you decide, neither feels extremely robust in the face of future changes.&lt;/p&gt;&lt;br /&gt;&lt;h2&gt;FindControl in Repeater controls&lt;/h2&gt;&lt;br /&gt;&lt;p&gt;Like the DataGrid, the Repeater is an INamingContainer. Let’s take a look at the following form which displays authors from SQL Server.&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;&amp;lt;asp:Repeater id="Repeater1" runat="server"&amp;gt;&lt;br /&gt; &amp;lt;ItemTemplate&amp;gt;&lt;br /&gt;    &amp;lt;tr&amp;gt;&lt;br /&gt;       &amp;lt;td&amp;gt;&amp;lt;%#DataBinder.Eval(Container.DataItem, "au_id")%&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&lt;br /&gt;       &amp;lt;td&amp;gt;&amp;lt;%#DataBinder.Eval(Container.DataItem, "au_lname")%&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;       &amp;lt;td&amp;gt;&amp;lt;%#DataBinder.Eval(Container.DataItem, "au_fname")%&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;       &amp;lt;td&amp;gt;&amp;lt;asp:TextBox Runat="server" ID="TextBox1" /&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;       &amp;lt;td&amp;gt;&amp;lt;asp:Button Runat="server" ID="Button1" OnClick="Button1_Click" Text="Click" /&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&lt;br /&gt;    &amp;lt;/tr&amp;gt;&lt;br /&gt; &amp;lt;/ItemTemplate&amp;gt;&lt;br /&gt;&amp;lt;/asp:Repeater&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Each row of the repeater will contain a TextBox and Button control. Every Button control will use the same event handler where we can grab the corresponding TextBox control in the row with the following code.&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;protected void Button1_Click(object sender, System.EventArgs e)&lt;br /&gt;{&lt;br /&gt;  Button btn = sender as Button;&lt;br /&gt;  TextBox tb = btn.Parent.FindControl("TextBox1") as TextBox;&lt;br /&gt;  if(tb != null)&lt;br /&gt;  {&lt;br /&gt;     Response.Write("Found TextBox1 in Button1_Click event&amp;lt;br&amp;gt;");&lt;br /&gt;     Response.Write(FindUtil.DumpParents(tb));&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Here you can see we have taken a different tack by asking for the parent of the Button control which has fired the event handler. In the following screen shot, you can see the parent of the TextBox (and the Button) is a RepeaterItem control (which also implements INamingContainer). Thus the first TextBox appearing on the screen will have an unique ID of Repeater1:_ctl0:TextBox1.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;img src="http://www.odetocode.com/aimages/findcontrol/findcontrol4.jpg" /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;One more tip before we move to the last section. Suppose we added a second button at the bottom of the form with the repeater. When the user clicks this button we want to loop the repeater collecting the contents of each TextBox control from every row. You can accomplish this task with the following code.&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;private void Button2_Click(object sender, System.EventArgs e)&lt;br /&gt;{&lt;br /&gt;  foreach(RepeaterItem item in Repeater1.Items)&lt;br /&gt;  {&lt;br /&gt;     TextBox b = item.FindControl("TextBox1") as TextBox;&lt;br /&gt;     Response.Write(b.Text + "&amp;lt;br&amp;gt;");                      &lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;User Controls&lt;/h2&gt;&lt;br /&gt;&lt;p&gt;For the sake of completeness, let’s take a look at how FindControl works when a User Control (ascx) appears. Let’s through the following user control into a form.&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;&amp;lt;%@ Control Language="c#"&lt;br /&gt; AutoEventWireup="false"&lt;br /&gt; Codebehind="MyUserControl.ascx.cs"&lt;br /&gt; Inherits="aspnet.FindControls.MyUserControl"&lt;br /&gt; TargetSchema="http://schemas.microsoft.com/intellisense/ie5"&lt;br /&gt;%&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;asp:TextBox id="TextBox1" runat="server"&amp;gt;&amp;lt;/asp:TextBox&amp;gt;&lt;br /&gt;&amp;lt;asp:Button id="Button1" runat="server" Text="Button"&amp;gt;&amp;lt;/asp:Button&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;If we view the HTML output, we will see the following.&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;   &amp;lt;input name="MyUserControl1:TextBox1" type="text" id="MyUserControl1_TextBox1" /&amp;gt;&lt;br /&gt;  &amp;lt;input type="submit" name="MyUserControl1:Button1" value="Button" id="MyUserControl1_Button1" /&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Although user controls do not implement INamingContainer, they do ensure their child controls will not have a naming conflict. For instance, if we placed two of these user controls on the same form, without munging the names we would have two TextBox1 controls on the same form.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Although you generally will not need to do this, you can find a control from the code behind of a user control as easily as the first example in this article&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;private void Button1_Click(object sender, System.EventArgs e)&lt;br /&gt;{&lt;br /&gt;  TextBox b = this.FindControl("TextBox1") as TextBox;&lt;br /&gt;  if(b != null)&lt;br /&gt;  {&lt;br /&gt;     Response.Write("Found TextBox1 on User Control Button1_Click&amp;lt;br&amp;gt;");&lt;br /&gt;  }              &lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;If you wanted to find the TextBox control from inside of the parent page (not recommended, but here for completeness), you would have to invoke FindControl on the user control. In the following example, we will also use FindControl to find our user control.&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;private void Page_Load(object sender, System.EventArgs e)&lt;br /&gt;{&lt;br /&gt;  MyUserControl u = FindControl("MyUserControl1") as MyUserControl;&lt;br /&gt;  TextBox b = u.FindControl("TextBox1") as TextBox;&lt;br /&gt;  if(b != null)&lt;br /&gt;  {&lt;br /&gt;     Response.Write("Found TextBox1 on Page_Load&amp;lt;br&amp;gt;");&lt;br /&gt;  }            &lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Conclusion&lt;/h2&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Hopefully this article has shed some light and will offer some assistance to those readers who have lost wayward controls. The behavior of FindControl makes perfect sense once you understand the purpose of INamingContainer and begin using FindControl on the correct objects. &lt;/p&gt;&lt;br /&gt;&lt;p&gt;-- by &lt;a href="http://www.odetocode.com/blogs/scott"&gt;K. Scott Allen&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;div style="text-align: left; font-weight: bold; font-family: verdana; color: rgb(0, 0, 0);"&gt;&lt;span class="Article_FullDescription"&gt;&lt;p&gt;&lt;a href="http://www.odetocode.com/blogs/scott"&gt;Thank you,&lt;span&gt;&lt;span class="Article_FullDescription"&gt;&lt;a href="http://www.odetocode.com/blogs/scott"&gt;K. Scott Allen&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;ismail tutumluer&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5583557331987860052-9105776019448663179?l=ismailtutumluer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ismailtutumluer.blogspot.com/feeds/9105776019448663179/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5583557331987860052&amp;postID=9105776019448663179&amp;isPopup=true' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/9105776019448663179'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/9105776019448663179'/><link rel='alternate' type='text/html' href='http://ismailtutumluer.blogspot.com/2007/01/in-search-of-aspnet-controlsposted-by-k.html' title='In Search Of ASP.Net Controls(Posted by K. Scott Allen)'/><author><name>ismail tutumluer</name><uri>http://www.blogger.com/profile/13880939201119695372</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-r91ZIIvxUmo/TusWe8UBiLI/AAAAAAAAAjw/H-UjRuwvh_U/s1600/ismail-tutumluer.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5583557331987860052.post-5453740978687486018</id><published>2007-01-22T16:58:00.000+02:00</published><updated>2007-01-22T17:08:04.288+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.Net Encryption/Decryption Query String with DES  Base64 encoded.'/><title type='text'>Asp.Net Encryption/Decryption Query String with DES  Base64 encoded.</title><content type='html'>Example:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;class Sifreleme.cs&lt;br /&gt;--------------------------------------------------------------------------&lt;br /&gt;using System.Text;&lt;br /&gt;using System.Security.Cryptography;&lt;br /&gt;using System;&lt;br /&gt;using System.IO;&lt;br /&gt;using System.Xml;&lt;br /&gt;&lt;br /&gt;namespace Sifreleme2&lt;br /&gt;{&lt;br /&gt; /// &lt;summary&gt;&lt;br /&gt; /// Summary description for Class1.&lt;br /&gt; /// &lt;/summary&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; public class Encryption64&lt;br /&gt; {&lt;br /&gt;  //private byte[] key = {};&lt;br /&gt;  //private byte[] IV = {10, 20, 30, 40, 50, 60, 70, 80}; // it can be any byte value&lt;br /&gt;&lt;br /&gt;  public  string Decrypt( string stringToDecrypt,&lt;br /&gt;   string sEncryptionKey)&lt;br /&gt;  {&lt;br /&gt;&lt;br /&gt;   byte[] key = {};&lt;br /&gt;   byte[] IV = {10, 20, 30, 40, 50, 60, 70, 80};&lt;br /&gt;   byte[] inputByteArray = new byte[stringToDecrypt.Length];&lt;br /&gt;&lt;br /&gt;   try&lt;br /&gt;   {&lt;br /&gt;    key = Encoding.UTF8.GetBytes(sEncryptionKey.Substring(0,8));&lt;br /&gt;    DESCryptoServiceProvider des = new DESCryptoServiceProvider();&lt;br /&gt;    inputByteArray = Convert.FromBase64String(stringToDecrypt);&lt;br /&gt;&lt;br /&gt;    MemoryStream ms = new MemoryStream();&lt;br /&gt;    CryptoStream cs = new CryptoStream(ms, des.CreateDecryptor(key, IV), CryptoStreamMode.Write);&lt;br /&gt;    cs.Write(inputByteArray, 0, inputByteArray.Length);&lt;br /&gt;    cs.FlushFinalBlock();&lt;br /&gt;&lt;br /&gt;    Encoding encoding = Encoding.UTF8 ;&lt;br /&gt;    return encoding.GetString(ms.ToArray());&lt;br /&gt;   }&lt;br /&gt;   catch (System.Exception ex)&lt;br /&gt;   {&lt;br /&gt;    throw ex;&lt;br /&gt;   }&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  public  string Encrypt( string stringToEncrypt,&lt;br /&gt;   string sEncryptionKey)&lt;br /&gt;  {&lt;br /&gt;&lt;br /&gt;   byte[] key = {};&lt;br /&gt;   byte[] IV = {10, 20, 30, 40, 50, 60, 70, 80};&lt;br /&gt;   byte[] inputByteArray; //Convert.ToByte(stringToEncrypt.Length)&lt;br /&gt;&lt;br /&gt;   try&lt;br /&gt;   {&lt;br /&gt;    key = Encoding.UTF8.GetBytes(sEncryptionKey.Substring(0,8));&lt;br /&gt;    DESCryptoServiceProvider des = new DESCryptoServiceProvider();&lt;br /&gt;    inputByteArray = Encoding.UTF8.GetBytes(stringToEncrypt);&lt;br /&gt;    MemoryStream ms = new MemoryStream();&lt;br /&gt;    CryptoStream cs = new CryptoStream(ms, des.CreateEncryptor(key, IV), CryptoStreamMode.Write);&lt;br /&gt;    cs.Write(inputByteArray, 0, inputByteArray.Length);&lt;br /&gt;    cs.FlushFinalBlock();&lt;br /&gt;&lt;br /&gt;    return Convert.ToBase64String(ms.ToArray());&lt;br /&gt;   }&lt;br /&gt;   catch (System.Exception ex)&lt;br /&gt;   {&lt;br /&gt;    throw ex;&lt;br /&gt;   }&lt;br /&gt;  }&lt;br /&gt; } &lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;----------------------------------------------------------------------------------------------------&lt;br /&gt;WebForm1.aspx&lt;br /&gt;-------------------------------------------------------------------------------------------------------&lt;br /&gt;Controls:TextBox1 and Button1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;using System;&lt;br /&gt;using System.Collections;&lt;br /&gt;using System.ComponentModel;&lt;br /&gt;using System.Data;&lt;br /&gt;using System.Drawing;&lt;br /&gt;using System.Web;&lt;br /&gt;using System.Web.SessionState;&lt;br /&gt;using System.Web.UI;&lt;br /&gt;using System.Web.UI.WebControls;&lt;br /&gt;using System.Web.UI.HtmlControls;&lt;br /&gt;using System.Security.Cryptography; &lt;br /&gt;&lt;br /&gt;namespace Sifreleme2&lt;br /&gt;{&lt;br /&gt; /// &lt;summary&gt;&lt;br /&gt; /// Summary description for WebForm1.&lt;br /&gt; /// &lt;/summary&gt;&lt;br /&gt; public class WebForm1 : System.Web.UI.Page&lt;br /&gt; {&lt;br /&gt;  protected System.Web.UI.WebControls.TextBox TextBox1;&lt;br /&gt;  protected System.Web.UI.WebControls.Button Button1;&lt;br /&gt; &lt;br /&gt;  private void Page_Load(object sender, System.EventArgs e)&lt;br /&gt;  {&lt;br /&gt;   // Put user code to initialize the page here&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  #region Web Form Designer generated code&lt;br /&gt;  override protected void OnInit(EventArgs e)&lt;br /&gt;  {&lt;br /&gt;   //&lt;br /&gt;   // CODEGEN: This call is required by the ASP.NET Web Form Designer.&lt;br /&gt;   //&lt;br /&gt;   InitializeComponent();&lt;br /&gt;   base.OnInit(e);&lt;br /&gt;  }&lt;br /&gt;  &lt;br /&gt;  /// &lt;summary&gt;&lt;br /&gt;  /// Required method for Designer support - do not modify&lt;br /&gt;  /// the contents of this method with the code editor.&lt;br /&gt;  /// &lt;/summary&gt;&lt;br /&gt;  private void InitializeComponent()&lt;br /&gt;  {    &lt;br /&gt;   this.Button1.Click += new System.EventHandler(this.Button1_Click);&lt;br /&gt;   this.Load += new System.EventHandler(this.Page_Load);&lt;br /&gt;&lt;br /&gt;  }&lt;br /&gt;  #endregion&lt;br /&gt;&lt;br /&gt;  private void Button1_Click(object sender, System.EventArgs e)&lt;br /&gt;  {&lt;br /&gt;   Encryption64 asd=new Encryption64 ();&lt;br /&gt;  string iso=asd.Encrypt(TextBox1.Text,"!#$a54?3");&lt;br /&gt;   Response.Redirect("WebForm2.aspx?search="+iso);&lt;br /&gt; &lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;-------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;WebForm2.aspx&lt;br /&gt;----------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;Controls: TextBox1&lt;br /&gt;&lt;br /&gt;using System;&lt;br /&gt;using System.Collections;&lt;br /&gt;using System.ComponentModel;&lt;br /&gt;using System.Data;&lt;br /&gt;using System.Drawing;&lt;br /&gt;using System.Web;&lt;br /&gt;using System.Web.SessionState;&lt;br /&gt;using System.Web.UI;&lt;br /&gt;using System.Web.UI.WebControls;&lt;br /&gt;using System.Web.UI.HtmlControls;&lt;br /&gt;using System.Security.Cryptography; &lt;br /&gt;&lt;br /&gt;namespace Sifreleme2&lt;br /&gt;{&lt;br /&gt; /// &lt;summary&gt;&lt;br /&gt; /// Summary description for WebForm1.&lt;br /&gt; /// &lt;/summary&gt;&lt;br /&gt; public class WebForm1 : System.Web.UI.Page&lt;br /&gt; {&lt;br /&gt;  protected System.Web.UI.WebControls.TextBox TextBox1;&lt;br /&gt;  protected System.Web.UI.WebControls.Button Button1;&lt;br /&gt; &lt;br /&gt;  private void Page_Load(object sender, System.EventArgs e)&lt;br /&gt;  {&lt;br /&gt;   // Put user code to initialize the page here&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  #region Web Form Designer generated code&lt;br /&gt;  override protected void OnInit(EventArgs e)&lt;br /&gt;  {&lt;br /&gt;   //&lt;br /&gt;   // CODEGEN: This call is required by the ASP.NET Web Form Designer.&lt;br /&gt;   //&lt;br /&gt;   InitializeComponent();&lt;br /&gt;   base.OnInit(e);&lt;br /&gt;  }&lt;br /&gt;  &lt;br /&gt;  /// &lt;summary&gt;&lt;br /&gt;  /// Required method for Designer support - do not modify&lt;br /&gt;  /// the contents of this method with the code editor.&lt;br /&gt;  /// &lt;/summary&gt;&lt;br /&gt;  private void InitializeComponent()&lt;br /&gt;  {    &lt;br /&gt;   this.Button1.Click += new System.EventHandler(this.Button1_Click);&lt;br /&gt;   this.Load += new System.EventHandler(this.Page_Load);&lt;br /&gt;&lt;br /&gt;  }&lt;br /&gt;  #endregion&lt;br /&gt;&lt;br /&gt;  private void Button1_Click(object sender, System.EventArgs e)&lt;br /&gt;  {&lt;br /&gt;   Encryption64 asd=new Encryption64 ();&lt;br /&gt;  string iso=asd.Encrypt(TextBox1.Text,"!#$a54?3");&lt;br /&gt;   Response.Redirect("WebForm2.aspx?search="+ iso);&lt;br /&gt; &lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;--------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;İyi Günler,&lt;br /&gt;İsmail tutumluer&lt;div class="blogger-post-footer"&gt;ismail tutumluer&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5583557331987860052-5453740978687486018?l=ismailtutumluer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ismailtutumluer.blogspot.com/feeds/5453740978687486018/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5583557331987860052&amp;postID=5453740978687486018&amp;isPopup=true' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/5453740978687486018'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/5453740978687486018'/><link rel='alternate' type='text/html' href='http://ismailtutumluer.blogspot.com/2007/01/aspnet-encryptiondecryption-query.html' title='Asp.Net Encryption/Decryption Query String with DES  Base64 encoded.'/><author><name>ismail tutumluer</name><uri>http://www.blogger.com/profile/13880939201119695372</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-r91ZIIvxUmo/TusWe8UBiLI/AAAAAAAAAjw/H-UjRuwvh_U/s1600/ismail-tutumluer.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5583557331987860052.post-8705648781566625551</id><published>2007-01-22T14:35:00.000+02:00</published><updated>2007-01-22T14:36:48.619+02:00</updated><title type='text'>The name 'Session' does not exist in the class or namespace</title><content type='html'>The name 'Session' does not exist in the class or namespace&lt;br /&gt;&lt;br /&gt;Solution:c#&lt;br /&gt;System.Web.HttpContext.Current.Session["name"]&lt;div class="blogger-post-footer"&gt;ismail tutumluer&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5583557331987860052-8705648781566625551?l=ismailtutumluer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ismailtutumluer.blogspot.com/feeds/8705648781566625551/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5583557331987860052&amp;postID=8705648781566625551&amp;isPopup=true' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/8705648781566625551'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/8705648781566625551'/><link rel='alternate' type='text/html' href='http://ismailtutumluer.blogspot.com/2007/01/name-session-does-not-exist-in-class-or.html' title='The name &apos;Session&apos; does not exist in the class or namespace'/><author><name>ismail tutumluer</name><uri>http://www.blogger.com/profile/13880939201119695372</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-r91ZIIvxUmo/TusWe8UBiLI/AAAAAAAAAjw/H-UjRuwvh_U/s1600/ismail-tutumluer.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5583557331987860052.post-8049679289646141272</id><published>2007-01-16T22:48:00.000+02:00</published><updated>2008-11-13T17:53:40.828+02:00</updated><title type='text'>ASP.Net Error the two need to map to the same server location</title><content type='html'>Nedeni:ISS 6.0'da güvenlik nedeniyle .tmp extension engeliyor.&lt;br /&gt;Yapmanız gereken;&lt;br /&gt;&lt;br /&gt;Denetim Masasından ordan da Yönetimsel araçlara ordan ISS özelliklerini gideceksin.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_26gcgxD5Gbs/Ra1AU1efo4I/AAAAAAAAAAU/LIGyiH67oCU/s1600-h/1.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_26gcgxD5Gbs/Ra1AU1efo4I/AAAAAAAAAAU/LIGyiH67oCU/s320/1.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5020739886284514178" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;the two need to map to the same server location&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Web sitelerinin içinde gerekli projeni bulacak sağ tıklayıp özelliklerine gideceksin.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_26gcgxD5Gbs/Ra1Aplefo5I/AAAAAAAAAAc/OJkf1PyLEHA/s1600-h/2.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_26gcgxD5Gbs/Ra1Aplefo5I/AAAAAAAAAAc/OJkf1PyLEHA/s320/2.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5020740242766799762" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;HHTP Headers sekmesinde MINE TYpes yanındaki File TYpes tıklayacaksın New Type diyeceksin.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_26gcgxD5Gbs/Ra1A6Fefo6I/AAAAAAAAAAk/qxYiuMKEqaw/s1600-h/3.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_26gcgxD5Gbs/Ra1A6Fefo6I/AAAAAAAAAAk/qxYiuMKEqaw/s320/3.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5020740526234641314" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Extension yanına .tmp ,Mine Type'da Temp yazacaksın.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_26gcgxD5Gbs/Ra1BbFefo7I/AAAAAAAAAAs/M3vvztZa4MA/s1600-h/4.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_26gcgxD5Gbs/Ra1BbFefo7I/AAAAAAAAAAs/M3vvztZa4MA/s320/4.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5020741093170324402" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Sorununuz hal olacaktır.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Gerekli Linkler:&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.dotnetcoders.com/web/Articles/ShowArticle.aspx?article=57"&gt;http://www.dotnetcoders.com/web/Articles/ShowArticle.aspx?article=57&lt;/a&gt;&lt;br /&gt;&lt;a href="http://support.microsoft.com/kb/327283"&gt;http://support.microsoft.com/kb/327283&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;ismail tutumluer&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5583557331987860052-8049679289646141272?l=ismailtutumluer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ismailtutumluer.blogspot.com/feeds/8049679289646141272/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5583557331987860052&amp;postID=8049679289646141272&amp;isPopup=true' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/8049679289646141272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/8049679289646141272'/><link rel='alternate' type='text/html' href='http://ismailtutumluer.blogspot.com/2007/01/aspnet-error-two-need-to-map-to-same.html' title='ASP.Net Error the two need to map to the same server location'/><author><name>ismail tutumluer</name><uri>http://www.blogger.com/profile/13880939201119695372</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-r91ZIIvxUmo/TusWe8UBiLI/AAAAAAAAAjw/H-UjRuwvh_U/s1600/ismail-tutumluer.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_26gcgxD5Gbs/Ra1AU1efo4I/AAAAAAAAAAU/LIGyiH67oCU/s72-c/1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5583557331987860052.post-3390284643050519066</id><published>2007-01-16T12:03:00.000+02:00</published><updated>2007-01-16T12:08:47.127+02:00</updated><title type='text'>The version of the report server database is either in a format that is not valid, or it cannot be read. The found version is 'Unknown'. The expected</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Solution:&lt;/span&gt;Reinstall Reporting Service&lt;br /&gt;&lt;br /&gt;Step 1:  Backup your files and remove RS entirely.&lt;br /&gt;==================================&lt;br /&gt;If RS cannot be removed successfully, perform the following steps:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1.  Re-run the setup.exe of Reporting Services that you had installed on &lt;br /&gt;the machine before. Once this setup routine started it will detect the &lt;br /&gt;existing installation and gave you an option to remove it.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;2.  If the issue still exists, run MSI installer clean up tool to uninstall &lt;br /&gt;Reporting Services:&lt;br /&gt; &lt;br /&gt;a. Please download the MSI installer clean up tool from the following web &lt;br /&gt;site:&lt;br /&gt; &lt;br /&gt;Description of the Windows Installer CleanUp Utility&lt;br /&gt;http://support.microsoft.com/default.aspx?scid=kb;en-us;290301 &lt;br /&gt; &lt;br /&gt;  &lt;br /&gt;b. Double click msicuu2.exe.  Follow the wizard's instructions to install &lt;br /&gt;the tool. &lt;br /&gt;c.  Launch the tool.&lt;br /&gt;d. At the tool's UI, select "SQL Server 2000 Reporting Services" from the &lt;br /&gt;product name listbox. &lt;br /&gt;e. Click the "Remove" button and note the results. &lt;br /&gt; &lt;br /&gt;Note: make sure that you only select "SQL Server 2000 Reporting Services" &lt;br /&gt;item. &lt;br /&gt;&lt;br /&gt;Step 2: Reinstalling RS &lt;br /&gt;=============&lt;br /&gt;&lt;br /&gt;Use the graphical setup wizard to install RS. If you use the command prompt &lt;br /&gt;utility to install, you must provide information for each required &lt;br /&gt;parameter. For example, you must specify the RSDATABASESERVER parameter. &lt;br /&gt;&lt;br /&gt;Note: &lt;br /&gt;&lt;br /&gt;1. For Standard Edition, the instance of SQL Server must be local. Check &lt;br /&gt;your RS version to make sure it isn't Standard Edition.&lt;br /&gt;&lt;br /&gt;2. Use the [/l*v log_file] parameter to specifies the name and path to a &lt;br /&gt;verbose log file containing all Windows Installer log options. If you do &lt;br /&gt;not specify this argument, no log file is created.&lt;br /&gt;&lt;br /&gt;After installing, refer to the "Verifying an Installation of Reporting &lt;br /&gt;Services" topic in BOL to verify RS is installed successfully.&lt;br /&gt;&lt;br /&gt;If it cannot be installed successfully, check the verbose log file to find &lt;br /&gt;related errors.&lt;div class="blogger-post-footer"&gt;ismail tutumluer&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5583557331987860052-3390284643050519066?l=ismailtutumluer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ismailtutumluer.blogspot.com/feeds/3390284643050519066/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5583557331987860052&amp;postID=3390284643050519066&amp;isPopup=true' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/3390284643050519066'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/3390284643050519066'/><link rel='alternate' type='text/html' href='http://ismailtutumluer.blogspot.com/2007/01/version-of-report-server-database-is.html' title='The version of the report server database is either in a format that is not valid, or it cannot be read. The found version is &apos;Unknown&apos;. The expected'/><author><name>ismail tutumluer</name><uri>http://www.blogger.com/profile/13880939201119695372</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-r91ZIIvxUmo/TusWe8UBiLI/AAAAAAAAAjw/H-UjRuwvh_U/s1600/ismail-tutumluer.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5583557331987860052.post-1868469098672772773</id><published>2007-01-16T11:52:00.000+02:00</published><updated>2007-01-16T12:02:04.802+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='The report server cannot open a connection to the report server database. A connection to the database is required for all requests and processing.'/><title type='text'>The report server cannot open a connection to the report server database. A connection to the database is required for all requests and processing.</title><content type='html'>start cmd&lt;br /&gt;&lt;br /&gt; &lt;span style="font-weight:bold;"&gt; Solution:&lt;/span&gt;&lt;br /&gt;  rsconfig -c -s &lt; SQLSERVERNAME &gt; -d reportserver -a Windows -u &lt; MYDOMAIN\MYACCOUNT &gt; -p &lt; PASSWORD &gt; &lt;br /&gt;  or &lt;br /&gt;  rsconfig -c -m &lt; REMOTECOMPUTERNAME &gt; -s &lt; SQLSERVERNAME &gt; -d reportserver -a SQL -u SA -p &lt; SAPASSWORD &gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;rsconfig Utility &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The rsconfig utility (Rsconfig.exe) encrypts and stores connection and account values in the RSReportServer.config file. Encrypted values include report server database connection information and account values used for unattended report processing. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Configuring a Report Server Connection&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After installation, you may need to modify the user name, password, and authentication mode that the report server uses to connect to the report server database. These values are encrypted. Reporting Services includes rsconfig utility that you can use to modify encrypted connection information.&lt;br /&gt;Connecting to a Report Server Database&lt;br /&gt;&lt;br /&gt;A report server must access the report server database that stores the items and metadata managed by the server. Because the report server database is a SQL Server database, you can use either Windows Authentication or SQL Server Authentication.&lt;br /&gt;&lt;br /&gt;The connection information used to establish the connection is initially defined during setup. However, if you want to modify the connection information, or if you are moving components to different computers, you can run rsconfig to correct it.&lt;br /&gt;Running rsconfig&lt;br /&gt;&lt;br /&gt;The rsconfig utility is a console application that you run from a command line. You can run this tool on a local or remote computer to modify the connection information used by a report server instance.&lt;br /&gt;&lt;br /&gt;When you run the utility, you specify parameters to set connection information. These parameters change the values of the connection information stored in the configuration file on the local or remote computer. You can modify the user name, password, and authentication mode used by the report server to connect to the report server database. The tool manages connection information for a single instance of the report server. &lt;br /&gt;&lt;br /&gt;links:&lt;br /&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/ms162837.aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms162837.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://msdn2.microsoft.com/en-gb/library/aa972232(SQL.80).aspx"&gt;http://msdn2.microsoft.com/en-gb/library/aa972232(SQL.80).aspx &lt;/a&gt;   &lt;br /&gt;&lt;br /&gt;&lt;a href="http://sqlforums.windowsitpro.com/web/forum/messageview.aspx?catid=92&amp;threadid=29121&amp;STARTPAGE=1"&gt;http://sqlforums.windowsitpro.com/web/forum/messageview.aspx?catid=92&amp;threadid=29121&amp;STARTPAGE=1&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;ismail tutumluer&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5583557331987860052-1868469098672772773?l=ismailtutumluer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ismailtutumluer.blogspot.com/feeds/1868469098672772773/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5583557331987860052&amp;postID=1868469098672772773&amp;isPopup=true' title='2 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/1868469098672772773'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/1868469098672772773'/><link rel='alternate' type='text/html' href='http://ismailtutumluer.blogspot.com/2007/01/report-server-cannot-open-connection-to.html' title='The report server cannot open a connection to the report server database. A connection to the database is required for all requests and processing.'/><author><name>ismail tutumluer</name><uri>http://www.blogger.com/profile/13880939201119695372</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-r91ZIIvxUmo/TusWe8UBiLI/AAAAAAAAAjw/H-UjRuwvh_U/s1600/ismail-tutumluer.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5583557331987860052.post-7746512057530185069</id><published>2007-01-15T14:48:00.000+02:00</published><updated>2007-01-15T14:49:24.183+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP Net Error: Response is not available in this context'/><title type='text'>ASP Net Error: Response is not available in this context</title><content type='html'>When using the response object from an aspx page, its codebehind class or a&lt;br /&gt;user control, the response object is directly available because all these&lt;br /&gt;derive from the page object more or less distant.&lt;br /&gt;&lt;br /&gt;When using the response object in your own class, the object is not readily&lt;br /&gt;available, but you can still access it:&lt;br /&gt;&lt;br /&gt;HttpContext.Current.Response.Write("Hello World");&lt;div class="blogger-post-footer"&gt;ismail tutumluer&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5583557331987860052-7746512057530185069?l=ismailtutumluer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ismailtutumluer.blogspot.com/feeds/7746512057530185069/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5583557331987860052&amp;postID=7746512057530185069&amp;isPopup=true' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/7746512057530185069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/7746512057530185069'/><link rel='alternate' type='text/html' href='http://ismailtutumluer.blogspot.com/2007/01/asp-net-error-response-is-not-available.html' title='ASP Net Error: Response is not available in this context'/><author><name>ismail tutumluer</name><uri>http://www.blogger.com/profile/13880939201119695372</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-r91ZIIvxUmo/TusWe8UBiLI/AAAAAAAAAjw/H-UjRuwvh_U/s1600/ismail-tutumluer.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5583557331987860052.post-5432527678230032272</id><published>2007-01-15T03:28:00.000+02:00</published><updated>2007-01-15T03:32:33.866+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Thread was being aborted error message when I use Response.Redirect in ASP.net'/><title type='text'>System.Threading.ThreadAbortException</title><content type='html'>try/catch bloğundan başka işleme transfer olamazsınız.&lt;br /&gt;Response.redirect ,trycatch içinde kullanmamalısınız.Kullanacaksanız;&lt;br /&gt;catch(Exception ex)&lt;br /&gt;{&lt;br /&gt;if (ex.GetType().FullName!="System.Threading.ThreadAbortException")&lt;br /&gt;{&lt;br /&gt;}//if&lt;br /&gt;    {&lt;br /&gt;}//catch&lt;br /&gt;Yakalanan hatanın System.Threading.ThreadAbortException olmaması gerekiyor.&lt;div class="blogger-post-footer"&gt;ismail tutumluer&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5583557331987860052-5432527678230032272?l=ismailtutumluer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ismailtutumluer.blogspot.com/feeds/5432527678230032272/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5583557331987860052&amp;postID=5432527678230032272&amp;isPopup=true' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/5432527678230032272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/5432527678230032272'/><link rel='alternate' type='text/html' href='http://ismailtutumluer.blogspot.com/2007/01/systemthreadingthreadabortexception.html' title='System.Threading.ThreadAbortException'/><author><name>ismail tutumluer</name><uri>http://www.blogger.com/profile/13880939201119695372</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-r91ZIIvxUmo/TusWe8UBiLI/AAAAAAAAAjw/H-UjRuwvh_U/s1600/ismail-tutumluer.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5583557331987860052.post-3664833071182294631</id><published>2007-01-15T03:07:00.000+02:00</published><updated>2007-01-15T03:11:30.869+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Redirect URI cannot contain newline characters'/><title type='text'>System.ArgumentException: Redirect URI cannot contain newline characters.</title><content type='html'>Redirect URI cannot contain newline characters.&lt;br /&gt;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;br /&gt;&lt;br /&gt;Exception Details: System.ArgumentException: Redirect URI cannot contain newline characters.&lt;br /&gt;.&lt;br /&gt;&lt;br /&gt;Çözüm(Solution)in C#:&lt;br /&gt;string url;&lt;br /&gt;url=url.Replace("\n"," "); &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;İfadedeki &lt;enter&gt; boşlukla yerini değiştirmek.&lt;div class="blogger-post-footer"&gt;ismail tutumluer&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5583557331987860052-3664833071182294631?l=ismailtutumluer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ismailtutumluer.blogspot.com/feeds/3664833071182294631/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5583557331987860052&amp;postID=3664833071182294631&amp;isPopup=true' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/3664833071182294631'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/3664833071182294631'/><link rel='alternate' type='text/html' href='http://ismailtutumluer.blogspot.com/2007/01/systemargumentexception-redirect-uri.html' title='System.ArgumentException: Redirect URI cannot contain newline characters.'/><author><name>ismail tutumluer</name><uri>http://www.blogger.com/profile/13880939201119695372</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-r91ZIIvxUmo/TusWe8UBiLI/AAAAAAAAAjw/H-UjRuwvh_U/s1600/ismail-tutumluer.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5583557331987860052.post-6174384090753514974</id><published>2007-01-14T00:53:00.000+02:00</published><updated>2007-01-14T00:55:51.900+02:00</updated><title type='text'>SQL Server does not exist or access denied</title><content type='html'>SQL Server does not exist or access denied Eğer böyle bir sorunla karşılaşırasanız bunun bir çok ihtimali olabilir.Ama öncellikle Sql server’ın kurulu olduğu makinanın 1433 TCP ve UDp portlarının açık(port opened) olduğuna emin olun.Sonra makinanın firewallını kapatın(firewall off) ve makinanıza bir restart(restart your machine) atın aşağıdaki connection stringi yazıp bir daha deneyin(write this);&lt;br /&gt;&lt;br /&gt;Server=makina adı,1433;Database=veritabanı adı;user id=kullanıcı adı;password=şifre;&lt;br /&gt;&lt;br /&gt;Birde SQl server kurulu olduğu makinada Başlangıç menusundn çalıştıra regedit yazın entera basın ver çıkan ekranda aşağıdaki dosyayı bulun ve SİLİN(erase).&lt;br /&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\Client\ConnectTo\DSQUERY&lt;br /&gt;&lt;br /&gt;microsoft yazısı:http://support.microsoft.com/kb/328306&lt;br /&gt;&lt;br /&gt;ismail tutumluer&lt;div class="blogger-post-footer"&gt;ismail tutumluer&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5583557331987860052-6174384090753514974?l=ismailtutumluer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ismailtutumluer.blogspot.com/feeds/6174384090753514974/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5583557331987860052&amp;postID=6174384090753514974&amp;isPopup=true' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/6174384090753514974'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/6174384090753514974'/><link rel='alternate' type='text/html' href='http://ismailtutumluer.blogspot.com/2007/01/sql-server-does-not-exist-or-access.html' title='SQL Server does not exist or access denied'/><author><name>ismail tutumluer</name><uri>http://www.blogger.com/profile/13880939201119695372</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-r91ZIIvxUmo/TusWe8UBiLI/AAAAAAAAAjw/H-UjRuwvh_U/s1600/ismail-tutumluer.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5583557331987860052.post-6517600946831643721</id><published>2007-01-14T00:52:00.000+02:00</published><updated>2007-01-14T00:53:13.264+02:00</updated><title type='text'>SQL SERVER 2005-SQL SERVER REPORTING SERVICES-1</title><content type='html'>SQL Server 2005 ile birlikte dahil olan ilişkili uygulamalar toplu olarak SQL Server Reporting&lt;br&gt;&lt;br /&gt;Service(SSRS) olarak bilinirler. SSRS,html,pdf,excel ve csv formatlarında rapor&lt;br&gt;&lt;br /&gt;alabilmek için gerekli tüm yönetim ve geliştirme parçalarına sahiptir. SQL&lt;br&gt;&lt;br /&gt;2000�da ayrı olarak internetten indirebiliyorduk fakat SQL 2005 ile birlikte&lt;br&gt;&lt;br /&gt;bütün parçalar paket olarak verilmektedir.Microsoft, SSRS her geçen verdiği&lt;br&gt;&lt;br /&gt;önemle beraber ileriki zamanlarda CrystalReports�la ilişkisini kesecek. Eğer&lt;br&gt;&lt;br /&gt;CrystalReport veya Microsoft Access gibi raporlama araçları kullandıysanız,&lt;br&gt;&lt;br /&gt;SSRS�deki sürükle bırak mantığıyla çalışan rapor oluşturmaya yarayan Report&lt;br&gt;&lt;br /&gt;Designer size tanıdık gelecektir. Buna ek olarak SSRS�deki Report Designer,&lt;br&gt;&lt;br /&gt;&lt;br /&gt;kullanıcıların etkili raporlama yapabilmeleri için,kendi raporlarını&lt;br&gt;&lt;br /&gt;oluşturmalarına olanak sağlamaktadır. Diğer SSRS özelliği ise Report&lt;br&gt;&lt;br /&gt;Subscriptions oluşturarak belirli zamanlarda kullanicilar raporlarını email&lt;br&gt;&lt;br /&gt;olarak alabilmektedir.&lt;/font&gt;&lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;a id="more-8"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt;   &lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt;&lt;strong&gt;KURULUM &lt;/strong&gt;&lt;/font&gt;&lt;br&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt;SQL Server Reporting Service,SQL Server ile birlikte gelmektedir.Reporting Service&lt;br&gt;&lt;br /&gt;kurmadan önce ISS (Internet Information Server)kurulu olduğuna bakınız.Eğer&lt;br&gt;&lt;br /&gt;&lt;br /&gt;kurulu değilse Error 1603 mesajı alacaksınız.Windows servislerden&lt;br&gt;&lt;br /&gt;DTS(Distributed Transaction Service)�in çalışır durumda olması ve Windows�un&lt;br&gt;&lt;br /&gt;başlangıcıyla başlaması gerekmektedir.Kurulum esnasında Components To Install&lt;br&gt;&lt;br /&gt;kısmında Reporting Services işaretlemeniz gerekmektedir. &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;a href="http://ismailtutumluer.wordpress.com/files/2007/01/001.gif" title="001.gif"&gt;&lt;img src="http://ismailtutumluer.wordpress.com/files/2007/01/001.gif" alt="001.gif"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt;SSRS,kurulumdan sonra iki tane ISS�de site yaratacaktır,Reports ve Report Server.Reports&lt;br&gt;&lt;br /&gt;fiziksel olarak Reports, “C:\ Program Files \Microsoft SQL Server \MSSQL.3&lt;br&gt;&lt;br /&gt;\Reporting Services \ReportManager” bulunacaktır. ISS�de sanal dizinde Report&lt;br&gt;&lt;br /&gt;Manager adında Web uygulaması barındırmaktadır. Kurulumdan sonra //server&lt;br&gt;&lt;br /&gt;&lt;br /&gt;adı/Reports (//localhost/reports) sizi Report Manager�ın anasayfasına&lt;br&gt;&lt;br /&gt;yönlendirecektir. &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;a href="http://ismailtutumluer.wordpress.com/files/2007/01/002.jpg" title="002.jpg"&gt;&lt;img src="http://ismailtutumluer.wordpress.com/files/2007/01/002.jpg" alt="002.jpg"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt;Report&lt;br&gt;&lt;br /&gt;Manager,yaratılmış raporları görmek ,düzenlemek ve korumak için kullanılan web&lt;br&gt;&lt;br /&gt;tabanlı bir programdır. Report Manager, birçok özellik barındırmaktadır&lt;br&gt;&lt;br /&gt;bünyesinde,raporları görüntüleme,istediğiniz raporu arama veya görüntüleme,&lt;br&gt;&lt;br /&gt;raporların güvenliğini hangi yetkilerle kimin ne kadar müdahale edeceğini,iş&lt;br&gt;&lt;br /&gt;çizergesi ve Subscriptions yaratma, ad-hoc(kendi yazdığın sql query ile&lt;br&gt;&lt;br /&gt;&lt;br /&gt;oluşturduğun) raporları Report Builder çalıştırma gibi. Diğer sanal dizin olan&lt;br&gt;&lt;br /&gt;ReportServer,Report Manager GUI�ye gitmeden rapor istemeye yarayan bir web&lt;br&gt;&lt;br /&gt;servisdir.Explorer�da http query stringi parametreli gönderdiğinizde raporlar&lt;br&gt;&lt;br /&gt;ve raporların özellikleri istenecektir.Eğer http query stringi parametresiz&lt;br&gt;&lt;br /&gt;olarak gönderirseniz.Aşağıdaki ekran karşınız çıkacaktır.Ekran kısaca&lt;br&gt;&lt;br /&gt;raporların dizin gösterimidir. &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;a href="http://ismailtutumluer.wordpress.com/files/2007/01/003.gif" title="003.gif"&gt;&lt;img src="http://ismailtutumluer.wordpress.com/files/2007/01/003.gif" alt="003.gif"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt;ReportServer ile Reports sanal dizinlerinin raporlamadaki HTTP query stringindeki gösterim farkı:&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;a href="http://ismailtutumluer.wordpress.com/files/2007/01/2.JPG" title="2.JPG"&gt;&lt;img src="http://ismailtutumluer.wordpress.com/files/2007/01/2.JPG" alt="2.JPG"&gt;&lt;/a&gt;&lt;a href="http://ismailtutumluer.wordpress.com/files/2007/01/1.JPG" title="1.JPG"&gt;&lt;img src="http://ismailtutumluer.wordpress.com/files/2007/01/1.JPG" alt="1.JPG"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt;&lt;strong&gt;KONFİGÜRASYON(Configuration)&lt;/strong&gt;&lt;br&gt;&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt;İster kurulum esnasında isterse kurulumdan sonra konfigürasyon yapabilirsiniz.Reporting&lt;br&gt;&lt;br /&gt;Server�da konfigürasyon yapmamıza yardım edecek aracımız Configuration&lt;br&gt;&lt;br /&gt;Manager�dır.Tüm Programlar\Microsoft SQL Server 2005\Configuration&lt;br&gt;&lt;br /&gt;Tools\Reporting Services Configuration Manager &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;a href="http://ismailtutumluer.wordpress.com/files/2007/01/004.jpg" title="004.jpg"&gt;&lt;img src="http://ismailtutumluer.wordpress.com/files/2007/01/004.jpg" alt="004.jpg"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt;Configuration Manager ilk bağlandığınızda SSRS machine ve instance name için bilgi doğrulama&lt;br&gt;&lt;br /&gt;istediğinde bulunacaksınız.Eğer doğrulama gerçekleşirse karşınıza gelen ilk&lt;br&gt;&lt;br /&gt;&lt;br /&gt;ekranda “Server Status” belirecektir.Initialized “Yes” olmalı ve Service �da&lt;br&gt;&lt;br /&gt;çalışır durumda olmalıdır.Bir sonraki ekran “Reporting Service Virtual&lt;br&gt;&lt;br /&gt;Directory” ISS�de sanal alanların isimlerini değiştirmek için kullanılır.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt;&lt;strong&gt;Şifreleme Anahtarları(Encryption Keys)&lt;/strong&gt;&lt;br&gt;&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt;Kullanıcı ve Adı, Reporting Service�de şifrelenmiştir.Bu şifrelenmiş bilgi veri&lt;br&gt;&lt;br /&gt;kaynağına(Data Source) veya raporlara ulaşırken kullandığınız bilgidir.Eğer&lt;br&gt;&lt;br /&gt;&lt;br /&gt;şifreleme yaptığınız anahtar bozulursa,Reporting Service duracaktır.Anahtarı bu&lt;br&gt;&lt;br /&gt;yüzden yedeklemeniz gerekmektedir.Aşağıdaki adımları yaptığınız zaman&lt;br&gt;&lt;br /&gt;anahtarlarınızı yedeklemiş olacaksınız;&lt;br&gt;&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;br /&gt;&lt;ul&gt;  &lt;font face="Verdana" size="2"&gt;&lt;/font&gt; &lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt;&lt;br /&gt;&lt;li&gt;    Configuration Manager anahtarları seçiniz&lt;/li&gt;&lt;br /&gt;&lt;li&gt;    BackUp butununa basınız.&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;    Password yazınız.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;   Nereye kaydediceğinizi yazınız.&lt;/li&gt;&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;p&gt;&lt;/p&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt; &lt;/font&gt;&lt;/font&gt; &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt;İlerde şifre zarara uğrarsa kayıt ettiğiniz yerden şifreyi geri alabilirsiniz.&lt;br&gt;&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt; &lt;/font&gt;&lt;/font&gt; &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt;&lt;strong&gt;BIDS &lt;/strong&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt; &lt;/font&gt;&lt;/font&gt; &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt;Rapor oluştururken sürükle bırak uygulamasına Business Intelligence Development&lt;br&gt;&lt;br /&gt;Studio(BIDS) denir.BIDS kolayca data source ve rapor oluşturmamıza izin&lt;br&gt;&lt;br /&gt;verir.Tüm Programlar\Microsoft SQL Server 2005\SQL Server Business Intelligence&lt;br&gt;&lt;br /&gt;Development Studio &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;font face="Verdana" size="2"&gt;&lt;font face="Verdana" size="2"&gt;ismail tutumluer&lt;br&gt;&lt;br /&gt;&lt;/font&gt;&lt;div class="blogger-post-footer"&gt;ismail tutumluer&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5583557331987860052-6517600946831643721?l=ismailtutumluer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ismailtutumluer.blogspot.com/feeds/6517600946831643721/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5583557331987860052&amp;postID=6517600946831643721&amp;isPopup=true' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/6517600946831643721'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/6517600946831643721'/><link rel='alternate' type='text/html' href='http://ismailtutumluer.blogspot.com/2007/01/sql-server-2005-sql-server-reporting.html' title='SQL SERVER 2005-SQL SERVER REPORTING SERVICES-1'/><author><name>ismail tutumluer</name><uri>http://www.blogger.com/profile/13880939201119695372</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-r91ZIIvxUmo/TusWe8UBiLI/AAAAAAAAAjw/H-UjRuwvh_U/s1600/ismail-tutumluer.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5583557331987860052.post-1299869975175259723</id><published>2007-01-14T00:50:00.000+02:00</published><updated>2007-01-14T00:51:27.922+02:00</updated><title type='text'>ODBC ERROR.Microsoft ODBC Sql Server driver Sql server An invalid parameter or option was specified for procedure ’sp_addextendedproperty’</title><content type='html'>ODBC ERROR.Microsoft ODBC Sql Server driver Sql server An invalid parameter or option was specified for procedure &lt;strong&gt;’sp_addextendedproperty’&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;a id="more-17"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;font face="Verdana"&gt;    Bu hata arkadaşlar veritabanınızın Collation Name’nizin &lt;strong&gt;Turkish_CI_AS  veya benzeri&lt;br&gt;&lt;br /&gt;dillerden &lt;/strong&gt;olmasından kaynaklanıyor olabilir.&lt;/font&gt;&lt;/p&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;a href="http://ismailtutumluer.wordpress.com/files/2007/01/11.JPG" title="11.JPG"&gt;&lt;img src="http://ismailtutumluer.wordpress.com/files/2007/01/11.JPG" alt="11.JPG"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;font face="Verdana"&gt;    Çok şık karşılaşılan bu&lt;br&gt;&lt;br /&gt;hatayı düzeltmenin en kolay yollarından biri veritabanınızın Collation Name’ini&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;SQL_Latin1_General_CP1_CI_AS &lt;/strong&gt;olarak değiştirmeniz halinde hatayla&lt;br&gt;&lt;br /&gt;karşılaşmayacaksınız.Fakat veritabanınızda Türkçe karakter tutuyorsanız bu&lt;br&gt;&lt;br /&gt;verilere ait kolonlarınızı veri tipini nvarchar yapmanız gerekmektir.Yoksa&lt;br&gt;&lt;br /&gt;Türkçe karakter girdiğinizde hatayla karşılaşacaksınızdır.Collation Name&lt;br&gt;&lt;br /&gt;aşağıdaki TSQL koduyla düzeltebilirsiniz;&lt;/font&gt;&lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt; &lt;a href="http://ismailtutumluer.wordpress.com/files/2007/01/21.JPG" title="21.JPG"&gt;&lt;img src="http://ismailtutumluer.wordpress.com/files/2007/01/21.JPG" alt="21.JPG"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;font face="Verdana"&gt;&lt;br&gt;&lt;br /&gt;&amp;lt;DATABASE&amp;gt; yerine veritabanınız adını yazınız,&lt;/font&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;font face="Verdana"&gt;&lt;br&gt;&lt;br /&gt;&amp;lt;COLLATION&amp;gt; yerine  veritabanınız çevireceğiniz&lt;br&gt;&lt;br /&gt;&lt;strong&gt;SQL_Latin1_General_CP1_CI_AS &lt;/strong&gt;yazınız.&lt;/font&gt;&lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;font face="Verdana"&gt;&lt;br&gt;&lt;br /&gt;Büyük ihtimal karşılaştığınız bu hattıyı düzeltecektir.&lt;/font&gt;&lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;font face="Verdana"&gt;&lt;br&gt;&lt;br /&gt;ismail h.tutumluer&lt;/font&gt;&lt;div class="blogger-post-footer"&gt;ismail tutumluer&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5583557331987860052-1299869975175259723?l=ismailtutumluer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ismailtutumluer.blogspot.com/feeds/1299869975175259723/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5583557331987860052&amp;postID=1299869975175259723&amp;isPopup=true' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/1299869975175259723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/1299869975175259723'/><link rel='alternate' type='text/html' href='http://ismailtutumluer.blogspot.com/2007/01/odbc-errormicrosoft-odbc-sql-server.html' title='ODBC ERROR.Microsoft ODBC Sql Server driver Sql server An invalid parameter or option was specified for procedure ’sp_addextendedproperty’'/><author><name>ismail tutumluer</name><uri>http://www.blogger.com/profile/13880939201119695372</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-r91ZIIvxUmo/TusWe8UBiLI/AAAAAAAAAjw/H-UjRuwvh_U/s1600/ismail-tutumluer.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5583557331987860052.post-946553694004855295</id><published>2007-01-14T00:48:00.000+02:00</published><updated>2007-01-14T00:50:33.763+02:00</updated><title type='text'>Asp.Net C# ‘System.Web.HttpRequest.ServerVariables’ denotes a ‘property’ where a ‘method’ was expected</title><content type='html'>&lt;div class="snap_preview"&gt;&lt;p&gt;Asp.Net C# ‘System.Web.HttpRequest.ServerVariables’ denotes a ‘property’ where a ‘method’ was expected&lt;/p&gt; &lt;p&gt;example solution:&lt;/p&gt; &lt;p&gt;string strRequestMethod;&lt;br /&gt;strRequestMethod =Page.Request.ServerVariables[”HTTP_REFERER”]&lt;/p&gt;  &lt;p&gt;Son geldiğiniz sayfaya geri dönme(Return back  last page or previous page)&lt;/p&gt; &lt;p&gt;Sayfanızın HTML tarafına  içine&lt;/p&gt; &lt;p&gt;&lt;br /&gt;&lt;/p&gt; &lt;p&gt;&lt;meta equiv="”refresh”" content="”10;URL="&lt;%="Request.ServerVariables[”HTTP_REFERER”]%"&gt;”&gt;&lt;/p&gt; &lt;p&gt;&lt;br /&gt;&lt;/p&gt; &lt;p&gt;yazınız .Geldiğiniz  sayfaya 10 saniye içinde geri döneceksiniz.&lt;/p&gt; &lt;p&gt;ismail tutumluer&lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;ismail tutumluer&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5583557331987860052-946553694004855295?l=ismailtutumluer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ismailtutumluer.blogspot.com/feeds/946553694004855295/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5583557331987860052&amp;postID=946553694004855295&amp;isPopup=true' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/946553694004855295'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5583557331987860052/posts/default/946553694004855295'/><link rel='alternate' type='text/html' href='http://ismailtutumluer.blogspot.com/2007/01/aspnet-c-systemwebhttprequestservervari.html' title='Asp.Net C# ‘System.Web.HttpRequest.ServerVariables’ denotes a ‘property’ where a ‘method’ was expected'/><author><name>ismail tutumluer</name><uri>http://www.blogger.com/profile/13880939201119695372</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-r91ZIIvxUmo/TusWe8UBiLI/AAAAAAAAAjw/H-UjRuwvh_U/s1600/ismail-tutumluer.jpg'/></author><thr:total>0</thr:total></entry></feed>
