<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="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" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-4157131614643134533</atom:id><lastBuildDate>Mon, 02 Sep 2024 09:20:41 +0000</lastBuildDate><category>SQL server</category><category>Microsoft DotNet</category><category>Silverlight</category><category>.net 3.0</category><category>JavaScript</category><category>.net 3.5</category><category>Microsoft Surface</category><category>Tutorial</category><title>Microsoft Technology DOT NET, SQL SERVER, SILVERLIGHT, JAVASCRIPT</title><description>Microsoft technology resources provides information about new microsoft technologies as well as programming and other informational tips regarding .net (dot net) , sql server 2000 - 2005, javascript, silverlight.</description><link>http://spotdotnet.blogspot.com/</link><managingEditor>noreply@blogger.com (sky)</managingEditor><generator>Blogger</generator><openSearch:totalResults>22</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4157131614643134533.post-499089168986349876</guid><pubDate>Mon, 13 Aug 2007 09:17:00 +0000</pubDate><atom:updated>2008-01-30T11:45:33.950-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">JavaScript</category><category domain="http://www.blogger.com/atom/ns#">Microsoft DotNet</category><title>Create TextArea control with working Maxlength property</title><description>We have found that text area (Multiline textbox) control in asp.net doesn&#39;t support the multiline property even you define that property.  &lt;br /&gt;  &lt;br /&gt;so here is the solution for this problem  &lt;br /&gt;  &lt;br /&gt;&lt;strong&gt;Code in .net Page&lt;/strong&gt;  &lt;br /&gt;  &lt;br /&gt;protected override void OnPreRender(EventArgs e)  &lt;br /&gt;{  &lt;br /&gt;  &lt;br /&gt;if (MaxLength &amp;gt; 0 &amp;amp;&amp;amp; TextMode == TextBoxMode.MultiLine)  &lt;br /&gt;{  &lt;br /&gt;  &lt;br /&gt;// Add javascript handlers for paste and keypress  &lt;br /&gt;Attributes.Add(&amp;quot;onkeypress&amp;quot;, &amp;quot;doKeypress(this);&amp;quot;);  &lt;br /&gt;Attributes.Add(&amp;quot;onbeforepaste&amp;quot;, &amp;quot;doBeforePaste(this);&amp;quot;);  &lt;br /&gt;Attributes.Add(&amp;quot;onpaste&amp;quot;, &amp;quot;doPaste(this);&amp;quot;);  &lt;br /&gt;  &lt;br /&gt;// Add attribute for access of maxlength property on client-side  &lt;br /&gt;Attributes.Add(&amp;quot;maxLength&amp;quot;, this.MaxLength.ToString());  &lt;br /&gt;  &lt;br /&gt;// Register client side include - only once per page  &lt;br /&gt;  &lt;br /&gt;}  &lt;br /&gt;}  &lt;br /&gt;  &lt;br /&gt;&lt;strong&gt;Code in JavaScript file&lt;/strong&gt;  &lt;br /&gt;  &lt;br /&gt;// Keep user from entering more than maxLength characters  &lt;br /&gt;function doKeypress(control)  &lt;br /&gt;{  &lt;br /&gt;  &lt;br /&gt;maxLength = control.attributes[&amp;quot;maxLength&amp;quot;].value;  &lt;br /&gt;  &lt;br /&gt;value = control.value;  &lt;br /&gt;  &lt;br /&gt;if(maxLength &amp;amp;&amp;amp; value.length &amp;gt; maxLength-1)  &lt;br /&gt;{  &lt;br /&gt;  &lt;br /&gt;event.returnValue = false;  &lt;br /&gt;  &lt;br /&gt;maxLength = parseInt(maxLength);  &lt;br /&gt;  &lt;br /&gt;}  &lt;br /&gt;}  &lt;br /&gt;  &lt;br /&gt;// Cancel default behavior  &lt;br /&gt;function doBeforePaste(control)  &lt;br /&gt;{  &lt;br /&gt;  &lt;br /&gt;maxLength = control.attributes[&amp;quot;maxLength&amp;quot;].value;  &lt;br /&gt;  &lt;br /&gt;if(maxLength)  &lt;br /&gt;{  &lt;br /&gt;  &lt;br /&gt;event.returnValue = false;  &lt;br /&gt;  &lt;br /&gt;}  &lt;br /&gt;}  &lt;br /&gt;  &lt;br /&gt;// Cancel default behavior and create a new paste routine  &lt;br /&gt;function doPaste(control)  &lt;br /&gt;{  &lt;br /&gt;  &lt;br /&gt;maxLength = control.attributes[&amp;quot;maxLength&amp;quot;].value;  &lt;br /&gt;  &lt;br /&gt;value = control.value;  &lt;br /&gt;  &lt;br /&gt;if(maxLength)  &lt;br /&gt;{  &lt;br /&gt;  &lt;br /&gt;event.returnValue = false;  &lt;br /&gt;  &lt;br /&gt;maxLength = parseInt(maxLength);  &lt;br /&gt;  &lt;br /&gt;var oTR = control.document.selection.createRange();  &lt;br /&gt;  &lt;br /&gt;var iInsertLength = maxLength - value.length + oTR.text.length;  &lt;br /&gt;  &lt;br /&gt;var sData = window.clipboardData.getData(&amp;quot;Text&amp;quot;).substr(0,iInsertLength);  &lt;br /&gt;  &lt;br /&gt;oTR.text = sData;  &lt;br /&gt;  &lt;br /&gt;}  &lt;br /&gt;}  &lt;br /&gt;  &lt;br /&gt;  &lt;br /&gt;using this code you can even check the copy paste and restrict the number of characters  &lt;br /&gt;  &lt;br /&gt;now create a custom control and then use that control  &lt;br /&gt;  &lt;br /&gt;set MaxLenght property of that control and you will be able to restrict the number of characters  </description><link>http://spotdotnet.blogspot.com/2007/08/create-textarea-control-with-working.html</link><author>noreply@blogger.com (sky)</author><thr:total>27</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4157131614643134533.post-1788665398546404862</guid><pubDate>Mon, 13 Aug 2007 04:54:00 +0000</pubDate><atom:updated>2007-08-12T21:56:37.545-07:00</atom:updated><title>Code Optimization Tool for C#</title><description>I just find one nice tool for the day to day development, and instant code optimization at the time of writing the code.&lt;br /&gt;&lt;br /&gt;Once you install this tool it will tell you in the IDE itself, that which part of the code need to be change, not use full, wrong interation looping, wrong condition and all such a small mistake that may happened into day to day activities.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You can download it from&lt;br /&gt;&lt;a href=&quot;http://www.jetbrains.com/resharper/download/index.html#cSharp&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.jetbrains.com/resharper/download/index.html#cSharp&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Install at your own risk as i have installed it on several PCs but on one PC it removed intellisense from IDE.</description><link>http://spotdotnet.blogspot.com/2007/08/code-optimization-tool-for-c.html</link><author>noreply@blogger.com (sky)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4157131614643134533.post-1169656558508733997</guid><pubDate>Fri, 10 Aug 2007 07:18:00 +0000</pubDate><atom:updated>2007-08-10T00:24:30.651-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Microsoft DotNet</category><title>Can you call private member of a class from another class?</title><description>Can you call private member of a class from another class?&lt;br /&gt;&lt;br /&gt;Very strange question right?&lt;br /&gt;&lt;br /&gt;but answer is yes. Shocked???&lt;br /&gt;&lt;br /&gt;Check out the following code.&lt;br /&gt;&lt;br /&gt;It is done by dot net framwork reflection&lt;br /&gt;&lt;br /&gt;suppose we have a class&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;public class Class1&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;{&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;     public Class1()&lt;br /&gt;     {&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;     }&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;     private string IAmCalled()&lt;br /&gt;     {&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;          return &quot;I am private member and I am called by somebody. shame on me.&quot;;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;     }&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;}&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Add following line to other class/page from which you want to access private member&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;using System.Reflection;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Just write follwoing code in other class/page and you will see the magic&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Class1 cls = new Class1();&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Type t = typeof(Class1);&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;object obj = t.InvokeMember(&quot;IAmCalled&quot;, BindingFlags.InvokeMethod  BindingFlags.NonPublic  BindingFlags.Instance, null, cls, null);&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Response.Write(obj.ToString());&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;It works!!!&lt;br /&gt;&lt;br /&gt;please share if you have some more information.</description><link>http://spotdotnet.blogspot.com/2007/08/can-you-call-private-member-of-class.html</link><author>noreply@blogger.com (sky)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4157131614643134533.post-7285801846328751431</guid><pubDate>Thu, 09 Aug 2007 05:44:00 +0000</pubDate><atom:updated>2007-08-08T22:58:34.075-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Microsoft DotNet</category><title>How to Check upload file type using RegularExpressionValidator</title><description>You can &lt;strong&gt;check upload file type client side using RegularExpressionValidator&lt;/strong&gt; as shown below&lt;br /&gt;&lt;br /&gt;use ValidationExpression as follows&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;ValidationExpression=&quot;(.*\.([jJ][pP][gG]|[jJ][pP][eE][gG]|[pP][nN][gG]|[tT][iI][fF][fF])$)&quot;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;This expression restricts upload to the file type of .jpg, .jpeg, .tiff&lt;/strong&gt;&lt;br /&gt;you can edit validation expression as per your need.</description><link>http://spotdotnet.blogspot.com/2007/08/how-to-check-upload-file-type-using.html</link><author>noreply@blogger.com (sky)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4157131614643134533.post-8837087300537695586</guid><pubDate>Wed, 08 Aug 2007 06:32:00 +0000</pubDate><atom:updated>2007-08-07T23:42:29.865-07:00</atom:updated><title>How to Create / Insert Table Data From Remote server in Sql Server 2005 to local server</title><description>&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;OPENROWSET&lt;/strong&gt;  can be used to access remote data from OLE DB data sources only if the &lt;strong&gt;DisallowAdhocAccess&lt;/strong&gt; registry option is explicitly set to 0. When this option is not set, the default behavior does not allow ad hoc access.&lt;br /&gt;&lt;br /&gt;To set &lt;strong&gt;DisallowAdhocAccess &lt;/strong&gt;:-&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Execute below script:&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;EXEC sp_configure &#39;show advanced options&#39;, 1;&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;RECONFIGURE;&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;EXEC sp_configure &#39;Ad Hoc Distributed Queries&#39;, 1;&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;RECONFIGURE;&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;After that  execute following  statement&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;select * into Destination_table  from                              &lt;br /&gt;&lt;br /&gt;(SELECT a.*&lt;br /&gt;&lt;br /&gt;FROM OPENROWSET(&#39;SQLOLEDB&#39;,&#39;SERVER&#39;;&#39;USER&#39;;&#39;PASSWORD&#39;,&lt;br /&gt;&lt;br /&gt;&#39;SELECT * FROM  Database.dbo.SourceTableName&#39;) AS a ) a&lt;br /&gt;&lt;br /&gt;first it will  create     Destination_table in our local server  , and after it will copy all data from Remote server database   &quot;Database.dbo.SourceTableName&quot;    into  Destination_table.</description><link>http://spotdotnet.blogspot.com/2007/08/how-to-createinsert-table-data-from.html</link><author>noreply@blogger.com (sky)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4157131614643134533.post-6999859144456099621</guid><pubDate>Tue, 07 Aug 2007 10:05:00 +0000</pubDate><atom:updated>2007-08-07T23:45:30.188-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SQL server</category><title>How to select number of rows from table in sql server</title><description>Hello&lt;br /&gt;&lt;br /&gt;Here are two ways to select number of rows when count is passed in parameter&lt;br /&gt;&lt;br /&gt;1. &lt;strong&gt;using TOP&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;declare @count int&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;set @count = 5&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;select top(@count) * from temp_Users&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2. &lt;strong&gt;using ROWCOUNT&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;declare @count int&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;set @count = 5&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;set rowcount @count&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;select * from temp_Users&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Please comment more ways of performing this functionality.&lt;br /&gt;&lt;br /&gt;set rowcount 0</description><link>http://spotdotnet.blogspot.com/2007/08/how-to-select-number-of-rows-from-table.html</link><author>noreply@blogger.com (sky)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4157131614643134533.post-5870980053089070807</guid><pubDate>Tue, 07 Aug 2007 07:19:00 +0000</pubDate><atom:updated>2007-08-07T03:50:19.543-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.net 3.5</category><category domain="http://www.blogger.com/atom/ns#">Microsoft DotNet</category><category domain="http://www.blogger.com/atom/ns#">Silverlight</category><category domain="http://www.blogger.com/atom/ns#">Tutorial</category><title>Silverlight Tutorials, Silverlight Videos, Silverlight Articles, Silverlight Blog, Silverlight Example and Application</title><description>Good Website consist of plenty of links for Silverlight Introductions and Overviews :&lt;br /&gt;&lt;br /&gt;It consist of Silverlight Introduction Resource, such how to get started with.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Silverlight Sites&lt;/strong&gt; - It consist of Silverlight Site from microsoft.&lt;br /&gt;&lt;strong&gt;Silverlight Blogs&lt;/strong&gt; - It consist of blog post on silverlight from well known authors.&lt;br /&gt;&lt;strong&gt;Silverlight Articles&lt;/strong&gt; - It consist of various articles on silverlight&lt;br /&gt;&lt;strong&gt;Silverlight Videos&lt;/strong&gt; - It consist of Silverlight Videos.&lt;br /&gt;&lt;strong&gt;Silverlight Applications&lt;/strong&gt; - It consist of Silverlight Examples and Demo Applications.&lt;br /&gt;&lt;strong&gt;Silverlight Downloads&lt;/strong&gt; - It consist of different Silverlight Version to download.&lt;br /&gt;&lt;strong&gt;Silverlight Resources&lt;/strong&gt; - And more on Silverlight Resource.&lt;br /&gt;&lt;br /&gt;&lt;a style=&quot;FONT-WEIGHT: bold&quot; href=&quot;http://www.plentyofcode.com/2007/07/what-is-microsoft-silverlight.html&quot; target=&quot;_blank&quot;&gt;Logon to get Silverlight Resource and Information&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I found this interesting post on &lt;a href=&quot;http://dotnetguts.blogspot.com/&quot;&gt;http://dotnetguts.blogspot.com/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I feel that i must share this with you.</description><link>http://spotdotnet.blogspot.com/2007/08/silverlight-tutorials-sliverlight.html</link><author>noreply@blogger.com (sky)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4157131614643134533.post-3828898886816143704</guid><pubDate>Wed, 01 Aug 2007 06:40:00 +0000</pubDate><atom:updated>2007-07-31T23:46:18.631-07:00</atom:updated><title>About the School of the future</title><description>Hello&lt;br /&gt;&lt;br /&gt;I found something very interesting effort by microsoft.&lt;br /&gt;&lt;br /&gt;Yes its the school of the future which is being raising by Microsoft with the help of local authorities.&lt;br /&gt;&lt;br /&gt;to know more visit&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.microsoft.com/Education/SchoolofFutureDocumentary.mspx&quot;&gt;http://www.microsoft.com/Education/SchoolofFutureDocumentary.mspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Enjoy!</description><link>http://spotdotnet.blogspot.com/2007/07/about-school-of-future.html</link><author>noreply@blogger.com (sky)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4157131614643134533.post-1620529341536162807</guid><pubDate>Fri, 27 Jul 2007 07:05:00 +0000</pubDate><atom:updated>2007-07-27T00:15:51.204-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.net 3.0</category><category domain="http://www.blogger.com/atom/ns#">Silverlight</category><title>Silverlight Tutorials</title><description>&lt;strong&gt;Hello&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;Good Website for Silverlight Tutorials&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Silverlight with Java Script Tutorial&lt;/li&gt;&lt;li&gt;Silverlight Examples and samples&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.wynapse.com/Silverlight_Tutorials.aspx&quot;&gt;http://www.wynapse.com/Silverlight_Tutorials.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Enjoy!&lt;/p&gt;</description><link>http://spotdotnet.blogspot.com/2007/07/silverlight-tutorials.html</link><author>noreply@blogger.com (sky)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4157131614643134533.post-8538649115426427023</guid><pubDate>Thu, 26 Jul 2007 12:51:00 +0000</pubDate><atom:updated>2007-07-27T00:20:22.236-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">JavaScript</category><title>Show JavaScript Message While Closing IE Without Saving</title><description>&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjel3VxWOv2OvzHK59VvLwilUGuu0j8If4ehIJcohNMQkPcev1v46j28HmGTb_d6dmqXPjFD70VXEXV3uA8do8HRE7k9gXpxIf497zB0738aV5kfl_0CH7alLtrUjBMQEo-Xuq1j6jpaz4/s1600-h/temp.JPG&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5091489824161674114&quot; style=&quot;FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjel3VxWOv2OvzHK59VvLwilUGuu0j8If4ehIJcohNMQkPcev1v46j28HmGTb_d6dmqXPjFD70VXEXV3uA8do8HRE7k9gXpxIf497zB0738aV5kfl_0CH7alLtrUjBMQEo-Xuq1j6jpaz4/s320/temp.JPG&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;Hello Friends&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Following is the script to show message while navigating away from the current screen in browser.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;strong&gt;var blnConfirmNavigation=true;&lt;br /&gt;window.onbeforeunload = function (evt)&lt;br /&gt;{&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;strong&gt;blnDeleteForum=false;&lt;br /&gt;if(blnConfirmNavigation)&lt;br /&gt;{&lt;br /&gt;var message = &#39;You have not save the content of the page. Your changes will not be saved.&#39;;&lt;br /&gt;if (typeof evt == &#39;undefined&#39;)&lt;br /&gt;{&lt;br /&gt;evt = window.event;&lt;br /&gt;}&lt;br /&gt;if (evt)&lt;br /&gt;{&lt;br /&gt;evt.returnValue = message;&lt;br /&gt;}&lt;br /&gt;blnDeleteForum=true;&lt;br /&gt;return message;&lt;br /&gt;}&lt;br /&gt;}&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;Enjoy!&lt;br /&gt;&lt;div&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;</description><link>http://spotdotnet.blogspot.com/2007/07/show-javascript-message-while-closing.html</link><author>noreply@blogger.com (sky)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjel3VxWOv2OvzHK59VvLwilUGuu0j8If4ehIJcohNMQkPcev1v46j28HmGTb_d6dmqXPjFD70VXEXV3uA8do8HRE7k9gXpxIf497zB0738aV5kfl_0CH7alLtrUjBMQEo-Xuq1j6jpaz4/s72-c/temp.JPG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4157131614643134533.post-91080071011072739</guid><pubDate>Thu, 05 Jul 2007 12:41:00 +0000</pubDate><atom:updated>2007-07-27T00:16:28.095-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.net 3.0</category><category domain="http://www.blogger.com/atom/ns#">Silverlight</category><title>.NET Framework 3.0 Versioning and Deployment Q&amp;A</title><description>Hello Friends,&lt;br /&gt;&lt;br /&gt;I have found some Q&amp;amp;A related to .net framework 3.0 Versioning and deployment.&lt;br /&gt;&lt;br /&gt;You can find answers to some questions like&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;What is the .NET Framework 3.0 (formerly WinFX)?&lt;/li&gt;&lt;li&gt;What happens to the WinFX technologies?&lt;/li&gt;&lt;li&gt;How does the .NET Framework 3.0 relate to the .NET Framework 2.0? &lt;/li&gt;&lt;li&gt;Will the name change be reflected in any of the existing .NET Framework 2.0 APIs, assemblies, or namespaces? &lt;/li&gt;&lt;li&gt;How does &quot;Side by Side&quot; work for the .NET Framework 3.0? &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;You can find answers to these and many other questions on following link.&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://msdn2.microsoft.com/en-us/netframework/aa663314.aspx&quot;&gt;http://msdn2.microsoft.com/en-us/netframework/aa663314.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Hope this will help&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Enjoy!&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><link>http://spotdotnet.blogspot.com/2007/07/net-framework-30-versioning-and.html</link><author>noreply@blogger.com (sky)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4157131614643134533.post-2880127857489618441</guid><pubDate>Fri, 29 Jun 2007 06:09:00 +0000</pubDate><atom:updated>2007-07-27T00:19:37.661-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Microsoft DotNet</category><title>Create .NET documentation with Microsoft&#39;s Sandcastle</title><description>Hello&lt;br /&gt;&lt;br /&gt;I come across an article which explains How we can create .NET documentation with Microsoft&#39;s Sandcastle.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://articles.techrepublic.com.com/5100-3513-6174811.html&quot;&gt;http://articles.techrepublic.com.com/5100-3513-6174811.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hope this helps.&lt;br /&gt;&lt;br /&gt;Enjoy!</description><link>http://spotdotnet.blogspot.com/2007/06/create-net-documentation-with.html</link><author>noreply@blogger.com (sky)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4157131614643134533.post-3839796600168380750</guid><pubDate>Thu, 28 Jun 2007 15:42:00 +0000</pubDate><atom:updated>2007-07-27T00:19:37.661-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Microsoft DotNet</category><title>Dot Net FAQs</title><description>&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;ASP.net FAQs&lt;/strong&gt;&lt;br /&gt;1) &lt;a href=&quot;http://www.syncfusion.com/faq/aspnet/default.aspx&quot;&gt;http://www.syncfusion.com/faq/aspnet/default.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2) &lt;a href=&quot;http://www.aspnetfaq.com/&quot;&gt;http://www.aspnetfaq.com/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3) &lt;a href=&quot;http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=4081&amp;lngWId=10&quot;&gt;http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=4081&amp;amp;lngWId=10&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4) &lt;a href=&quot;http://blogs.crsw.com/mark/articles/254.aspx&quot;&gt;http://blogs.crsw.com/mark/articles/254.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;5) &lt;a href=&quot;http://www.techinterviews.com/?p=176&quot;&gt;http://www.techinterviews.com/?p=176&lt;/a&gt; &amp; &lt;a href=&quot;http://www.techinterviews.com/?p=193&quot;&gt;http://www.techinterviews.com/?p=193&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;6) &lt;a href=&quot;http://www.eggheadcafe.com/articles/20021016.asp&quot;&gt;http://www.eggheadcafe.com/articles/20021016.asp&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;7) &lt;a href=&quot;http://www.cmap-online.org/Default.aspx?tabindex=4&amp;amp;tabid=-17&quot;&gt;http://www.cmap-online.org/Default.aspx?tabindex=4&amp;amp;tabid=-17&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;C# FAQs&lt;/strong&gt;&lt;br /&gt;1) &lt;a href=&quot;http://www.andymcm.com/&quot;&gt;http://www.andymcm.com/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2) &lt;a href=&quot;http://www.syncfusion.com/faq/windowsforms/default.aspx&quot;&gt;http://www.syncfusion.com/faq/windowsforms/default.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3) &lt;a href=&quot;http://www.c-sharpcorner.com/faq.asp&quot;&gt;http://www.c-sharpcorner.com/faq.asp&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4) &lt;a href=&quot;http://msdn.microsoft.com/vcsharp/productinfo/faq/default.aspx&quot;&gt;http://msdn.microsoft.com/vcsharp/productinfo/faq/default.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;5) &lt;a href=&quot;http://www.yoda.arachsys.com/csharp/faq/&quot;&gt;http://www.yoda.arachsys.com/csharp/faq/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;6) &lt;a href=&quot;http://www.gotdotnet.com/team/csharp/learn/faq/&quot;&gt;http://www.gotdotnet.com/team/csharp/learn/faq/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;7) &lt;a href=&quot;http://www.syncfusion.com/faq/windowsforms/default.aspx&quot;&gt;http://www.syncfusion.com/faq/windowsforms/default.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;List courtesy&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://dotnetguts.blogspot.com/&quot;&gt;http://dotnetguts.blogspot.com/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Enjoy!</description><link>http://spotdotnet.blogspot.com/2007/06/asp.html</link><author>noreply@blogger.com (sky)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4157131614643134533.post-7371580786568219823</guid><pubDate>Thu, 28 Jun 2007 07:46:00 +0000</pubDate><atom:updated>2007-06-28T00:48:07.396-07:00</atom:updated><title>Microsoft dot net framework 3.0 overview</title><description>Hello Friends&lt;br /&gt;&lt;br /&gt;I am writing this article to give you almost all the needed information about the WinFx (.Net framework 3.0). I inspired to write this article is just because I feel that on the internet all the information are scattered every where and it was quite tough for me to collect the information and tools to proceed with the new era of software development. And I am also sure that now it won’t that much easy for us to move from .net2 to WinFx as we could move from .0 to .1 to .2 frameworks. I tried to write this article by my own words so that it would be easy to understand and addressing the proper direction as all the developers is needed. I am sure that once you gone through this document, you will have much comfort to learn and start up for .net 3.0.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;ADDRESSING THE NEEDS OF TECHNOLOGY&lt;br /&gt;&lt;/strong&gt;Before you go through this article, I would like to ask you some of the questions that were arising in my mind when I was exploring the WinFx. Please keep all this questions in your mind and then proceed further in this article.&lt;br /&gt;&lt;br /&gt;1. The first thing I would like to ask you is about How many time you feel that the windows application development and Web development is totally different in terms of creating the UI for both.&lt;br /&gt;&lt;br /&gt;2. Have you ever thought that the Windows application can have same look and feel that we can give with the help of Html in web sites. How much flexibility your designer could have to prepare the GUI in Photoshop for the Windows Form.&lt;br /&gt;&lt;br /&gt;3. How many communication methods you know and how many of them you had tried to implement by analyzing the requirements of software. Let me say that you might know XML web services, Remoting, MSMQ... and hardly tried to implement all this of them and hardly analyze the requirement to choose the right one from those methods.&lt;br /&gt;&lt;br /&gt;4. How many times you had to deal with the very complex Business logic in your application and how many time you need to debug your code to ensure that the data manipulated by your code is the right one. This could be the case when you are implementing the ERP system. Whenever you had tried to implement that complex code, how dose your code looks likeJ, and how many of your team members can understand without your help.&lt;br /&gt;&lt;br /&gt;5. How do you represent your code to your customer, your team members, and your Project leader with 99% of identical documents so all of them can easily understand whatever you have done in that? I am sure, that could never be possible, can be?&lt;br /&gt;&lt;br /&gt;6. How many types of Software application you know? Let me say that you might be knowing, Standard Windows application, Web sites, Smart client application and Windows CE. Is there any new type of application that customer can or even already demand?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Once you find out the answer of all this questions, you will find nothing but the new technology from Microsoft named WinFx which is nothing but the code name of .net Framework&lt;br /&gt;&lt;br /&gt;Ok, so now we have a vision that why we need some evolution for better intelligent and automated development environment. Let me explain in very brief about the WinFx technology just as an introductory part of it. I have given a link from where you can find detail information for those particular topics&lt;br /&gt;&lt;br /&gt;You can find interesting White paper on WinFx from&lt;br /&gt;&lt;br /&gt;&lt;a title=&quot;blocked::&lt;a href=&quot; target=&quot;_blank&quot; url=&quot;&#39;/library/en-us/dndotnet/html/intronetfx30.asp&quot;&gt;&lt;strong&gt;&lt;em&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/intronetfx30.asp&lt;/em&gt;&lt;/strong&gt;&lt;/a&gt;&lt;em&gt;&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;EVOLUTION AND INTRODUCTION&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;There are so many basic needs which inspire Microsoft to release .net frameworks. But let me point one direction so that I can better explain you framework 3.0.&lt;br /&gt;&lt;br /&gt;.Net Frameworks are running as an intermediate Layer between your applications developed using .net and Operating system. And so it’s of course considered as a Managed Code and that reduce the Risk for crashing an application. CLR is taking the responsibility to manage your code and manage the resource your application is using. And if we move to the future, .net Framework 3.0 is waiting for us&lt;br /&gt;Just in brief, .net 3 (WinFx) is wrapper on .net 2.0 with some unbelievable features that make me to jump on my deskJ. The wrappers are again divided into four corner of Boxes.&lt;br /&gt;&lt;br /&gt;1. WPF (Windows Presentation Foundation). New era for Windows Desktop Application UI designing. Following are some of the main features&lt;br /&gt;&lt;br /&gt;· Now onwards there are no WinForm Controls that we are using till .net 2.0. Everything is XML. Whatever you write will be the XML for the desigining. Officially Microsoft gives its name XAML&lt;br /&gt;&lt;br /&gt;· Because of this XML everything you can do in Html pages will now possible in Winform design also&lt;br /&gt;&lt;br /&gt;· Cascading Style like web is possible in Winform also&lt;br /&gt;&lt;br /&gt;· Designer draw the screen in Photoshop just like they where doing for web page. And then you can do the same step as you were doing to convert that layout in html&lt;br /&gt;&lt;br /&gt;· Provides new type of application known as &quot;WPF Browser based application&quot;, which can run in Internet Explorer just like the ActiveX and Applets are running&lt;br /&gt;&lt;br /&gt;· 3D modeling.&lt;br /&gt;&lt;br /&gt;· Animation like GIF file can be possible for the windows form.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Links&lt;br /&gt;&lt;/em&gt;&lt;/strong&gt;WPF Architecures and functionality&lt;br /&gt;&lt;a href=&quot;http://msdn.microsoft.com/library/en-us/dnlong/html/wpf101.asp&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://msdn.microsoft.com/library/en-us/dnlong/html/wpf101.asp&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://msdn.microsoft.com/library/en-us/dnlong/html/wpf101.asp&quot; target=&quot;_blank&quot;&gt;http://msdn.microsoft.com/library/en-us/dnlong/html/wpf101.asp&lt;/a&gt;&lt;br /&gt;WPF for beginners&lt;br /&gt;&lt;a href=&quot;http://wpf.netfx3.com/&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://wpf.netfx3.com/&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://wpf.netfx3.com/&quot; target=&quot;_blank&quot;&gt;http://wpf.netfx3.com/&lt;/a&gt;&lt;br /&gt;Find the features in detail for WPF&lt;br /&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Windows_Presentation_Foundation&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Windows_Presentation_Foundation&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Windows_Presentation_Foundation&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Windows_Presentation_Foundation&lt;/a&gt;&lt;br /&gt;Introduction Videos&lt;br /&gt;&lt;a href=&quot;http://msdn.microsoft.com/msdntv/episode.aspx?xml=episodes/en/20060817wpfkg/manifest.xml&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://msdn.microsoft.com/msdntv/episode.aspx?xml=episodes/en/20060817wpfkg/manifest.xml&quot; target=&quot;_blank&quot;&gt;http://msdn.microsoft.com/msdntv/episode.aspx?xml=episodes/en/20060817wpfkg/manifest.xml&lt;/a&gt;&lt;br /&gt;First Hands on lab&lt;br /&gt;&lt;a href=&quot;http://www.microsoft.com/downloads/details.aspx?FamilyID=05755a9d-98fa-4f16-bfdc-023e3fd34763&amp;DisplayLang=en&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.microsoft.com/downloads/details.aspx?FamilyID=05755a9d-98fa-4f16-bfdc-023e3fd34763&amp;amp;DisplayLang=en&quot; target=&quot;_blank&quot;&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=05755a9d-98fa-4f16-bfdc-023e3fd34763&amp;DisplayLang=en&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2. WCF (Windows Communication Foundation). New era for Communication methods for the Distributed application development and Grid Computing with much flexibility that we never have before. This is something they are calling Service Oriented Application Architecture.&lt;br /&gt;&lt;br /&gt;· Web service, WSE, Remorting, MSMQ... all of this is now a mapped in single API&lt;br /&gt;&lt;br /&gt;· Easy to deploy and integration with Application.&lt;br /&gt;&lt;br /&gt;· XML web service access speed will no more issue with the help of WCF.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Links&lt;br /&gt;&lt;/em&gt;&lt;/strong&gt;Learning WCF (Architecture and Foundation)&lt;br /&gt;&lt;a href=&quot;http://msdn.microsoft.com/library/en-us/dnlong/html/wcfarch.asp&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://msdn.microsoft.com/library/en-us/dnlong/html/wcfarch.asp&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://msdn.microsoft.com/library/en-us/dnlong/html/wcfarch.asp&quot; target=&quot;_blank&quot;&gt;http://msdn.microsoft.com/library/en-us/dnlong/html/wcfarch.asp&lt;/a&gt;&lt;br /&gt;Introduction of Developing WCF&lt;br /&gt;&lt;a href=&quot;http://msdn.microsoft.com/library/en-us/dnlong/html/introtowcf.asp&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://msdn.microsoft.com/library/en-us/dnlong/html/introtowcf.asp&quot; target=&quot;_blank&quot;&gt;http://msdn.microsoft.com/library/en-us/dnlong/html/introtowcf.asp&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3. WF (Windows Workflow Foundation). This is really really very cool features that Microsoft comes up with .net 3.0. With the help of this foundation you can implement any complex Business logic which you could not even think for it. Just within a few hours you can implement few weeks of work. The features are&lt;br /&gt;&lt;br /&gt;· Draw the Flow chart and the coding part will be written automatically. Of course you have to feed some line of code&lt;br /&gt;&lt;br /&gt;· Represent your logic on document which is actually the code you implement&lt;br /&gt;&lt;br /&gt;· No more syntax and commenting for Code, because your logic is in form of Flow charts&lt;br /&gt;&lt;br /&gt;· Maintain the State of Object (Application Objects) with the Help of State Chart. Draw the state diagram for your Object and it will reach exactly in the state as per you have drawn with in IDE&lt;br /&gt;&lt;br /&gt;· I could not believe on my eyes when I saw the demonstration of Parallel Computing and Multi threading application development. Just to draw the flow chart with some parallel Flow in sequence, that’s all to do. Not to think anything for the thread and multi process management&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Links&lt;br /&gt;&lt;/em&gt;&lt;/strong&gt;&lt;a href=&quot;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnlong/html/hmnwkfwwf.asp&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnlong/html/hmnwkfwwf.asp&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnlong/html/hmnwkfwwf.asp&quot; target=&quot;_blank&quot;&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnlong/html/hmnwkfwwf.asp&lt;/a&gt;&lt;br /&gt;Understanding Components in WF&lt;br /&gt;&lt;a href=&quot;http://msdn.microsoft.com/msdnmag/issues/06/12/windowsworkflow/&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://msdn.microsoft.com/msdnmag/issues/06/12/windowsworkflow/&quot; target=&quot;_blank&quot;&gt;http://msdn.microsoft.com/msdnmag/issues/06/12/windowsworkflow/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4. Windows Info Card: I didn’t understand anything about this. If any one of you can understand please inform me&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;HOW TO START FOR WinFx (Tools and Resources)&lt;/strong&gt;&lt;br /&gt;I researched and find the proper tools so that you don’t have to research again to start up with ,net 3.0. It was hard time for me to organized all this information in proper direction&lt;br /&gt;&lt;br /&gt;1. Visual Studio 2005 is the tool for WinFx development. So nothing to worry about new tool&lt;br /&gt;&lt;br /&gt;2. Install and download, net 3.0 frameworks. But with this installation, your 2005 IDE will not allow you to create the WinFx applications&lt;br /&gt;&lt;a href=&quot;http://www.microsoft.com/downloads/details.aspx?FamilyID=10cc340b-f857-4a14-83f5-25634c3bf043&amp;amp;displaylang=en&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.microsoft.com/downloads/details.aspx?FamilyID=10cc340b-f857-4a14-83f5-25634c3bf043&amp;displaylang=en&quot; target=&quot;_blank&quot;&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=10cc340b-f857-4a14-83f5-25634c3bf043&amp;amp;displaylang=en&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3. For the WPF development (Windows Form Design based on WinFx) install the &quot;Microsoft Visual Studio Extension for WPF&quot;. Once you install this you can create the WPF form, WPF windows application, WPF pages, WPF controls, WPF browser application (This is not web app). Also these extensions allow you to create WCF services&lt;br /&gt;&lt;a href=&quot;http://www.microsoft.com/downloads/details.aspx?familyid=F54F5537-CC86-4BF5-AE44-F5A1E805680D&amp;displaylang=en&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.microsoft.com/downloads/details.aspx?familyid=F54F5537-CC86-4BF5-AE44-F5A1E805680D&amp;amp;displaylang=en&quot; target=&quot;_blank&quot;&gt;http://www.microsoft.com/downloads/details.aspx?familyid=F54F5537-CC86-4BF5-AE44-F5A1E805680D&amp;displaylang=en&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4. For the Workflow development, Install the &quot;Microsoft Visual Studio Extension for Workflow Foundation&quot;. Once you install this you can Create Sequence, Sequence Services, Sequence State Diagram.&lt;br /&gt;&lt;a href=&quot;http://www.microsoft.com/downloads/details.aspx?familyid=5D61409E-1FA3-48CF-8023-E8F38E709BA6&amp;amp;displaylang=en&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.microsoft.com/downloads/details.aspx?familyid=5D61409E-1FA3-48CF-8023-E8F38E709BA6&amp;displaylang=en&quot; target=&quot;_blank&quot;&gt;http://www.microsoft.com/downloads/details.aspx?familyid=5D61409E-1FA3-48CF-8023-E8F38E709BA6&amp;amp;displaylang=en&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;That’s all to Do. And now you can be an expert for .net 3.0&lt;br /&gt;&lt;br /&gt;Now there so many tools they have given for the XAML editing and WPF designing. Just like we have so many tools for the Html. Although we can do everything in VS IDE for the Html, designer will still prefer Dreamweaver for the Complex Html design. same way even though VS IDE gives everything for XAML creating and editing for the windows forms, Microsoft IDE is not proper tool for complex WinForm design like 3D modeling. Because of that Microsoft has given two tools&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Microsoft Blends:&lt;/strong&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;Using this tools you can create better XAML documents without writing any XAML syntax by your own. Create Style Sheets for Windows Form in form of Resouce Dictionary. This is exactly you can do in Dreamweaver for Html documents and Css file in form of Class Dictionary&lt;br /&gt;&lt;a href=&quot;http://www.microsoft.com/products/expression/en/expression-blend/try.mspx&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.microsoft.com/products/expression/en/expression-blend/try.mspx&quot; target=&quot;_blank&quot;&gt;http://www.microsoft.com/products/expression/en/expression-blend/try.mspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Microsoft Design:&lt;br /&gt;&lt;/strong&gt;Using this tools you can create much complex XAML document with 3D modeling also. This can be compare as ADODB photoshop where you can craete the layout and export it as html document&lt;br /&gt;&lt;a href=&quot;http://www.microsoft.com/products/expression/en/expression-design/free-trial.mspx&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.microsoft.com/products/expression/en/expression-design/free-trial.mspx&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.microsoft.com/products/expression/en/expression-design/free-trial.mspx&quot; target=&quot;_blank&quot;&gt;http://www.microsoft.com/products/expression/en/expression-design/free-trial.mspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;There are also some third party tools are available for this designing, but i used to play with these two tools only and really amazing tools that we could not even realize before for the web application&lt;br /&gt;&lt;br /&gt;Some of the features in Microsoft Design and Blend can only be possible in Windows Vista Environment like Glass Windows, 3D animation of windows control. Microsoft is on the way to produce number of more and more controls for the WinFx, and they will release mostly each year. There are number of Microsoft Partner Company has started to build third party control based on WinFx but none of them has released even beta version&lt;br /&gt;OK, so now I think you have better startup for windows framework 3.0. So for what you are waiting for.&lt;br /&gt;&lt;br /&gt;Whatever I have written here is all about what I understood and learnt. I might be wrong in some of the cases and so if you find any further and correct information please add your reply to this topic.&lt;br /&gt;&lt;br /&gt;So, let’s begin our new journey for the future that we may have to face especially the person who worked on Microsoft Technology&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Learning Resource&lt;/strong&gt;&lt;br /&gt;&lt;a href=&quot;http://wpf.netfx3.com/&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://wpf.netfx3.com/&quot; target=&quot;_blank&quot;&gt;http://wpf.netfx3.com/&lt;/a&gt; (Contains Videos, Sample Application, Codes, Tricks for WPF, WCF, WF and CardSpace)&lt;br /&gt;&lt;a title=&quot;blocked::&lt;a href=&quot; target=&quot;_blank&quot;&gt;http://www.netfxguide.com/guide/_net_framework_3_0.aspx&lt;/a&gt; (Complete Guide for WinFx, Almost Everything you needed to start with .net 3)</description><link>http://spotdotnet.blogspot.com/2007/06/microsoft-dot-net-framework-30-overview.html</link><author>noreply@blogger.com (sky)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4157131614643134533.post-6061418431447618412</guid><pubDate>Thu, 28 Jun 2007 07:03:00 +0000</pubDate><atom:updated>2007-07-27T00:18:42.812-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Microsoft Surface</category><title>About Microsoft Surface</title><description>Hello All&lt;br /&gt;&lt;br /&gt;Microsoft has planned to launch a greate product called &quot;Surface&quot;&lt;br /&gt;&lt;br /&gt;Microsoft Surface represents a fundamental change in the way we interect with digital content.&lt;br /&gt;&lt;br /&gt;With Surface, we can actually grab data with our hands, and move information between objects with natural gestures and touch.&lt;br /&gt;&lt;br /&gt;Surface features a 30-inch tabletop display whose unique abilities allow for several people to work independently or simultaneously.&lt;br /&gt;&lt;br /&gt;And strange is you dont need to use a mouse or a keyboard. ;)&lt;br /&gt;&lt;br /&gt;really a nice thing.&lt;br /&gt;&lt;br /&gt;for more information visit&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.microsoft.com/surface/&quot;&gt;http://www.microsoft.com/surface/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Have a look at one of the demos&lt;br /&gt;&lt;br /&gt;&lt;object width=&quot;425&quot; height=&quot;350&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/FlZxuqjJDgk&quot;&gt;&lt;/param&gt;&lt;param name=&quot;wmode&quot; value=&quot;transparent&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/FlZxuqjJDgk&quot; type=&quot;application/x-shockwave-flash&quot; wmode=&quot;transparent&quot; width=&quot;425&quot; height=&quot;350&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Enjoy!</description><link>http://spotdotnet.blogspot.com/2007/06/about-microsoft-surface.html</link><author>noreply@blogger.com (sky)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4157131614643134533.post-6014580044509385208</guid><pubDate>Fri, 22 Jun 2007 07:14:00 +0000</pubDate><atom:updated>2007-07-27T00:18:13.221-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SQL server</category><title>Small example of decimal result of numeric operation in SQL server</title><description>Hello&lt;br /&gt;&lt;br /&gt;here is the small example to get result of numeric operation in decimal in sql server&lt;br /&gt;&lt;br /&gt;declare @a decimal(10,2)&lt;br /&gt;declare @a1 int&lt;br /&gt;declare @a2 int&lt;br /&gt;&lt;br /&gt;set @a1 = 3&lt;br /&gt;set @a2 = 2&lt;br /&gt;set @a = @a1/@a2&lt;br /&gt;print @a&lt;br /&gt;&lt;br /&gt;this will give &quot;1.00&quot;. which is wrong result...&lt;br /&gt;&lt;br /&gt;to get correct result you just need to cast one of the integer value in decimal as shown below&lt;br /&gt;&lt;br /&gt;declare @a decimal(10,2)&lt;br /&gt;declare @a1 int&lt;br /&gt;declare @a2 int&lt;br /&gt;&lt;br /&gt;set @a1 = 3&lt;br /&gt;set @a2 = 2&lt;br /&gt;&lt;br /&gt;set @a = @a1/cast(@a2 as decimal)&lt;br /&gt;print @a&lt;br /&gt;&lt;br /&gt;this will give &quot;1.50&quot;. which is the result we are looking for.&lt;br /&gt;&lt;br /&gt;Enjoy!</description><link>http://spotdotnet.blogspot.com/2007/06/small-example-of-decimal-result-of.html</link><author>noreply@blogger.com (sky)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4157131614643134533.post-7629147251012516215</guid><pubDate>Thu, 21 Jun 2007 15:45:00 +0000</pubDate><atom:updated>2007-07-27T00:18:13.221-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SQL server</category><title>Date/Time Conversions Using SQL Server</title><description>Hello friends&lt;br /&gt;&lt;br /&gt;here is the list of all sql date time formats,&lt;br /&gt;&lt;br /&gt;&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;3&quot; width=&quot;600&quot; border=&quot;1&quot;   style=&quot;font-family:Arial;font-size:small;&quot;&gt;&lt;tbody&gt;&lt;tr valign=&quot;top&quot; align=&quot;left&quot;&gt;&lt;td colspan=&quot;3&quot;  style=&quot;color:gray;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size:85%;color:#000000;&quot;&gt;DATE FORMATS&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size:85%;&quot;&gt; &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign=&quot;top&quot; align=&quot;left&quot;&gt;&lt;td&gt;&lt;b&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Format #&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size:85%;&quot;&gt; &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Query&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size:85%;&quot;&gt; (current date: 12/30/2006) &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Sample&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size:85%;&quot;&gt; &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign=&quot;top&quot; align=&quot;left&quot;&gt;&lt;td align=&quot;middle&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;1 &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;select convert(varchar, getdate(), 1) &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;12/30/06 &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign=&quot;top&quot; align=&quot;left&quot;&gt;&lt;td align=&quot;middle&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;2 &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;select convert(varchar, getdate(), 2) &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;06.12.30 &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign=&quot;top&quot; align=&quot;left&quot;&gt;&lt;td align=&quot;middle&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;3 &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;select convert(varchar, getdate(), 3) &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;30/12/06 &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign=&quot;top&quot; align=&quot;left&quot;&gt;&lt;td align=&quot;middle&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;4 &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;select convert(varchar, getdate(), 4) &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;30.12.06 &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign=&quot;top&quot; align=&quot;left&quot;&gt;&lt;td align=&quot;middle&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;5 &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;select convert(varchar, getdate(), 5) &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;30-12-06 &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign=&quot;top&quot; align=&quot;left&quot;&gt;&lt;td align=&quot;middle&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;6 &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;select convert(varchar, getdate(), 6) &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;30 Dec 06 &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign=&quot;top&quot; align=&quot;left&quot;&gt;&lt;td align=&quot;middle&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;7 &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;select convert(varchar, getdate(), 7) &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Dec 30, 06 &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign=&quot;top&quot; align=&quot;left&quot;&gt;&lt;td align=&quot;middle&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;10 &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;select convert(varchar, getdate(), 10) &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;12-30-06 &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign=&quot;top&quot; align=&quot;left&quot;&gt;&lt;td align=&quot;middle&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;11 &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;select convert(varchar, getdate(), 11) &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;06/12/30 &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign=&quot;top&quot; align=&quot;left&quot;&gt;&lt;td align=&quot;middle&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;101 &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;select convert(varchar, getdate(), 101) &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;12/30/2006 &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign=&quot;top&quot; align=&quot;left&quot;&gt;&lt;td align=&quot;middle&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;102 &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;select convert(varchar, getdate(), 102) &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;2006.12.30 &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign=&quot;top&quot; align=&quot;left&quot;&gt;&lt;td align=&quot;middle&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;103 &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;select convert(varchar, getdate(), 103) &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;30/12/2006 &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign=&quot;top&quot; align=&quot;left&quot;&gt;&lt;td align=&quot;middle&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;104 &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;select convert(varchar, getdate(), 104) &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;30.12.2006 &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign=&quot;top&quot; align=&quot;left&quot;&gt;&lt;td align=&quot;middle&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;105 &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;select convert(varchar, getdate(), 105) &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;30-12-2006 &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign=&quot;top&quot; align=&quot;left&quot;&gt;&lt;td align=&quot;middle&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;106 &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;select convert(varchar, getdate(), 106) &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;30 Dec 2006 &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign=&quot;top&quot; align=&quot;left&quot;&gt;&lt;td align=&quot;middle&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;107 &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;select convert(varchar, getdate(), 107) &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Dec 30, 2006 &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign=&quot;top&quot; align=&quot;left&quot;&gt;&lt;td align=&quot;middle&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;110 &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;select convert(varchar, getdate(), 110) &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;12-30-2006 &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign=&quot;top&quot; align=&quot;left&quot;&gt;&lt;td align=&quot;middle&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;111 &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;select convert(varchar, getdate(), 111) &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;2006/12/30 &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign=&quot;top&quot; align=&quot;left&quot;&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign=&quot;top&quot; align=&quot;left&quot;&gt;&lt;td colspan=&quot;3&quot;  style=&quot;color:gray;&quot;&gt;&lt;span style=&quot;color:#ffffff;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size:85%;color:#000000;&quot;&gt;TIME FORMATS&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size:85%;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign=&quot;top&quot; align=&quot;left&quot;&gt;&lt;td align=&quot;middle&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;8 or 108 &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;select convert(varchar, getdate(), 8) &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;00:38:54 &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign=&quot;top&quot; align=&quot;left&quot;&gt;&lt;td align=&quot;middle&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;9 or 109 &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;select convert(varchar, getdate(), 9) &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Dec 30 2006 12:38:54:840AM &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign=&quot;top&quot; align=&quot;left&quot;&gt;&lt;td align=&quot;middle&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;14 or 114 &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;select convert(varchar, getdate(), 14) &lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;00:38:54:840 &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;center&gt;&lt;/center&gt;&lt;center&gt;Enjoy!&lt;/center&gt;</description><link>http://spotdotnet.blogspot.com/2007/06/datetime-conversions-using-sql-server.html</link><author>noreply@blogger.com (sky)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4157131614643134533.post-8470801304218140107</guid><pubDate>Thu, 21 Jun 2007 15:45:00 +0000</pubDate><atom:updated>2007-07-27T00:18:13.221-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SQL server</category><title>How to get length of data in Text,NText and Image columns?</title><description>There is sometimes a need to figure out the maximum space that is being used by a particular column in your database. You would initially think that the &lt;a href=&quot;http://msdn2.microsoft.com/en-us/library/ms190329.aspx&quot; target=&quot;_blank&quot;&gt;LEN()&lt;/a&gt; function would allow you to do this, but this function does not work on Text, NText or Image data types .&lt;br /&gt;&lt;br /&gt;So to solve this problem&lt;br /&gt;SQL Server has a &lt;a href=&quot;http://msdn2.microsoft.com/en-us/library/ms173486.aspx&quot; target=&quot;_blank&quot;&gt;DATALENGTH()&lt;/a&gt; function.&lt;br /&gt;&lt;br /&gt;For e.g.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;color:#33ccff;&quot;&gt;SELECT name, LEN(packagedata) FROM dbo.sysdtspackages&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;this query will give error.&lt;br /&gt;&lt;br /&gt;the correct query is&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;color:#3366ff;&quot;&gt;SELECT name, DATALENGTH(packagedata) FROM dbo.sysdtspackages&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Enjoy!</description><link>http://spotdotnet.blogspot.com/2007/06/how-to-get-lenght-of-data-in-textntext.html</link><author>noreply@blogger.com (sky)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4157131614643134533.post-849444105544724849</guid><pubDate>Thu, 21 Jun 2007 15:44:00 +0000</pubDate><atom:updated>2007-07-27T00:18:13.221-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SQL server</category><title>SQL server Identity Column information</title><description>Hi,&lt;br /&gt;&lt;br /&gt;SQL Server 2000 has three functions that return IDENTITY information. The result of each of these three functions is dependent on three factors:&lt;br /&gt;&lt;br /&gt;1. The session scope (which connection produced the IDENTITY value?)&lt;br /&gt;&lt;br /&gt;2. The table scope (which table produced the IDENTITY value?)&lt;br /&gt;&lt;br /&gt;3. The statement scope (where is the statement that produced the IDENTITY value?)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(SQL Statements that are contained in the same batch, stored procedure, or trigger are considered to be in the same scope.&lt;br /&gt;So, if I call an INSERT that fires a trigger, I have two different scopes: scope 1 is inside the batch that called the INSERT, and scope 2 is inside the trigger.)&lt;br /&gt;&lt;br /&gt;1. &lt;strong&gt;SELECT @@IDENTITY&lt;br /&gt;&lt;/strong&gt;This is everyone&#39;s favorite function, unchanged from earlier versions of SQL Server. It returns the last IDENTITY value produced on a connection, regardless of the table that produced the value, and regardless of the scope of the statement that produced the value.&lt;br /&gt;&lt;br /&gt;2. &lt;strong&gt;SELECT IDENT_CURRENT (&#39;tablename&#39;)&lt;br /&gt;&lt;/strong&gt;This new function returns the last IDENTITY value produced in a table, regardless of the connection that created the value, and regardless of the scope of the statement that produced the value.&lt;br /&gt;&lt;br /&gt;3. &lt;strong&gt;SELECT SCOPE_IDENTITY ()&lt;br /&gt;&lt;/strong&gt;This new function returns the last IDENTITY value produced on a connection and by a statement in the same scope, regardless Of the table that produced the value.&lt;br /&gt;&lt;br /&gt;Thank you</description><link>http://spotdotnet.blogspot.com/2007/06/sql-server-identity-column-information.html</link><author>noreply@blogger.com (sky)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4157131614643134533.post-669881599568044029</guid><pubDate>Thu, 21 Jun 2007 15:43:00 +0000</pubDate><atom:updated>2007-07-27T00:18:13.222-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SQL server</category><title>How to debug sql stored procedures?</title><description>Hello,&lt;br /&gt;&lt;br /&gt;i have found a nice link for answer.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.15seconds.com/issue/050106.htm&quot;&gt;http://www.15seconds.com/issue/050106.htm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;hope you will find the answer.&lt;br /&gt;&lt;br /&gt;Thank you</description><link>http://spotdotnet.blogspot.com/2007/06/how-to-debug-sql-stored-procedures.html</link><author>noreply@blogger.com (sky)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4157131614643134533.post-7263468442073851712</guid><pubDate>Thu, 21 Jun 2007 15:41:00 +0000</pubDate><atom:updated>2007-07-27T00:18:13.222-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SQL server</category><title>How to remove noise words from SQL server?</title><description>How to remove noise words from SQL server?&lt;br /&gt;&lt;br /&gt;• Check the language of your sql using following syntax&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;select @@languagee.g. result : us_english&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;• Now here you have “English language” so…• Remove required word from following files…&lt;br /&gt;&lt;br /&gt;1. the &lt;strong&gt;noise.*&lt;/strong&gt; files under your &lt;strong&gt;\WINNT\System32&lt;/strong&gt; directory&lt;br /&gt;&lt;br /&gt;2. &lt;strong&gt;noise.enu&lt;/strong&gt; (US_English) and &lt;strong&gt;noise.eng&lt;/strong&gt; (UK_English) noise word files under your SQL Server default folder of &lt;strong&gt;\FTDATA\SQLServer\Config.&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;• After making these changes and before saving the file changes, you must stop the &lt;strong&gt;“Microsoft Search“ service&lt;/strong&gt;, before you can save the FTDATA noise word files. When your modifications are completed, &lt;strong&gt;you must run a Full Population&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;Enjoy.</description><link>http://spotdotnet.blogspot.com/2007/06/how-to-remove-noise-words-from-sql.html</link><author>noreply@blogger.com (sky)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4157131614643134533.post-2978340116404303093</guid><pubDate>Thu, 21 Jun 2007 15:39:00 +0000</pubDate><atom:updated>2007-07-27T00:18:13.222-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">SQL server</category><title>Function to split string in SQL</title><description>Hello&lt;br /&gt;&lt;br /&gt;I have found one interesting function using which you can split the text with some character like &#39;,&#39; or any other character.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CREATE function [dbo].[Split] (@String nvarchar(4000), @Delimiter char(1))&lt;br /&gt;Returns @Results Table (Items nvarchar(4000))&lt;br /&gt;As&lt;br /&gt;Begin&lt;br /&gt;Declare @Index int&lt;br /&gt;Declare @Slice nvarchar(4000)&lt;br /&gt;&lt;br /&gt;Select @Index = 1&lt;br /&gt;If @String Is NULL Return&lt;br /&gt;&lt;br /&gt;While @Index != 0&lt;br /&gt;Begin&lt;br /&gt;Select @Index = CharIndex(@Delimiter, @String)&lt;br /&gt;If @Index &lt;&gt; 0&lt;br /&gt;&lt;br /&gt;Select @Slice = left(@String, @Index - 1)&lt;br /&gt;&lt;br /&gt;else&lt;br /&gt;&lt;br /&gt;Select @Slice = @String&lt;br /&gt;Insert into @Results(Items) Values (@Slice)&lt;br /&gt;Select @String = right(@String, Len(@String) - @Index)&lt;br /&gt;&lt;br /&gt;If Len(@String) = 0 break&lt;br /&gt;&lt;br /&gt;End&lt;br /&gt;Return&lt;br /&gt;End&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Now how to use this function&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;select * from dbo.Split(&#39;a,b,c,d&#39;,&#39;,&#39;)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;this will give following result&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Items&lt;br /&gt;-----&lt;br /&gt;a&lt;br /&gt;b&lt;br /&gt;c&lt;br /&gt;d&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How this function can make your life easy!&lt;br /&gt;&lt;br /&gt;Suppose if you want to insert more than one row in a table depending on above function result&lt;br /&gt;&lt;br /&gt;you can just do as follows&lt;br /&gt;&lt;br /&gt;insert into Table_Name (Column_Name)&lt;br /&gt;select * from dbo.Split(&#39;a,b,c,d&#39;,&#39;,&#39;)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Enjoy</description><link>http://spotdotnet.blogspot.com/2007/06/function-to-split-string-in-sql.html</link><author>noreply@blogger.com (sky)</author><thr:total>0</thr:total></item></channel></rss>