<?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:blogger='http://schemas.google.com/blogger/2008' 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-6342892719090659519</id><updated>2024-10-05T07:13:35.304+04:00</updated><category term="C#"/><category term="ASP"/><category term="ASP.NET"/><category term="SQL Server"/><category term="MSSQL"/><category term=".NET"/><category term="Computer science"/><category term="Crystal report"/><category term="Cursor"/><category term="Error"/><category term="PHPbb"/><category term="TabIndex"/><category term="Top"/><category term="Url"/><category term="Visual Basic"/><category term="bots"/><category term="coding"/><category term="colorful code"/><category term="connection string"/><category term="forum"/><category term="highlight code"/><category term="html code"/><category term="message box"/><category term="process"/><category term="start process"/><category term="variables"/><title type='text'>CODE Reminder</title><subtitle type='html'>Remind your code! &#xa;Answer your questions!</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://codereminder.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://codereminder.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15176391138914516876</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>36</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6342892719090659519.post-6841931863241824660</id><published>2010-04-28T12:56:00.000+05:00</published><updated>2010-04-28T12:57:38.431+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Basic"/><title type='text'>Convert Visual Basic code to C#</title><content type='html'>&lt;a href=&quot;http://www.developerfusion.com/tools/convert/vb-to-csharp/&quot;&gt;http://www.developerfusion.com/tools/convert/vb-to-csharp/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://codereminder.blogspot.com/feeds/6841931863241824660/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codereminder.blogspot.com/2010/04/convert-visual-basic-code-to-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/6841931863241824660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/6841931863241824660'/><link rel='alternate' type='text/html' href='http://codereminder.blogspot.com/2010/04/convert-visual-basic-code-to-c.html' title='Convert Visual Basic code to C#'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6342892719090659519.post-4790319708146404906</id><published>2010-04-24T10:19:00.006+05:00</published><updated>2010-04-24T11:00:45.670+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Computer science"/><title type='text'>Computer Science</title><content type='html'>&lt;h2  style=&quot;font-family:verdana;&quot;&gt;&lt;span style=&quot;font-size:78%;&quot;&gt;Advice for Computer Science College Students&lt;/span&gt;&lt;/h2&gt;             &lt;div class=&quot;author&quot;&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;by Joel Spolsky&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;a style=&quot;font-family: verdana;&quot; href=&quot;http://www.joelonsoftware.com/articles/CollegeAdvice.html&quot;&gt;http://www.joelonsoftware.com/articles/CollegeAdvice.html&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codereminder.blogspot.com/feeds/4790319708146404906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codereminder.blogspot.com/2010/04/computer-science.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/4790319708146404906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/4790319708146404906'/><link rel='alternate' type='text/html' href='http://codereminder.blogspot.com/2010/04/computer-science.html' title='Computer Science'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6342892719090659519.post-1457201414345238882</id><published>2010-03-19T12:40:00.002+04:00</published><updated>2010-04-24T10:59:43.029+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL Server"/><category scheme="http://www.blogger.com/atom/ns#" term="Top"/><title type='text'>SQL Select Top N within Group By?</title><content type='html'>&lt;style type=&quot;text/css&quot;&gt;&lt;br /&gt;.code0 { font-size: small; font-family: Consolas, &quot;Courier New&quot;, Courier, Monospace; color: #000000; background-color: #ffffff;margin: 0em; }&lt;br /&gt;.code1 { color: #000000; }&lt;br /&gt;&lt;/style&gt;&lt;br /&gt;&lt;pre class=&quot;code0&quot;&gt;&lt;br /&gt;&lt;span class=&quot;code1&quot;&gt;SELECT  ID, groupName, hitValue, &lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;code1&quot;&gt;Rank()  OVER (PARTITION BY groupName ORDER BY hitValueDESC) AS Rank&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;code1&quot;&gt;FROM    myHits&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!-- google_ad_client = &quot;pub-3948083308385541&quot;; /* 234x60, oluşturulma 23.04.2010 */ google_ad_slot = &quot;9384588190&quot;; google_ad_width = 234; google_ad_height = 60; //--&gt;&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://codereminder.blogspot.com/feeds/1457201414345238882/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codereminder.blogspot.com/2010/03/sql-select-top-n-within-group-by.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/1457201414345238882'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/1457201414345238882'/><link rel='alternate' type='text/html' href='http://codereminder.blogspot.com/2010/03/sql-select-top-n-within-group-by.html' title='SQL Select Top N within Group By?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6342892719090659519.post-3825602018896877833</id><published>2009-11-12T08:47:00.001+04:00</published><updated>2009-11-12T08:48:55.688+04:00</updated><title type='text'>How SQL Server 2005 stores nvarchar(n)?</title><content type='html'>If we take nvarchar(3000) for a column, server does not allocate 3000 character at the initial.&lt;br /&gt;It means if we write 200 characters into that column it will allocate 200 only not 3000.</content><link rel='replies' type='application/atom+xml' href='http://codereminder.blogspot.com/feeds/3825602018896877833/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codereminder.blogspot.com/2009/11/how-sql-server-2005-stores-nvarcharn.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/3825602018896877833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/3825602018896877833'/><link rel='alternate' type='text/html' href='http://codereminder.blogspot.com/2009/11/how-sql-server-2005-stores-nvarcharn.html' title='How SQL Server 2005 stores nvarchar(n)?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6342892719090659519.post-1937743117569381567</id><published>2009-11-12T08:44:00.002+04:00</published><updated>2009-11-12T08:47:13.754+04:00</updated><title type='text'>Windows run line commands?</title><content type='html'>&lt;span style=&quot;font-weight: bold;&quot;&gt;logoff &lt;/span&gt;- logoff&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;mstsc &lt;/span&gt;- remote desktop connection&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;inetmgr &lt;/span&gt;- IIS service&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;regedit &lt;/span&gt;- registry editing tool</content><link rel='replies' type='application/atom+xml' href='http://codereminder.blogspot.com/feeds/1937743117569381567/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codereminder.blogspot.com/2009/11/windows-run-line-commands.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/1937743117569381567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/1937743117569381567'/><link rel='alternate' type='text/html' href='http://codereminder.blogspot.com/2009/11/windows-run-line-commands.html' title='Windows run line commands?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6342892719090659519.post-1200444654604379918</id><published>2009-11-12T08:43:00.003+04:00</published><updated>2009-11-12T08:44:34.211+04:00</updated><title type='text'>How to disable drildown at Crystal Reports?</title><content type='html'>If we make the &lt;span style=&quot;font-weight: bold;&quot;&gt;EnableDrillDown &lt;/span&gt;property false, crystal report will not go into the detail of sub reports.</content><link rel='replies' type='application/atom+xml' href='http://codereminder.blogspot.com/feeds/1200444654604379918/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codereminder.blogspot.com/2009/11/how-to-disable-drildown-at-crystal.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/1200444654604379918'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/1200444654604379918'/><link rel='alternate' type='text/html' href='http://codereminder.blogspot.com/2009/11/how-to-disable-drildown-at-crystal.html' title='How to disable drildown at Crystal Reports?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6342892719090659519.post-1557177274546187104</id><published>2009-09-07T16:04:00.002+05:00</published><updated>2009-09-07T16:05:39.108+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><title type='text'>How to write into a .doc (Word) file in c#?</title><content type='html'>private void MakeDoc(object fileMain, string number)&lt;br /&gt;        {&lt;br /&gt;            Microsoft.Office.Interop.Word.ApplicationClass WordApp = new Microsoft.Office.Interop.Word.ApplicationClass();&lt;br /&gt;&lt;br /&gt;            object nullobj = System.Reflection.Missing.Value;&lt;br /&gt;&lt;br /&gt;            WordApp.Visible = false;&lt;br /&gt;&lt;br /&gt;            Microsoft.Office.Interop.Word.Document doc = WordApp.Documents.Open(&lt;br /&gt;                    ref fileMain, ref nullobj, ref nullobj,&lt;br /&gt;                    ref nullobj, ref nullobj, ref nullobj,&lt;br /&gt;                    ref nullobj, ref nullobj, ref nullobj,&lt;br /&gt;                    ref nullobj, ref nullobj, ref nullobj,&lt;br /&gt;                    ref nullobj, ref nullobj, ref nullobj, ref nullobj);&lt;br /&gt;&lt;br /&gt;            doc.Activate();&lt;br /&gt;&lt;br /&gt;            FindAndReplace(WordApp, &quot;&lt;number&gt;&quot;, number);&lt;br /&gt;&lt;br /&gt;            object fileOutput = Directory.GetCurrentDirectory() + @&quot;\K.doc&quot;;&lt;br /&gt;            doc.SaveAs(ref fileOutput, ref nullobj, ref nullobj,&lt;br /&gt;                    ref nullobj, ref nullobj, ref nullobj,&lt;br /&gt;                    ref nullobj, ref nullobj, ref nullobj,&lt;br /&gt;                    ref nullobj, ref nullobj, ref nullobj,&lt;br /&gt;                    ref nullobj, ref nullobj, ref nullobj, ref nullobj);&lt;br /&gt;&lt;br /&gt;            doc.Close(ref nullobj, ref nullobj, ref nullobj);&lt;br /&gt;            WordApp.Quit(ref nullobj, ref nullobj, ref nullobj);&lt;br /&gt;&lt;br /&gt;            Functions.OpenFile(fileOutput.ToString());&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        private void FindAndReplace(Microsoft.Office.Interop.Word.Application WordApp, object findText, object replaceWithText)&lt;br /&gt;        {&lt;br /&gt;            object matchCase = true;&lt;br /&gt;            object matchWholeWord = true;&lt;br /&gt;            object matchWildCards = false;&lt;br /&gt;            object matchSoundsLike = false;&lt;br /&gt;            object nMatchAllWordForms = false;&lt;br /&gt;            object forward = true;&lt;br /&gt;            object format = false;&lt;br /&gt;            object matchKashida = false;&lt;br /&gt;            object matchDiacritics = false;&lt;br /&gt;            object matchAlefHamza = false;&lt;br /&gt;            object matchControl = false;&lt;br /&gt;            object read_only = false;&lt;br /&gt;            object visible = true;&lt;br /&gt;            object replace = 2;&lt;br /&gt;            object wrap = 1;&lt;br /&gt;&lt;br /&gt;            WordApp.Selection.Find.Execute(ref findText,&lt;br /&gt;            ref matchCase, ref matchWholeWord, ref matchWildCards,&lt;br /&gt;            ref matchSoundsLike, ref nMatchAllWordForms, ref forward,&lt;br /&gt;            ref wrap, ref format, ref replaceWithText, ref replace,&lt;br /&gt;            ref matchKashida, ref matchDiacritics, ref matchAlefHamza,&lt;br /&gt;            ref matchControl);&lt;br /&gt;        }</content><link rel='replies' type='application/atom+xml' href='http://codereminder.blogspot.com/feeds/1557177274546187104/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codereminder.blogspot.com/2009/09/how-to-write-into-doc-word-file-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/1557177274546187104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/1557177274546187104'/><link rel='alternate' type='text/html' href='http://codereminder.blogspot.com/2009/09/how-to-write-into-doc-word-file-in-c.html' title='How to write into a .doc (Word) file in c#?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6342892719090659519.post-7151757198508489553</id><published>2009-09-05T10:39:00.000+05:00</published><updated>2009-09-05T10:40:18.538+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><title type='text'>How to change mouse curser?</title><content type='html'>&lt;span style=&quot;font-family:Courier New, Courier, mono;font-size:85%;color:#0000ff;&quot;&gt;this&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, Courier, mono;font-size:85%;&quot;&gt;.Cursor = Cursors.WaitCursor;&lt;/span&gt;    &lt;br /&gt;&lt;br /&gt;....&lt;br /&gt;&lt;br /&gt;        &lt;span style=&quot;font-family:Courier New, Courier, mono;font-size:85%;color:#0000ff;&quot;&gt;this&lt;/span&gt;&lt;span style=&quot;font-family:Courier New, Courier, mono;font-size:85%;&quot;&gt;.Cursor = Cursors.Default;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://codereminder.blogspot.com/feeds/7151757198508489553/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codereminder.blogspot.com/2009/09/how-to-change-mouse-curser.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/7151757198508489553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/7151757198508489553'/><link rel='alternate' type='text/html' href='http://codereminder.blogspot.com/2009/09/how-to-change-mouse-curser.html' title='How to change mouse curser?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6342892719090659519.post-3530364098068511739</id><published>2009-09-02T10:37:00.001+05:00</published><updated>2009-09-02T10:37:39.897+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><title type='text'>C# double count of digits after point?</title><content type='html'>Convert.ToSingle(myValue).ToString(&quot;N2&quot;);</content><link rel='replies' type='application/atom+xml' href='http://codereminder.blogspot.com/feeds/3530364098068511739/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codereminder.blogspot.com/2009/09/c-double-count-of-digits-after-point.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/3530364098068511739'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/3530364098068511739'/><link rel='alternate' type='text/html' href='http://codereminder.blogspot.com/2009/09/c-double-count-of-digits-after-point.html' title='C# double count of digits after point?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6342892719090659519.post-7601005731183210179</id><published>2009-09-02T08:11:00.004+05:00</published><updated>2010-04-24T11:06:25.023+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><title type='text'>How to copy a folder to new location in c# recursively?</title><content type='html'>&lt;pre class=&quot;code0&quot;&gt;&lt;span class=&quot;code1&quot;&gt;public &lt;/span&gt;&lt;span class=&quot;code2&quot;&gt;void &lt;/span&gt;&lt;span class=&quot;code3&quot;&gt;CopyFolder&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;code2&quot;&gt;string &lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;sourceFolder&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;code2&quot;&gt;string &lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;destFolder&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;code4&quot;&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;code1&quot;&gt;if &lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;(!&lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;Directory&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;code3&quot;&gt;Exists&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;destFolder&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;))&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;code5&quot;&gt;Directory&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;code3&quot;&gt;CreateDirectory&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;destFolder&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;code2&quot;&gt;string&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;[] &lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;files &lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;= &lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;Directory&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;code3&quot;&gt;GetFiles&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;sourceFolder&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;code2&quot;&gt;string&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;[] &lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;folders &lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;= &lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;Directory&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;code3&quot;&gt;GetDirectories&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;sourceFolder&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;code1&quot;&gt;foreach &lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;code2&quot;&gt;string &lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;file &lt;/span&gt;&lt;span class=&quot;code1&quot;&gt;in &lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;files&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;code4&quot;&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;code2&quot;&gt;string &lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;name &lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;= &lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;Path&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;code3&quot;&gt;GetFileName&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;file&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;code2&quot;&gt;string &lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;dest &lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;= &lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;Path&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;code3&quot;&gt;Combine&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;destFolder&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;code5&quot;&gt;File&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;code3&quot;&gt;Copy&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;file&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;dest&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;code4&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;code1&quot;&gt;foreach &lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;code2&quot;&gt;string &lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;folder &lt;/span&gt;&lt;span class=&quot;code1&quot;&gt;in &lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;folders&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;code4&quot;&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;code2&quot;&gt;string &lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;name &lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;= &lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;Path&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;code3&quot;&gt;GetFileName&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;folder&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;code2&quot;&gt;string &lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;dest &lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;= &lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;Path&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;code3&quot;&gt;Combine&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;destFolder&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;code3&quot;&gt;CopyFolder&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;folder&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;code5&quot;&gt;dest&lt;/span&gt;&lt;span class=&quot;code4&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;code4&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;code4&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://codereminder.blogspot.com/feeds/7601005731183210179/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codereminder.blogspot.com/2009/09/how-to-copy-folder-to-new-location-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/7601005731183210179'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/7601005731183210179'/><link rel='alternate' type='text/html' href='http://codereminder.blogspot.com/2009/09/how-to-copy-folder-to-new-location-in-c.html' title='How to copy a folder to new location in c# recursively?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6342892719090659519.post-3092386470855770403</id><published>2009-08-18T18:43:00.000+05:00</published><updated>2009-08-18T18:44:57.593+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".NET"/><title type='text'>How to learn Windows XP .NET framework version?</title><content type='html'>Look at registry:&lt;br /&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP</content><link rel='replies' type='application/atom+xml' href='http://codereminder.blogspot.com/feeds/3092386470855770403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codereminder.blogspot.com/2009/08/how-to-learn-windows-xp-net-framework.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/3092386470855770403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/3092386470855770403'/><link rel='alternate' type='text/html' href='http://codereminder.blogspot.com/2009/08/how-to-learn-windows-xp-net-framework.html' title='How to learn Windows XP .NET framework version?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6342892719090659519.post-5795858313350151800</id><published>2009-08-17T18:19:00.001+05:00</published><updated>2009-08-17T18:20:52.797+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="TabIndex"/><title type='text'>Use ENTER key instead TAB key?</title><content type='html'>protected override bool ProcessDialogKey(Keys keyData)&lt;br /&gt;       {&lt;br /&gt;           if (keyData == Keys.Enter)&lt;br /&gt;           {&lt;br /&gt;               Control c = this.GetNextControl(ActiveControl, true);&lt;br /&gt;               if (c != null)&lt;br /&gt;               {&lt;br /&gt;                   c.Focus();&lt;br /&gt;               }&lt;br /&gt;           }&lt;br /&gt;           return base.ProcessDialogKey(keyData);&lt;br /&gt;       }</content><link rel='replies' type='application/atom+xml' href='http://codereminder.blogspot.com/feeds/5795858313350151800/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codereminder.blogspot.com/2009/08/use-enter-key-instead-tab-key.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/5795858313350151800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/5795858313350151800'/><link rel='alternate' type='text/html' href='http://codereminder.blogspot.com/2009/08/use-enter-key-instead-tab-key.html' title='Use ENTER key instead TAB key?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6342892719090659519.post-5026516389960073168</id><published>2009-08-13T09:37:00.000+05:00</published><updated>2009-08-13T09:38:30.520+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><title type='text'>How to measure program performance in c#?</title><content type='html'>&lt;span style=&quot;font-weight: bold;&quot;&gt;DateTime start = DateTime.Now;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;Code.....&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;TimeSpan end = DateTime.Now.Subtract(start);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;MessageBox.Show(end.TotalMilliseconds.ToString()); &lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://codereminder.blogspot.com/feeds/5026516389960073168/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codereminder.blogspot.com/2009/08/how-to-measure-program-performance-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/5026516389960073168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/5026516389960073168'/><link rel='alternate' type='text/html' href='http://codereminder.blogspot.com/2009/08/how-to-measure-program-performance-in-c.html' title='How to measure program performance in c#?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6342892719090659519.post-6623786294115773672</id><published>2009-08-12T18:06:00.000+05:00</published><updated>2009-08-12T18:07:07.835+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><title type='text'>C# DateTime Formats</title><content type='html'>DateTime.Now.ToString(&quot;dd.MM.yyyy HH:mm&quot;);</content><link rel='replies' type='application/atom+xml' href='http://codereminder.blogspot.com/feeds/6623786294115773672/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codereminder.blogspot.com/2009/08/c-datetime-formats.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/6623786294115773672'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/6623786294115773672'/><link rel='alternate' type='text/html' href='http://codereminder.blogspot.com/2009/08/c-datetime-formats.html' title='C# DateTime Formats'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6342892719090659519.post-4995971339706378980</id><published>2009-08-12T14:08:00.003+05:00</published><updated>2009-08-12T14:10:22.539+05:00</updated><title type='text'>What are Microsoft Office Tools Scanning commands?</title><content type='html'>Run line command: &lt;br /&gt;&lt;br /&gt;Viewer: MSPVIEW&lt;br /&gt;Scanner: C:\Program Files\Common Files\Microsoft Shared\MODI\11.0\MSPSCAN.EXE</content><link rel='replies' type='application/atom+xml' href='http://codereminder.blogspot.com/feeds/4995971339706378980/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codereminder.blogspot.com/2009/08/what-are-microsoft-office-tools.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/4995971339706378980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/4995971339706378980'/><link rel='alternate' type='text/html' href='http://codereminder.blogspot.com/2009/08/what-are-microsoft-office-tools.html' title='What are Microsoft Office Tools Scanning commands?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6342892719090659519.post-6961834421508024612</id><published>2009-04-22T09:12:00.001+05:00</published><updated>2009-04-22T09:12:42.925+05:00</updated><title type='text'>Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.</title><content type='html'>&lt;a href=&quot;http://blog.crowe.co.nz/archive/2006/03/02/589.aspx&quot;&gt;http://blog.crowe.co.nz/archive/2006/03/02/589.aspx&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://codereminder.blogspot.com/feeds/6961834421508024612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codereminder.blogspot.com/2009/04/retrieving-com-class-factory-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/6961834421508024612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/6961834421508024612'/><link rel='alternate' type='text/html' href='http://codereminder.blogspot.com/2009/04/retrieving-com-class-factory-for.html' title='Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6342892719090659519.post-6964437330323053014</id><published>2009-04-08T11:48:00.002+05:00</published><updated>2009-04-08T11:51:49.014+05:00</updated><title type='text'>How to measure performance of Queries?</title><content type='html'>&lt;pre&gt;&lt;div&gt;&lt;!--  Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/  --&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;1&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;SET&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; LANGUAGE ENGLISH&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;2&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;SET&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;STATISTICS&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; TIME &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;ON&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;3&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;SET&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;STATISTICS&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; IO &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;ON&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;4&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;5&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;6&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;PRINT&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;Result of first Query&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;7&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Your first Query&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;8&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;PRINT&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;Result of second Query&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;9&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Your second Query&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://stackoverflow.com/questions/590079/for-autoincrement-fields-maxid-vs-top-1-id-order-by-id-desc&quot;&gt;Reference&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://codereminder.blogspot.com/feeds/6964437330323053014/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codereminder.blogspot.com/2009/04/how-to-measure-performance-of-queries.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/6964437330323053014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/6964437330323053014'/><link rel='alternate' type='text/html' href='http://codereminder.blogspot.com/2009/04/how-to-measure-performance-of-queries.html' title='How to measure performance of Queries?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6342892719090659519.post-8770963093016776781</id><published>2009-04-07T10:30:00.001+05:00</published><updated>2009-04-07T10:31:38.881+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MSSQL"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL Server"/><title type='text'>How to reset auto increment value of a table in Ms SQL?</title><content type='html'>DBCC CHECKIDENT (tablename, RESEED, 0)</content><link rel='replies' type='application/atom+xml' href='http://codereminder.blogspot.com/feeds/8770963093016776781/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codereminder.blogspot.com/2009/04/how-to-reset-auto-increment-value-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/8770963093016776781'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/8770963093016776781'/><link rel='alternate' type='text/html' href='http://codereminder.blogspot.com/2009/04/how-to-reset-auto-increment-value-of.html' title='How to reset auto increment value of a table in Ms SQL?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6342892719090659519.post-8384257211520883778</id><published>2009-04-06T15:57:00.001+05:00</published><updated>2009-04-06T15:59:38.386+05:00</updated><title type='text'>How to handle ASP.NET textbox client side events?</title><content type='html'>function(s, e)&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;alert(s.GetValue());&lt;br /&gt;&lt;br /&gt;anotherTextBoxClientİnstanceName.SetValue(&#39;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;asdsd&lt;/span&gt;&#39;);&lt;br /&gt;&lt;br /&gt;}</content><link rel='replies' type='application/atom+xml' href='http://codereminder.blogspot.com/feeds/8384257211520883778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codereminder.blogspot.com/2009/04/how-to-handle-aspnet-textbox-client.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/8384257211520883778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/8384257211520883778'/><link rel='alternate' type='text/html' href='http://codereminder.blogspot.com/2009/04/how-to-handle-aspnet-textbox-client.html' title='How to handle ASP.NET textbox client side events?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6342892719090659519.post-7168548054029969530</id><published>2009-03-29T17:28:00.002+05:00</published><updated>2009-03-29T17:50:21.618+05:00</updated><title type='text'>What is JSP (Java Server Pages)?</title><content type='html'>JSP - Java server pages.&lt;br /&gt;&lt;br /&gt;JSP is programming language(environment) to develop dynamic web pages.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Developed by Sun Microsystems&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Works on both IIS (Internet Information System) and Apache (Commonly Tomcat used)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;.jsp files are compiled into Java Servlets by a JSP compiler on JSP Servlet engine.&lt;/li&gt;&lt;li&gt;.jsp files are parsed once and used forever.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;%! ... %&gt; is used for variable and method declarations.&lt;/li&gt;&lt;li&gt;scriptlet: &lt;% ... %&gt; tags, any valid Java code is called scriptlet.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;% -- my comment -- %&gt; or &lt;% /* my Comment */%&gt;&lt;/li&gt;&lt;li&gt;&lt;%= expression ... %&gt; - we do not use (;) at this&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;%@ directives ... %&gt; : directives give special information about the page to the JSP engine.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;JSTL - JSP Standard tag library&lt;/li&gt;&lt;/ul&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Advantages:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Multiplatform&lt;/li&gt;&lt;li&gt;Component reuse by using Javabeans + EJB&lt;/li&gt;&lt;li&gt;advantages of Java&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Execution steps of .jsp files&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;send .jsp file to JSP Servlet engine&lt;/li&gt;&lt;li&gt;parse .jsp file&lt;/li&gt;&lt;li&gt;generate servlet source code&lt;/li&gt;&lt;li&gt;compile servlet source code into class&lt;/li&gt;&lt;li&gt;instantiate servlate&lt;/li&gt;&lt;li&gt;send HTML (servlet output) to client&lt;/li&gt;&lt;/ul&gt;&lt;a href=&quot;http://www.visualbuilder.com/jsp/tutorial/creating-your-first-jsp-page/&quot;&gt;reference&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://codereminder.blogspot.com/feeds/7168548054029969530/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codereminder.blogspot.com/2009/03/what-is-jsp-java-server-pages.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/7168548054029969530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/7168548054029969530'/><link rel='alternate' type='text/html' href='http://codereminder.blogspot.com/2009/03/what-is-jsp-java-server-pages.html' title='What is JSP (Java Server Pages)?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6342892719090659519.post-1195169756489890966</id><published>2009-03-17T11:04:00.004+04:00</published><updated>2009-03-17T16:02:17.462+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bots"/><category scheme="http://www.blogger.com/atom/ns#" term="forum"/><category scheme="http://www.blogger.com/atom/ns#" term="PHPbb"/><title type='text'>How to manage PHPbb forum databse tables?</title><content type='html'>How to clean bots from PHPbb forum?&lt;br /&gt;&lt;br /&gt;Statistics shown in frontpage such as&lt;br /&gt;&lt;br /&gt;Username of last user, total number of users, topics and posts are stored in&lt;br /&gt;&lt;li&gt; &lt;span style=&quot;font-weight: bold;&quot;&gt;phpbb_config&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;Last post author name wrote on a forum is stored in&lt;br /&gt;&lt;li&gt; &lt;span style=&quot;font-weight: bold;&quot;&gt;phpbb_forums&lt;/span&gt;&lt;/li&gt;</content><link rel='replies' type='application/atom+xml' href='http://codereminder.blogspot.com/feeds/1195169756489890966/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codereminder.blogspot.com/2009/03/how-to-manage-phpbb-forum-databse.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/1195169756489890966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/1195169756489890966'/><link rel='alternate' type='text/html' href='http://codereminder.blogspot.com/2009/03/how-to-manage-phpbb-forum-databse.html' title='How to manage PHPbb forum databse tables?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6342892719090659519.post-7773905824982142638</id><published>2009-02-20T14:13:00.002+04:00</published><updated>2009-02-20T14:15:55.179+04:00</updated><title type='text'>How to change date format at SQL Server?</title><content type='html'>How to change date format at MS SQL Server?&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;div&gt;&lt;!--  Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/  --&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;SET&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; DATEFORMAT DMY&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note: DMY means Day-Month-Year, so you can use MDY or YDM, etc...&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://codereminder.blogspot.com/feeds/7773905824982142638/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codereminder.blogspot.com/2009/02/how-to-change-date-format-at-sql-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/7773905824982142638'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/7773905824982142638'/><link rel='alternate' type='text/html' href='http://codereminder.blogspot.com/2009/02/how-to-change-date-format-at-sql-server.html' title='How to change date format at SQL Server?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6342892719090659519.post-6564700122577449899</id><published>2009-02-17T16:15:00.004+04:00</published><updated>2009-02-17T16:22:25.470+04:00</updated><title type='text'>SQL Server stored procedure parameters decrease performance</title><content type='html'>When we use parametrs directly in query&#39;s WHERE parts,&lt;br /&gt;performance of query decrease dramatically.&lt;br /&gt;&lt;br /&gt;So we can use local values to copy these parametrs.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;div&gt;&lt;!--  Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/  --&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;1&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;ALTER&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;PROCEDURE&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;dbo&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;CalculateSomething&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;2&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 0);&quot;&gt;@myID&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-weight: bold;&quot;&gt;INT&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;3&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;4&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;BEGIN&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;5&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;DECLARE&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 0);&quot;&gt;@myIDLocal&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-weight: bold;&quot;&gt;INT&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;6&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;7&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;SET&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 0);&quot;&gt;@myIDLocal&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(128, 128, 128);&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 0);&quot;&gt;@myID&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; -- If you this performance of query&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;8&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;                       -- will inctrease!&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;9&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(128, 128, 128);&quot;&gt;*&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;FROM&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;myTable&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;WHERE&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; ID &lt;/span&gt;&lt;span style=&quot;color: rgb(128, 128, 128);&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 0);&quot;&gt;@myIDLocal&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://codereminder.blogspot.com/feeds/6564700122577449899/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codereminder.blogspot.com/2009/02/sql-server-stored-procedure-parameters.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/6564700122577449899'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/6564700122577449899'/><link rel='alternate' type='text/html' href='http://codereminder.blogspot.com/2009/02/sql-server-stored-procedure-parameters.html' title='SQL Server stored procedure parameters decrease performance'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6342892719090659519.post-6338512824496239202</id><published>2009-02-10T09:38:00.003+04:00</published><updated>2009-02-10T09:42:51.571+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Crystal report"/><title type='text'>How to use Crystal reports?</title><content type='html'>How to connect to Crystal report?&lt;br /&gt;How to use stored procedures at Crystal reports?&lt;br /&gt;How to pass parameter to Crystal report?&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;div&gt;&lt;!--  Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/  --&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt; 1&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt; 2&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;ReportDocument reportDocument &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; ReportDocument();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt; 3&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;ParameterField paramField &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; ParameterField();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt; 4&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;ParameterFields paramFields &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; ParameterFields();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt; 5&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;ParameterDiscreteValue paramDiscreteValue &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&lt;br /&gt;                          new&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; ParameterDiscreteValue();&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt; 6&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt; 7&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 0);&quot;&gt;/*&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 0);&quot;&gt;*********************************&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 0);&quot;&gt;*/&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt; 8&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt; 9&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;paramField.Name &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;@ID&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;10&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;paramDiscreteValue.Value &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; textBox.Text;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;11&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;paramField.CurrentValues.Add(paramDiscreteValue);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;12&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;paramFields.Add(paramField);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;13&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;CrystalReportViewer.ParameterFieldInfo &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; paramFields;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;14&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;15&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;reportDocument.Load(Server.MapPath(&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;Report.rpt&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;));&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;16&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;CrystalReportViewer1.ReportSource &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; reportDocument;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;17&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;reportDocument.SetDatabaseLogon(&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;myUsername&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;myPassword&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;18&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;                   &lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;192.187.1.1&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;myDatabase&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;br /&gt;&lt;a href=&quot;http://www.eggheadcafe.com/tutorials/aspnet/4520dcca-f4bb-4cd3-a80c-569d6ea46488/crystal-report-and-parame.aspx&quot;&gt;Reference&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://codereminder.blogspot.com/feeds/6338512824496239202/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codereminder.blogspot.com/2009/02/how-to-use-crystal-reports.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/6338512824496239202'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/6338512824496239202'/><link rel='alternate' type='text/html' href='http://codereminder.blogspot.com/2009/02/how-to-use-crystal-reports.html' title='How to use Crystal reports?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6342892719090659519.post-6997960114094843540</id><published>2009-02-06T15:27:00.005+04:00</published><updated>2009-02-10T09:43:41.075+04:00</updated><title type='text'>How to get set session variables in ASP?</title><content type='html'>How to get set session variables in ASP.NET?&lt;br /&gt;How to get set session variables in ASP (c#)?&lt;br /&gt;How to get set session variables at ASP?&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;div&gt;&lt;!--  Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/  --&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;1&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 128, 0);&quot;&gt;//&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 0);&quot;&gt;Get session value:&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 0);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;2&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 128, 0);&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;3&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; sessionValue &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; ((&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;)Context.Session.Contents[&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;myValue&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;]);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;4&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;5&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;6&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 0);&quot;&gt;//&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 0);&quot;&gt;Set session value:&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 0);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;7&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 128, 0);&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 128);&quot;&gt;8&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Context.Session.Add(&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;mySessionValue&lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: rgb(128, 0, 128);&quot;&gt;1001&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://codereminder.blogspot.com/feeds/6997960114094843540/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codereminder.blogspot.com/2009/02/how-to-get-set-session-variables-in-asp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/6997960114094843540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6342892719090659519/posts/default/6997960114094843540'/><link rel='alternate' type='text/html' href='http://codereminder.blogspot.com/2009/02/how-to-get-set-session-variables-in-asp.html' title='How to get set session variables in ASP?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>