<?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-5865907911743884519</atom:id><lastBuildDate>Fri, 20 Mar 2026 07:11:54 +0000</lastBuildDate><category>asp.net</category><category>php</category><category>javascript</category><category>ms sql server</category><category>jquery</category><category>mysql</category><category>technology news</category><category>windows</category><category>visual studio</category><category>wordpress</category><category>css</category><category>linq</category><category>others</category><category>quality assurance</category><category>software</category><category>tools</category><category>windows 7</category><title>Programming Tutorials</title><description> </description><link>http://nice-tutorials.blogspot.com/</link><managingEditor>noreply@blogger.com (Arman Malik)</managingEditor><generator>Blogger</generator><openSearch:totalResults>259</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-5232286907719147154</guid><pubDate>Mon, 19 Oct 2015 12:56:00 +0000</pubDate><atom:updated>2015-10-19T06:48:12.660-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">jquery</category><title>How to remove a column from a table using JQuery</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;summary&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
Sometimes you may get requirement to remove a column from a table or you may want to hide a column from a table. In both cases the logic is same just we have to use the .remove() method if we are interested to remove the column or use the .hide() method if we are interested to hide the column. Let’s have a look on how to do so
&lt;/span&gt;
&lt;/div&gt;
&lt;div class=&quot;restofpost&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
&lt;pre name=&quot;code&quot; class=&quot;html&quot;&gt;
&lt;table  border=&quot;1&quot; &gt;  
        &lt;tr&gt;
        &lt;td &gt;
        &lt;img src=&quot;addButton.jpg&quot; id=&#39;addButton&#39;/&gt;
        &lt;/td&gt; 
        &lt;td &gt;
        &lt;img  src=&quot;removeButton.jpg&quot; id=&#39;removeButton&#39;/&gt;
         &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
        &lt;td &gt;Row 2 Cell 1
        &lt;/td&gt; 
        &lt;td &gt;Row 2 Cell 2&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
        &lt;td &gt;Row 3 Cell 1
        &lt;/td&gt; 
        &lt;td &gt;Row 3 Cell 2&lt;/td&gt;
        &lt;/tr&gt;
    &lt;/table&gt;
&lt;/pre&gt;
I want to remove the whole column whenever user click on Remove Button image, let see how we can do this in JQuery
&lt;pre name=&quot;code&quot; class=&quot;js&quot;&gt;
$(&quot;#removeButton &quot;).click(function() {
    var $td = $(this).closest(&quot;td&quot;);
    var index = $td.index() + 1;
    $td.closest(&quot;table&quot;).find(&quot;td:nth-child(&quot; + index + &quot;)&quot;).remove();
});
&lt;/pre&gt;
Hopefully it will work for you.
&lt;/span&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://nice-tutorials.blogspot.com/2015/10/how-to-remove-column-from-table-using.html</link><author>noreply@blogger.com (Arman Malik)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-7932614950296612016</guid><pubDate>Sat, 17 Oct 2015 14:50:00 +0000</pubDate><atom:updated>2015-10-17T07:50:53.722-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">asp.net</category><title>How to convert small month name into complete month name in asp.net using c#</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;summary&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
Today I checked the code of my team mate who was picking month name from database but there was a problem and to rectify it he was using multiple IF Statements. The problem of month name was with its data type which was string &amp;amp; also it was small month name which means instead of January it was Jan &amp;amp; instead of February it was Feb. 
&lt;/span&gt;
&lt;/div&gt;
&lt;div class=&quot;restofpost&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
The code he was using to convert small month name into complete month name was something like that&lt;br/&gt;&lt;br/&gt;
if(monthname==”Jan”)&lt;br/&gt;
{&lt;br/&gt;
monthname=”January”;&lt;br/&gt;
}&lt;br/&gt;

&lt;p&gt;For each month he was using IF Statement &amp;amp; then I tried to optimize the code. Following logic I used to convert the nasty IF statements into optimized code.&lt;/p&gt;

&lt;pre name=&quot;code&quot; class=&quot;csharp&quot;&gt;
using System.Globalization;
string monthName = obj[0].month_come_from_database;
string completeMonthName = Convert.ToDateTime(monthName + &quot; 01, 1900&quot;).ToString(&quot;MMMM&quot;, CultureInfo.InvariantCulture);
&lt;/pre&gt;
That’s it. It will always provide complete month name. Hopefully it will work for you.

Happy Coding.
&lt;/span&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://nice-tutorials.blogspot.com/2015/10/how-to-convert-small-month-name-into.html</link><author>noreply@blogger.com (Arman Malik)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-2220568606794901725</guid><pubDate>Thu, 15 Oct 2015 14:51:00 +0000</pubDate><atom:updated>2015-10-15T07:51:48.822-07:00</atom:updated><title>UPDATE from SELECT in SQL Server</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;summary&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
Normally people think UPDATE statement runs only for a single table but for scenario when we have to check multiple values in a multiple table then we cannot use update statement. Well folks it’s just a myth &amp; we can use it while joining multiple tables.
&lt;/span&gt;
&lt;/div&gt;

&lt;div class=&quot;restofpost&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
Please check given below sample query to update the records while joining multiple tables
&lt;/span&gt;
&lt;pre name=&quot;code&quot; class=&quot;sql&quot;&gt;
UPDATE
    T
SET
    T.col1 = OT.col1,
    T.col2 = OT.col2
FROM
    Some_Table T
INNER JOIN
    Other_Table OT
ON
    T.id = OT.id
WHERE
    T.col3 = &#39;some value&#39;
&lt;/pre&gt;

Hopefully it will work for you. Cheers

&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://nice-tutorials.blogspot.com/2015/10/update-from-select-in-sql-server.html</link><author>noreply@blogger.com (Arman Malik)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-1862192278199858245</guid><pubDate>Wed, 14 Oct 2015 14:43:00 +0000</pubDate><atom:updated>2015-10-14T07:43:17.347-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ms sql server</category><title>Count total number of columns in a table in sql server</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;summary&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
Today we will check how to count total number of columns in a table in sql server. Sometimes we need to compare the columns of one table on multiple servers to get idea if anything is missing or not. It’s better to query the database rather than manually count it.
&lt;/span&gt;
&lt;/div&gt;

&lt;div class=&quot;restofpost&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
Its quite simple
&lt;/span&gt;
&lt;pre name=&quot;code&quot; class=&quot;sql&quot;&gt;
SELECT COUNT(COLUMN_NAME)as [Total Columns] FROM INFORMATION_SCHEMA.COLUMNS WHERE 
TABLE_CATALOG = &#39;database_name_will_come_here&#39; -- IF YOU WANT TO QUERY ANY OTHER DATABASE
AND TABLE_SCHEMA = &#39;dbo&#39;
AND TABLE_NAME = &#39;table_name_will_come_here&#39;

&lt;/pre&gt;

That&#39;s it. Hopefully it will work for you.

&lt;/div&gt;

&lt;br /&gt;&lt;/div&gt;
</description><link>http://nice-tutorials.blogspot.com/2015/10/count-total-number-of-columns-in-table.html</link><author>noreply@blogger.com (Arman Malik)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-6662534552391903604</guid><pubDate>Mon, 21 Sep 2015 11:17:00 +0000</pubDate><atom:updated>2015-09-21T04:33:47.567-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">php</category><category domain="http://www.blogger.com/atom/ns#">wordpress</category><title>Wordpress Error: Download failed. There are no HTTP transports available which can complete the requested request.</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif;&quot; class=&quot;summary&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;
Today I found this error when I tried to update to wordpress version to 4.3.1. Remember, my wordpress was hosted in IIS with Windows Server 2008 R2 Standard. In the past whenever I tried to update the wordpress it worked like charm.
&lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif;&quot; class=&quot;restofpost&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;
It was very frustrating for me to suddenly receive the error &lt;h1 style=&quot;font-family: Verdana,sans-serif; font-size: small;&quot;&gt;Download failed. There are no HTTP transports available which can complete the requested request.&lt;/h1&gt;On googling I found to uncomment the following extensions from php.ini
&lt;ul&gt;
&lt;li&gt;extension=php_curl.dll&lt;/li&gt;
&lt;li&gt;extension=php_openssl.dll&lt;/li&gt;
&lt;/ul&gt;

Remember, I hosted my blog on windows environment with IIS so I uncommented both extensions from PHP folder (Where PHP is installed) &amp; Windows folder as both of these folders were containing php.ini file. You just have to remove the preceding semi colon, save the file &amp; that’s it you have enable the extension. If you guys know any other method to get rid of this error then please share in the form of comments.
&lt;/span&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://nice-tutorials.blogspot.com/2015/09/wordpress-error-download-failed-there.html</link><author>noreply@blogger.com (Arman Malik)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-2080074738787523626</guid><pubDate>Thu, 22 May 2014 10:00:00 +0000</pubDate><atom:updated>2014-05-22T03:02:17.005-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ms sql server</category><title>Replace empty record in ms sql server</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;summary&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
Couple of days ago while working in a project I got requirement to replace empty or we say blank record with space. Remember I am asking to replace the record that doesn’t exist with space, means it’s not related to NULL data, not related to space in column etc.
&lt;/span&gt;
&lt;/div&gt;
&lt;div class=&quot;restofpost&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
One more thing which was very strange for me at that time and I want to add it here that you can replace empty record with space by using different possible ways but to retrieve space in front end (Website) most of them doesn’t work and you may surprise that in ms sql server it is returning space but why let&#39;s suppose asp.net code is unable to get that space.
So the methods work fine for me are listed below
&lt;pre name=&quot;code&quot; class=&quot;sql&quot;&gt;
SELECT ISNULL(NULLIF(DATABASE_COLUMN,&#39;&#39;),&#39; &#39;)
&lt;/pre&gt;
&lt;pre name=&quot;code&quot; class=&quot;sql&quot;&gt;
SELECT ISNULL(DATABASE_COLUMN,&#39; &#39;)
&lt;/pre&gt;
NULLIF returns the first expression if the two expressions are not equal. If the expressions are equal, NULLIF returns a null value of the type of the first expression and if first expression is empty/blank then NULLIF returns a null value of the type of the first expression.&lt;br/&gt;&lt;br/&gt;
So that’s it. Enjoy your life.
&lt;/span&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://nice-tutorials.blogspot.com/2014/05/replace-empty-record-in-ms-sql-server.html</link><author>noreply@blogger.com (Arman Malik)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-5424961322315300883</guid><pubDate>Wed, 09 Apr 2014 11:05:00 +0000</pubDate><atom:updated>2014-04-09T04:05:18.217-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">asp.net</category><title>Check whether first character in a string is capital or not</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;summary&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
In this tutorial we will learn how to check whether first character in a string is capital or not. It’s pretty simple and don’t required any professional coding. Let’s have a look how to do so.
&lt;/span&gt;
&lt;/div&gt;
&lt;div class=&quot;restofpost&quot; style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
&lt;pre class=&quot;csharp&quot; name=&quot;code&quot;&gt; 
string mystring = &quot;Adeel&quot;;

if (mystring[0].ToString() == mystring[0].ToString().ToUpper())
{
    Response.Write(&quot;First character is capital&quot;);
}
else
{
    Response.Write(&quot;First character is not capital&quot;);
}

&lt;/pre&gt;
&lt;p&gt;So that’s it, this is the proper and simple way.&lt;/p&gt;
&lt;p&gt; Happy Coding!!!&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;
</description><link>http://nice-tutorials.blogspot.com/2014/04/check-whether-first-character-in-string.html</link><author>noreply@blogger.com (Arman Malik)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-7274190635254979431</guid><pubDate>Wed, 09 Apr 2014 10:41:00 +0000</pubDate><atom:updated>2014-04-09T03:41:34.516-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">asp.net</category><title>Make first character of a string upper case in asp.net</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;summary&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
Couple of days ago I got requirement of make first character of a string upper case in asp.net. I found but unable to get any built-in function available in .net so after some sort of coding, I develop my own function.
&lt;/span&gt;
&lt;/div&gt;
&lt;div class=&quot;restofpost&quot; style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;

&lt;pre class=&quot;csharp&quot; name=&quot;code&quot;&gt; 
public static string MakeFirstCharUpper(string inputstring)
{
    if (String.IsNullOrEmpty(inputstring))
        throw new ArgumentException(&quot;ARGH!&quot;);
    return inputstring.First().ToString().ToUpper() + String.Join(&quot;&quot;,inputstring.ToLower().Trim().Skip(1));
}

&lt;/pre&gt;
&lt;p&gt;So that’s it. Just you have to call this function and you will get desired output.&lt;/p&gt;

&lt;p&gt;Happy Coding!!!&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;
</description><link>http://nice-tutorials.blogspot.com/2014/04/make-first-character-of-string-upper.html</link><author>noreply@blogger.com (Arman Malik)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-1254650983885325035</guid><pubDate>Fri, 31 Jan 2014 13:47:00 +0000</pubDate><atom:updated>2014-01-31T05:51:15.080-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">javascript</category><title>Image printing problem in google chrome</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;summary&quot; style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;
In this article we will look how to fix the image printing problem in Google chrome. Most of the developers complaint that there code snippet for printing content of any div works well in all browsers except chrome, they can see images being printed in all browsers but in Google chrome neither images shown in print preview nor printed. So for Google chrome the workaround is pretty simple, just you have to add the &amp;lt;!DOCTYPE html PUBLIC \&quot;-//W3C//DTD XHTML 1.0 Transitional//EN\&quot;  \http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\&amp;gt; and that&#39;s it. How? Let’s have a look
&lt;/span&gt;
&lt;/div&gt;
&lt;div class=&quot;restofpost&quot; style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;h1 style=&quot;font-family: Verdana,sans-serif; font-size: small;&quot;&gt;Image printing problem in Google chrome&lt;/h1&gt;
&lt;span&gt;

&lt;pre class=&quot;js&quot; name=&quot;code&quot;&gt;

        function printcontent() {
            var docType = &quot;&amp;lt;!DOCTYPE html PUBLIC \&quot;-//W3C//DTD XHTML 1.0 Transitional//EN\&quot;  \&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\&quot;&amp;gt;&quot;;
            var disp_setting = &quot;toolbar=yes,location=no,directories=yes,menubar=yes,&quot;;
            disp_setting += &quot;scrollbars=yes,width=800, height=800, left=50, top=25,_blank&quot;;
            if (navigator.appName != &quot;Microsoft Internet Explorer&quot;)
                disp_setting = &quot;&quot;;

            var content_vlue = document.getElementById(&quot;divContent&quot;).innerHTML;
            var docprint = window.open(&quot;&quot;, &quot;&quot;, disp_setting);
            docprint.document.open();

            docprint.document.write(docType);
            docprint.document.write(&#39;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;&#39;);

            docprint.document.write(&#39;&amp;lt;/head&amp;gt;&amp;lt;body style=&quot;padding:0;margin-top:0 !important;margin-bottom:0!important;&quot;   onLoad=&quot;self.print();self.close();&quot;&amp;gt;&#39;);

            docprint.document.write(content_vlue);
            docprint.document.write(&#39;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&#39;);
            //document.write(doct + divContent.innerHTML);
            docprint.document.close();
            docprint.focus();
        }

&lt;/pre&gt;

&lt;pre name=&quot;code&quot; class=&quot;html&quot;&gt;
&amp;lt;div id=&quot;divContent&quot;&amp;gt;
        &amp;lt;table width=&quot;100%&quot; cellpadding=&quot;2&quot; cellspacing=&quot;2&quot;&amp;gt;
            &amp;lt;tr&amp;gt;
                &amp;lt;td&amp;gt;
                    &amp;lt;img src=&quot;img/web_logo_new.jpg&quot; alt=&quot;logo&quot; /&amp;gt;&amp;lt;/td&amp;gt;
                &amp;lt;td&amp;gt;Some content will come here &amp;lt;/td&amp;gt;
            &amp;lt;/tr&amp;gt;

        &amp;lt;/table&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;input type=&quot;button&quot; value=&quot;Print&quot; onclick=&quot;printcontent();&quot; /&amp;gt;
&lt;/pre&gt;
&lt;br/&gt;
So that&#39;s it. Hopefully it will fix your &lt;strong&gt;problem of printing images in Google chrome&lt;/strong&gt;.
&lt;/span&gt;
&lt;/div&gt;

&lt;/div&gt;
</description><link>http://nice-tutorials.blogspot.com/2014/01/image-printing-problem-in-google-chrome.html</link><author>noreply@blogger.com (Arman Malik)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-163735700675066807</guid><pubDate>Thu, 16 Jan 2014 14:55:00 +0000</pubDate><atom:updated>2014-01-16T06:55:14.010-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">asp.net</category><title>Difference between Response.Redirect() and Response.RedirectPermanent()</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;summary&quot;&gt;
&lt;p&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;In this asp.net tutorial we will learn the &lt;strong&gt;difference between Response.Redirect() and Response.RedirectPermanent()&lt;/strong&gt;. Microsoft has introduced Response.RedirectPermanent() method in .net 4.0 version. The main objective of this method is to have permanent response redirection to the Search Engines.&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;

&lt;div class=&quot;restofpost&quot;&gt;
&lt;p&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;Basically Response.RedirectParmanent() is an extension function introduced in .NET 4.0. The main aim of it is to indicate the Response Code to the Search Engine that the page has been moved permanently.&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;Response.Redirect() is also called 302 temporary redirect. The 302 Temporary redirects are also as they sound; temporary, in which you are telling the search engines to read and use the content of the new page, but to keep checking the original URL first as it will ultimately be reestablished. The Response.Redirect() generates Response code as 302 (Temporary Redirection). If you use the Response.Redirect() to redirect from Page A to Page B, search engines will keep Page A in their index/cache/database since the Response.Redirect() indicates a temporary redirect.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;Response.RedirectPermanent() is also called 301 permanent redirect. The 301 permanent redirects are also as they sound; permanently redirects from an old URL to a new one. It also tells the search engines that the old location is to be removed from their index and replaced with the new location. Using 301 redirect is the most search engine friendly way to redirect traffic and search engines. The Response.RedirectParmanent() returns 301 (Permanent Redirection).  If you use the Response.RedirectPermanent() to redirect from Page A to Page B, search engines will keep Page B in their index/cache/database since the Response.RedirectPermanent() indicates a permanent redirect and include new page for better performance on search. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;u&gt;Note:&lt;/u&gt; Another method used for redirection is Server.Transfer() in which search engine is unaware of any redirection that took place (Status 200) and keep remain the link of old page in its cache/database. Search engine thinks that the old page is producing the output response of the new page.&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;

&lt;/div&gt;
</description><link>http://nice-tutorials.blogspot.com/2014/01/difference-between-responseredirect-and.html</link><author>noreply@blogger.com (Arman Malik)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-8680874605751718183</guid><pubDate>Fri, 06 Dec 2013 14:01:00 +0000</pubDate><atom:updated>2013-12-06T06:01:14.920-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ms sql server</category><title>Text search in Stored Procedures in SQL Server 2005 and 2008</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;summary&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;In this ms sql server tutorial we will discuss &lt;strong&gt;Text search in Stored Procedures in SQL Server 2005 and 2008&lt;/strong&gt;. There are many ways to accomplish this task. Lets have a look on those methods. &lt;/span&gt;&lt;/div&gt;

&lt;div class=&quot;restofpost&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
&lt;u&gt;Method 1:&lt;/u&gt;&lt;br/&gt;
&lt;pre name=&quot;code&quot; class=&quot;sql&quot;&gt;SELECT ROUTINE_NAME, ROUTINE_DEFINITION 
FROM INFORMATION_SCHEMA.ROUTINES 
WHERE ROUTINE_DEFINITION LIKE &#39;%FOO%&#39; 
AND ROUTINE_TYPE=&#39;PROCEDURE&#39;&lt;/pre&gt;

&lt;u&gt;Method 2:&lt;/u&gt;&lt;br/&gt;
&lt;pre name=&quot;code&quot; class=&quot;sql&quot;&gt;SELECT OBJECT_NAME(ID) 
FROM SYSCOMMENTS 
WHERE [TEXT] LIKE &#39;%FOO%&#39; 
AND OBJECTPROPERTY(ID, &#39;ISPROCEDURE&#39;) = 1 
GROUP BY OBJECT_NAME(ID)&lt;/pre&gt;

&lt;u&gt;Method 3:&lt;/u&gt;&lt;br/&gt;
&lt;pre name=&quot;code&quot; class=&quot;sql&quot;&gt;SELECT OBJECT_NAME(object_id)
FROM sys.sql_modules
WHERE OBJECTPROPERTY(object_id, &#39;IsProcedure&#39;) = 1
AND definition LIKE &#39;%FOO%&#39; &lt;/pre&gt;
&lt;br/&gt;
Remember &lt;strong&gt;routine_definition&lt;/strong&gt; is cropped at 4000 chars if you have a long stored procedure. &lt;strong&gt;sys.sql_modules&lt;/strong&gt; doesn&#39;t have such restriction.&lt;br/&gt;&lt;br/&gt;

So that&#39;s it. Hopefully you will find this tutorial very handy.&lt;/span&gt;

&lt;/div&gt;
&lt;/div&gt;
</description><link>http://nice-tutorials.blogspot.com/2013/12/text-search-in-stored-procedures-in-sql.html</link><author>noreply@blogger.com (Arman Malik)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-7031602337031587924</guid><pubDate>Mon, 25 Nov 2013 11:33:00 +0000</pubDate><atom:updated>2013-11-25T03:33:47.806-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ms sql server</category><title>Optimize query to count total number of records in a table in ms sql server</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;summary&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
In this ms sql server tutorial we will learn how to count total number of records (rows) in a table. Many people use given below query for this purpose
&lt;pre name=&quot;code&quot; class=&quot;sql&quot;&gt;
SELECT COUNT(*) AS ROWS FROM MY_TABLE
&lt;/pre&gt;
&lt;/span&gt;
&lt;/div&gt;

&lt;div class=&quot;restofpost&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
Let me tell you this query is really a killer query if table contains records more than one lac and worst case is more than one million because this query scans the whole table right from first row to last row. 

&lt;p&gt;Now what should we do? What is the optimize query? These are the questions might be coming in your mind, ok, below given is the optimized query that you guys must use for counting records purpose.&lt;/p&gt;
&lt;pre name=&quot;code&quot; class=&quot;sql&quot;&gt;
SELECT ROWS FROM SYSINDEXES WHERE ID = OBJECT_ID(&#39;MY_TABLE&#39;) AND INDID &lt; 2
&lt;/pre&gt;
That&#39;s it. Hopefully you will find this tutorial very helpful. I love to hear your feedback.
&lt;/span&gt;

&lt;/div&gt;

&lt;/div&gt;
</description><link>http://nice-tutorials.blogspot.com/2013/11/optimize-query-to-count-total-number-of.html</link><author>noreply@blogger.com (Arman Malik)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-4129830008349565330</guid><pubDate>Sat, 05 Oct 2013 08:46:00 +0000</pubDate><atom:updated>2013-10-05T01:46:09.197-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">asp.net</category><category domain="http://www.blogger.com/atom/ns#">linq</category><category domain="http://www.blogger.com/atom/ns#">ms sql server</category><title>Create Fake Query in LINQ to avoid unknown return type error while drag and drop sp in dbml</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;summary&quot;&gt;
&lt;span style=&quot;font-family: verdana; font-size: small;&quot;&gt;In this tutorial you will learn &lt;strong&gt;how to create Fake Query in LINQ to avoid unknown return type error while drag and drop sp in dbml.&lt;/strong&gt; Now many of you will be thinking what does it means? Let me explain you, using linq when you drag and drop stored procedure in dbml file and get following alert then it means LINQ is unable to create class of your stored procedure in designer.cs (dbml).
&lt;/span&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUT3Vibuodu149CZKSoS89W4O7VYItFpG5G6ePaYP4rd1u2NPhElZCEoTiuQUslS9SvVxRfIJe8Wt2UgAqqqzunZP5umWomUISTyYu9sRo4X2MoIXP-PCN0Jas8nJtQSyBp9l9cPHgP1ph/s1600/fake-query-error.png&quot; imageanchor=&quot;1&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUT3Vibuodu149CZKSoS89W4O7VYItFpG5G6ePaYP4rd1u2NPhElZCEoTiuQUslS9SvVxRfIJe8Wt2UgAqqqzunZP5umWomUISTyYu9sRo4X2MoIXP-PCN0Jas8nJtQSyBp9l9cPHgP1ph/s320/fake-query-error.png&quot; alt=&quot;unknown return type&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;div class=&quot;restofpost&quot;&gt;
&lt;span style=&quot;font-family: verdana; font-size: small;&quot;&gt;&lt;b&gt;When you can face this problem?&lt;/b&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;&lt;span style=&quot;font-family: verdana; font-size: small;&quot;&gt;
&lt;li&gt;When you will be selecting columns based on conditions, means in one condition you are getting five columns and in other conditions you are getting seven columns&lt;/li&gt;
&lt;li&gt;When you will use temporary tables in stored procedure.&lt;/li&gt;
&lt;li&gt;In string based stored procedure.&lt;/li&gt;
&lt;/span&gt;&lt;/ul&gt;
&lt;span style=&quot;font-family: verdana; font-size: small;&quot;&gt;

&lt;b&gt;&lt;u&gt;Note:-&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
You can face this problem only in those SPs in which you are retrieving records. So if LINQ will not generate class of your stored procedure then it means you cannot retrieve records.
&lt;br /&gt;&lt;br /&gt;

&lt;b&gt;Steps to get rid of this problem and to create fake query&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;After getting aforementioned error, you have to delete stored procedure from your dbml file.&lt;/li&gt;
&lt;li&gt;You have to alter SP, comment whole code written in SP, write fake query, in that fake query you have to mention all columns that you want to retrieve in SELECT command in a way illustrated in following picture&lt;/li&gt;
&lt;/ul&gt;&lt;br/&gt;&lt;br/&gt;&lt;u&gt;Original SP&lt;/u&gt;&lt;br/&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixc6GgZDKic48Z0OqdujTs09R9w_DLjyR-5I5d0LCVRm_d0Q-p0eMPpOczpY7-LJasQtppCvR4oeBGVXjUMyLA8_AZGAoZ2OSnN3N9vSsU8mVudkohUFpl7mPSDmGx976wFz0O0hQ_gaYu/s1600/fake_query_illustration.png&quot; imageanchor=&quot;1&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixc6GgZDKic48Z0OqdujTs09R9w_DLjyR-5I5d0LCVRm_d0Q-p0eMPpOczpY7-LJasQtppCvR4oeBGVXjUMyLA8_AZGAoZ2OSnN3N9vSsU8mVudkohUFpl7mPSDmGx976wFz0O0hQ_gaYu/s320/fake_query_illustration.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br/&gt;&lt;br/&gt;&lt;u&gt;Comment the original SP, Write Fake Query and Alter the SP&lt;/u&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg1-KPOy48yfbvKIkB8C9LyBqRZ0uOHpTOzpQQPy_oG6Ysd8R65cEuLcBhZoe7pJrOf8WkMszfJvjyEWaW-JQc0c9ZzWWn2YAiI0tiVyLXpWSHiJP7EVYW2OwsNDbsPk4Gt_w9PBtSdIWH/s1600/fake_query_illustration_2.png&quot; imageanchor=&quot;1&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg1-KPOy48yfbvKIkB8C9LyBqRZ0uOHpTOzpQQPy_oG6Ysd8R65cEuLcBhZoe7pJrOf8WkMszfJvjyEWaW-JQc0c9ZzWWn2YAiI0tiVyLXpWSHiJP7EVYW2OwsNDbsPk4Gt_w9PBtSdIWH/s320/fake_query_illustration_2.png&quot; /&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;u&gt;Execute the SP, it will give you result&lt;/u&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikKUCv7GIWBaXJR1RMNrain44KuZ9IyAn9e-x72hyphenhyphenAuN6UzwmMIvg8_3KKdt65DdwLC06QVTtBA8Z8lxN-3xnUXqbmNMcQBIYwx6M3bHRj8KLqnM_gBk53wLmAD2Ri4JQWk72pQO1d0d5G/s1600/fake_query_illustration_3.png&quot; imageanchor=&quot;1&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikKUCv7GIWBaXJR1RMNrain44KuZ9IyAn9e-x72hyphenhyphenAuN6UzwmMIvg8_3KKdt65DdwLC06QVTtBA8Z8lxN-3xnUXqbmNMcQBIYwx6M3bHRj8KLqnM_gBk53wLmAD2Ri4JQWk72pQO1d0d5G/s320/fake_query_illustration_3.png&quot; /&gt;&lt;/a&gt;&lt;br/&gt; 
Once SP is altered with fake query, drag and drop SP again in dbml file, now this time you will not get any error and class of the SP will be created in designer.cs. In the last you have to alter the SP again but this time you will have to revert the whole SP, comment the Fake Query code and bring back the SP into its original state that it has before the Fake Query. After this alteration in SP there is no need to drag and drop it again.&lt;br/&gt;&lt;br/&gt;

&lt;br/&gt;&lt;br/&gt; There is one more thing that I will need to discuss with you guys in next post about fake query which is very important. So stay tuned.

So that&#39;s it. Cheers!!!!

&lt;/span&gt;

&lt;/div&gt;
&lt;/div&gt;</description><link>http://nice-tutorials.blogspot.com/2013/10/create-fake-query-in-linq-to-avoid.html</link><author>noreply@blogger.com (Arman Malik)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUT3Vibuodu149CZKSoS89W4O7VYItFpG5G6ePaYP4rd1u2NPhElZCEoTiuQUslS9SvVxRfIJe8Wt2UgAqqqzunZP5umWomUISTyYu9sRo4X2MoIXP-PCN0Jas8nJtQSyBp9l9cPHgP1ph/s72-c/fake-query-error.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-5077398980972744511</guid><pubDate>Fri, 04 Oct 2013 13:31:00 +0000</pubDate><atom:updated>2013-10-04T06:33:16.852-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">asp.net</category><category domain="http://www.blogger.com/atom/ns#">visual studio</category><title>Unable to work on visual studio after windows update installed, visual studio close automatically</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;summary&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;Hay guys I faced a problem couple of days ago and then I thought it may come to you guys too so that’s why I am publishing this post. Basically when I installed windows 7 in my system and then installed visual studio 2012 in it. Everything was going smoothly and then interval came :) I installed the windows update and when I tried to open the project in visual studio then it was giving me nasty error and closed automatically.
&lt;/span&gt;
&lt;/div&gt;
&lt;div class=&quot;restofpost&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
It was very strange situation for me, I quickly came to a point that it happen due to installation of windows update, I goggled my problem and found solution. Solution is pretty simple, just have to install updates of Visual Studio 2012 which is &lt;strong&gt;Microsoft Visual Studio 2012 (KB2781514)&lt;/strong&gt;. I went to this &lt;a rel=&quot;nofollow&quot; href=&quot;http://www.microsoft.com/en-us/download/details.aspx?id=36020&quot; target=&quot;_blank&quot;&gt;link&lt;/a&gt; and download the aforementioned visual studio update. Basically that updates contain patch which is &lt;strong&gt;patch_KB2781514.exe&lt;/strong&gt;, you just have to run the exe and once patch successfully install then open the visual studio and do your work :) No need to restart the system.
&lt;/span&gt;
&lt;/div&gt;
&lt;/div&gt;</description><link>http://nice-tutorials.blogspot.com/2013/10/unable-to-work-on-visual-studio-after.html</link><author>noreply@blogger.com (Arman Malik)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-4860704973860913727</guid><pubDate>Fri, 04 Oct 2013 12:04:00 +0000</pubDate><atom:updated>2013-10-04T05:09:32.221-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">asp.net</category><title>Split string by multiple character delimiter in asp.net</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;summary&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
In this article you will learn how to split string by multiple character delimiter in asp.net. Well it is very simple and we can do it by using the built-in split () function of asp.net. Let&#39;s have a look on its implementation.
&lt;/span&gt;
&lt;/div&gt;
&lt;div class=&quot;restofpost&quot;&gt;

&lt;pre class=&quot;csharp&quot; name=&quot;code&quot;&gt; 
        string actualURL = &quot;http://mywebsite.com/aboutus.aspx/images/test.aspx&quot;;
        string[] parts1 = actualURL.Split(new string[] { &quot;.aspx&quot; }, StringSplitOptions.None);

&lt;/pre&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
So that&#39;s it. In this example we have a wrong url containing two pages name and we have to get the first page so we have split the url by &quot;.aspx&quot; delimeter and store the result in parts1 array.&amp;nbsp;&lt;/span&gt;

&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
&lt;br/&gt;&lt;br/&gt;Another method to do this task is by using Regex
&lt;pre class=&quot;csharp&quot; name=&quot;code&quot;&gt; 
string[] parts2 = Regex.Split(actualURL, @&quot;.aspx&quot;);
&lt;/pre&gt;
&lt;br/&gt;
&lt;u&gt;Note:&lt;/u&gt; Make sure to use using System.Text.RegularExpressions for using Regex.
&lt;br/&gt;&lt;br/&gt;Happy Coding!!!
&lt;/span&gt;



&lt;/div&gt;



&lt;/div&gt;</description><link>http://nice-tutorials.blogspot.com/2013/10/split-string-by-multiple-character.html</link><author>noreply@blogger.com (Arman Malik)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-7405556371654567374</guid><pubDate>Mon, 22 Jul 2013 05:40:00 +0000</pubDate><atom:updated>2013-07-21T22:40:20.713-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ms sql server</category><title>Calling one stored procedure within another stored procedure in sql</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;summary&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
In this article we will learn how to call one stored procedure within another stored procedure in sql. Its quite easier and you don&#39;t have to bear any pain to do this. Lets have a look into example given below
&lt;/span&gt;
&lt;/div&gt;
&lt;div class=&quot;restofpost&quot;&gt;
&lt;pre name=&quot;code&quot; class=&quot;sql&quot;&gt;
declare @studentid bigint
declare @studentname varchar(50) 
set @studentid=20832083
exec @studentname = Web_Proc_GetStudentName @studentid -- use comma to separate multiple parameters 
&lt;/pre&gt; 
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
exec @studentname = Web_Proc_GetStudentName @studentid&lt;br/&gt;&lt;br/&gt;
The above mentioned line of code is assigning return value of a stored procedure to @studentname variable.

So folks that&#39;s it. Hope so this article will be proved handy for you.&lt;br/&gt;&lt;br/&gt;

Stay tuned for more useful tutorials.
&lt;/span&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://nice-tutorials.blogspot.com/2013/07/calling-one-stored-procedure-within.html</link><author>noreply@blogger.com (Arman Malik)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-3442674883013762176</guid><pubDate>Mon, 22 Jul 2013 02:47:00 +0000</pubDate><atom:updated>2013-07-21T19:49:20.514-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">asp.net</category><title>Get page load time in asp.net using c#</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;summary&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
In this article, i will tell you guys how to get page load time. I have a web form that name is getloadtime.aspx, lets suppose there is lot of code written in it due to that its loading speed is very slow, to calculate the load time following code snippet will be used.
&lt;/span&gt;
&lt;/div&gt;
&lt;br /&gt;

&lt;div class=&quot;restofpost&quot;&gt;

&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
getloadtime.aspx.cs
&lt;/span&gt;

&lt;pre name=&quot;code&quot; class=&quot;csharp&quot;&gt;

    DateTime ServerStartTime;
    DateTime ServerEndTime;

    protected void Page_Load(object sender, EventArgs e)
    {

    }

    protected override void OnPreInit(EventArgs e)
    {
        ServerStartTime = DateTime.Now;
        base.OnPreInit(e);
    }

    protected override void OnLoadComplete(EventArgs e)
    {

        ServerEndTime = DateTime.Now;
        TrackPageTime();//It will give you page load time
    }


    public void TrackPageTime()
    {
        TimeSpan serverTimeDiff = ServerEndTime.Subtract(ServerStartTime);
    }


&lt;/pre&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
I hope this article will be proved very handy for you people. Enjoy your work, enjoy coding.
&lt;/span&gt;
&lt;/div&gt;

&lt;/div&gt;
</description><link>http://nice-tutorials.blogspot.com/2013/07/get-page-load-time-in-aspnet-using-c.html</link><author>noreply@blogger.com (Arman Malik)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-4543523004229887374</guid><pubDate>Tue, 16 Jul 2013 11:52:00 +0000</pubDate><atom:updated>2013-07-16T04:52:50.965-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ms sql server</category><title>Problem while exporting numeric data from ms sql server 2008 to excel</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;summary&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
In this article i am discussing a problem with you guys that i faced today. Today i run a query in ms sql server 2008 management studio, query was basically giving the following records from student table&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
&lt;li&gt;Registration_Number&lt;/li&gt;
&lt;li&gt;First_Name&lt;/li&gt;
&lt;li&gt;Last_Name&lt;/li&gt;
&lt;li&gt;Email_Address&lt;/li&gt;
&lt;/span&gt;&lt;/ol&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
Query was&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;sql&quot; name=&quot;code&quot;&gt;SELECT REGISTRATION_NUMBER,LAST_NAME,FIRST_NAME,EMAIL FROM STUDENT 
ORDER BY FIRST_NAME&lt;/pre&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;Problem was with Registration_Number column, in table its data type was bigint. When i run the that query, copy the result set and then paste into excel then Registration_Number column was giving two problems, mentioned below
&lt;/span&gt;&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
&lt;li&gt;Some of registration numbers were in unwanted data type for me such as floating type. I had a registration number 1010512500100483 which was showing as 1.01051E+15 &lt;/li&gt;
&lt;li&gt;Secondly, some registration numbers were automatically rounded off, such as 1010512500100505 was rounded into 1010512500100500, moreover in excel it was showing as 1.01051E+15 but when I clicked on the cell then it was showing in address bar as 1010512500100500 instead of 1010512500100505&lt;/li&gt;
&lt;/span&gt;&lt;/ol&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
&lt;/span&gt;
&lt;/div&gt;
&lt;div class=&quot;restofpost&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
Now we have two solutions, first one is pretty simple in which your excel cell should have been formatted as text before you pasting the result set.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;Before telling you second and accurate solution, let me tell you methods that i adopt in order to paste the actual result set from sql server to excel without changing the cell data type in excel.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;Methods that i adopt and all were proved fail.&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;I converted the data type of registration_number column from bigint to varchar as mentioned below but it was not working.
&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;sql&quot; name=&quot;code&quot;&gt;SELECT CONVERT(VARCHAR,REGISTRATION_NUMBER) AS REGISTRATION_NUMBER,LAST_NAME,FIRST_NAME,EMAIL FROM STUDENT 
ORDER BY FIRST_NAME 
&lt;/pre&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;

I converted the datatype of registration_number column from bigint to varchar and concatenated space as mentioned below but it was not working.
&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;sql&quot; name=&quot;code&quot;&gt;SELECT CONVERT(VARCHAR,REGISTRATION_NUMBER)+&#39; &#39; AS REGISTRATION_NUMBER,LAST_NAME,FIRST_NAME,EMAIL FROM STUDENT 
ORDER BY FIRST_NAME 
&lt;/pre&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
But the following query proved successful as i achieved my target which was copying the query result set and pasting it into excel sheet without formatting any excel cell.

&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;sql&quot; name=&quot;code&quot;&gt;SELECT CONVERT(VARCHAR,REGISTRATION_NUMBER)+CHAR(160) AS REGISTRATION_NUMBER,LAST_NAME,FIRST_NAME,EMAIL FROM STUDENT 
ORDER BY FIRST_NAME 
&lt;/pre&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
That&#39;s it. Cheers!!!
&lt;/span&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://nice-tutorials.blogspot.com/2013/07/problem-while-exporting-numeric-data.html</link><author>noreply@blogger.com (Arman Malik)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-1156044077055832510</guid><pubDate>Thu, 11 Jul 2013 09:23:00 +0000</pubDate><atom:updated>2013-07-11T02:23:37.709-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">asp.net</category><title>Unable To Drag and Drop Stored Procedure onto dbml Designer </title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;summary&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
In this article we will discuss about a problem that i faced couple of days ago, my visual studio 2010 was working fine, i closed the visual studio and after some time when i reopened it and try to drag and drop the stored procedure then it didn&#39;t allow me to &lt;b&gt;drag and drop the stored procedure.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;restofpost&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
I tried my level best to reset the settings of visual studio but got no success then by searching on internet i got the solution and the solution is pretty simple, I found that it is due to one of the dll file (dsref80.dll) of visual studio, the dll was corrupted so i straight away took that dll from one of my colleague and replace it&lt;br /&gt;
&lt;br /&gt;
Path to replace the dll is shown below:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;C:\Program Files\Common Files\Microsoft Shared\Visual Database Tools\dsref80.dll&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;Cheerz...! :)&amp;nbsp;
&lt;/span&gt;
 &lt;/div&gt;
&lt;/div&gt;
</description><link>http://nice-tutorials.blogspot.com/2013/07/unable-to-drag-and-drop-stored.html</link><author>noreply@blogger.com (Arman Malik)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-5697051393434750166</guid><pubDate>Wed, 08 May 2013 10:48:00 +0000</pubDate><atom:updated>2013-05-08T03:48:09.749-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">asp.net</category><title>Could not load file or assembly &#39;System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&#39; or one of its dependencies. The system cannot find the file specified</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;summary&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
Today i have got this asp.net nasty error, i fixed it and then decided to share it with you people. I was working on a website developed in asp.net version 2.0 but when i tried to run it through my friend&#39;s system (i had given a copy of website to him) then face this error.
&lt;/span&gt;
&lt;/div&gt;
&lt;div class=&quot;restofpost&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
To fix this error i simply installed asp.net ajax in that system and website come to life.&lt;br/&gt;&lt;br/&gt;

&lt;b&gt;To solve issue without installing AJAX.NET:&lt;/b&gt;&lt;br/&gt;&lt;br/&gt;

Copy AjaxControlToolkit.dll and AjaxControlToolkit.pdb version 1.0.61025.0 from my system (in which asp.net ajax is installed) to ASP.NET App bin folder of my friend&#39;s system. &lt;br/&gt;&lt;br/&gt;

(i install my AjaxControlToolkit in C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\AjaxControlToolkit)&lt;br/&gt;&lt;br/&gt;

Copy System.Web.Extensions.dll (C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions) and System.Web.Extensions.Design.dll (C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions.Design) from my system to ASP.NET App bin folder of my friend&#39;s system.&lt;br/&gt;&lt;br/&gt;

Run the website and it&#39;s working fine.

&lt;/span&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://nice-tutorials.blogspot.com/2013/05/could-not-load-file-or-assembly.html</link><author>noreply@blogger.com (Arman Malik)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-6158680077792908314</guid><pubDate>Thu, 28 Mar 2013 09:44:00 +0000</pubDate><atom:updated>2013-07-16T05:59:55.487-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">wordpress</category><title>How to avoid duplicate content in your WordPress blog</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;summary&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
Most of us simply know wordpress is a tool for developing blogs/websites(news based, tutorials based), they want to earn from their wordpress blog/website, they want it to rank high in google whenever user type any search query relevant to their website but when they purchase domain, install wordpress, deploy their website then never ever they compete against any search query in google, never get traffic and remain live in darkness and then they blame that it is happening due to use of wordpress, and they think lets develop website by using plain html with server side technology like php or asp.net for their dynamic purposes :)
&lt;/span&gt;
&lt;/div&gt;
&lt;div class=&quot;restofpost&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
People develop sites in wordpress and some of them earn significant revenue but most of them are even unable to come in google against any search query, any keyword. Why? This is happen because they have blacklisted in google due to duplicate content and they don’t know about it that they have been blacklisted. Another question that I think coming in your mind is that how can we get plenty of duplicate content if we write post ourselves but I want to clear your concepts that doesn’t matter you write any post yourself by unique content, still very soon you will be blacklisted due to duplicate content.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;Now let me proof how you can be blacklisted due to duplicate content and from where that duplicate content is coming in your website.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;All of you knows that wordpress blog contains &lt;b&gt;Archive&lt;/b&gt;, &lt;b&gt;Tags&lt;/b&gt; and &lt;b&gt;Categories &lt;/b&gt;Sections. Now lets suppose I have written any post for instance in the month of &lt;b&gt;march 2013, &lt;/b&gt;you can access that post by clicking on post title in the main page of your blog or can go to that post through &lt;b&gt;Recent Posts&lt;/b&gt; section in your blog but my dear fellows that post is too accessible from &lt;b&gt;Archive&lt;/b&gt;, &lt;b&gt;Tags&lt;/b&gt; and &lt;b&gt;Categories&lt;/b&gt; section in your blog.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;Now question is how google mark it as a duplicate content? Answer is very simple, &lt;b&gt;due to url&lt;/b&gt;. Google understand every url as a separate page, and if page is separate then content must be separate and unique. When you will click on March 2013 then the url will be http://www.yourwebsite.com/index.php/2013/03/, same issue you will find with Categories and Tags section.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;&lt;b&gt;Now how to avoid duplicate content in your WordPress blog?
&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;One approach, which is foolish approach is to eliminate all these Sections from Blog, the reason why I say this as foolish approach because these all are the features of wordpress and due to these sections the user of your website can move anywhere, search any post, search post according to his interest and in response the bounce rate of your website will be significantly low.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;Second approach which is professional approach is to use all these Features (Categories, Archives, Tags) in your blog but don’t allow google to index them, if google will not index it then you are 100% safe. You can safe yourself by writing following php code in the &lt;b&gt;header.php&lt;/b&gt; file of your wordpress&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;php&quot; name=&quot;code&quot;&gt;&amp;lt;?php 

if((is_home() &amp;amp;&amp;amp; ($paged &amp;lt; 2 )) || is_single() || is_page()){
    echo &#39;&amp;lt;meta name=&quot;robots&quot; content=&quot;index,follow&quot; /&amp;gt;&#39;;
} else {
    echo &#39;&amp;lt;meta name=&quot;robots&quot; content=&quot;noindex,follow&quot; /&amp;gt;&#39;;
}
?&amp;gt;

&lt;/pre&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;

The best location to add this code snippet is just after &amp;lt;title&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;Hopefully you will find this tutorial very handy. Your comments are welcome.
&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://nice-tutorials.blogspot.com/2013/03/how-to-avoid-duplicate-content-in-your.html</link><author>noreply@blogger.com (Arman Malik)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-5885071401737818818</guid><pubDate>Thu, 28 Mar 2013 06:53:00 +0000</pubDate><atom:updated>2013-03-27T23:53:11.317-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">css</category><title>How to center align table or div using css</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;summary&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
In this tutorial we will learn how to center align div or table using css. You can center align both of these html tags by using &amp;lt;center&amp;gt; tag. However, in web browsers such as Firefox and Flock or websites which adhere to stricter standards like xHTML 1.0 Strict, align=&quot;center&quot; will be ignored, as align attribute has deprecated in preference of styles attribute instead. For text only, align attribute can be substituted with text-align tag as a workaround, but for other elements such as image, it will continue to align to the left, and not center. Moreover, you should know how you can center align div or table using css.
&lt;/span&gt;
&lt;/div&gt;

&lt;div class=&quot;restofpost&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
By following strict web coding standard, in order to center a block-type object within another block type object, you have to use the following code on the object that you wants to be centered (i.e. on the inner object):
&lt;pre class=&quot;css&quot; name=&quot;code&quot;&gt;
style=&quot;margin-left:auto; margin-right:auto;&quot;
&lt;/pre&gt;

or,
&lt;pre class=&quot;css&quot; name=&quot;code&quot;&gt;
style=&quot;margin:0 auto;&quot;
&lt;/pre&gt;

So for aligning div tag on center, you will use following html code

&lt;pre class=&quot;html&quot; name=&quot;code&quot;&gt;
&lt;div style=&quot;margin:0 auto;&quot;&gt;This line of text will be centered&lt;/div&gt;
&lt;/pre&gt;

I hope you will find this tutorial very handy. Your comments are welcome.

&lt;/span&gt;
&lt;/div&gt;

&lt;/div&gt;
</description><link>http://nice-tutorials.blogspot.com/2013/03/how-to-center-align-table-or-div-using.html</link><author>noreply@blogger.com (Arman Malik)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-7949929641741931083</guid><pubDate>Sat, 16 Mar 2013 05:57:00 +0000</pubDate><atom:updated>2013-03-15T22:57:45.993-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">quality assurance</category><category domain="http://www.blogger.com/atom/ns#">tools</category><category domain="http://www.blogger.com/atom/ns#">windows</category><category domain="http://www.blogger.com/atom/ns#">windows 7</category><title>Windows 7 Problem Steps Recorder, a screen capture tool</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;summary&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;In this tutorial you will get knowledge about one of the best screen capture tool available in Windows 7. The name of this tool is &lt;b&gt;Problem Steps Recorder&lt;/b&gt;, you can use it to create step-by-step recordings of any problems you have. This is the marvelous feature of Windows 7 which Quality Assurance team can use as a substitute of the Snagit Software, which is another famous tool for screen capturing. Open Start menu and type psr.exe in Search/Run. Here launches your Problems Step Recorder:
&lt;/span&gt;
&lt;/div&gt;
&lt;div class=&quot;restofpost&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnJ5kRow9Raje0vWqAgq92vctOTkVoHxaCXvoRNctWhQ0_YsulTWOWALTYQI0zClNvvc_7IugONm7zyVS66zsRPx-HovG7k9PH5XHVG_T3krmleuZ7F7O3a6GI5sTsWfz2_EM7_DjVmm0D/s1600/psr.png&quot; imageanchor=&quot;1&quot; &gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnJ5kRow9Raje0vWqAgq92vctOTkVoHxaCXvoRNctWhQ0_YsulTWOWALTYQI0zClNvvc_7IugONm7zyVS66zsRPx-HovG7k9PH5XHVG_T3krmleuZ7F7O3a6GI5sTsWfz2_EM7_DjVmm0D/s320/psr.png&quot; alt=&quot;Problem Steps Recorder - Screen Capture Tool&quot; title=&quot;Problem Steps Recorder - Screen Capture Tool&quot;/&gt;&lt;/a&gt;&lt;br/&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
&lt;b&gt;Key Features and Functionality&lt;/b&gt;&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;It records the details of the events even your mouse clicks i.e. left and right as well.&lt;/li&gt;
&lt;li&gt;You can add comments while recording.&lt;/li&gt;
&lt;li&gt;It automatically takes the screenshots while you are recording.&lt;/li&gt;
&lt;li&gt;It mentions the page links you have traversed.&lt;/li&gt;
&lt;li&gt;It gives the detailed summary of all the events at the end.&lt;/li&gt;
&lt;li&gt;It saves the output file in mht format which can be opened in IE.&lt;/li&gt;
&lt;li&gt;It’s so simple that you can use and learn it yourself.
&lt;/li&gt;
&lt;/ol&gt;

Hopefully you will find this tutorial very informative.
&lt;/span&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://nice-tutorials.blogspot.com/2013/03/windows-7-problem-steps-recorder-screen.html</link><author>noreply@blogger.com (Arman Malik)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnJ5kRow9Raje0vWqAgq92vctOTkVoHxaCXvoRNctWhQ0_YsulTWOWALTYQI0zClNvvc_7IugONm7zyVS66zsRPx-HovG7k9PH5XHVG_T3krmleuZ7F7O3a6GI5sTsWfz2_EM7_DjVmm0D/s72-c/psr.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-6697710034988814501</guid><pubDate>Mon, 20 Feb 2012 17:56:00 +0000</pubDate><atom:updated>2013-07-11T03:21:58.283-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">others</category><category domain="http://www.blogger.com/atom/ns#">windows</category><title>How to register dll</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;summary&quot; style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
In this programming tutorial you will &lt;b&gt;learn how to register dll&lt;/b&gt;. It is quite easy as you just have to execute a simple command, but before knowing the command i want to tell you that you must have Administrator rights over the operating system (Windows).
&lt;/div&gt;
&lt;div class=&quot;restofpost&quot; style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
You just have to run the following command in Windows Command Processor, make sure you must use this program with Admin Rights as illustrated below if your windows account is not the admin account&lt;br /&gt;
&lt;br /&gt;

&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRTOnjsALCAGrg15iSwFc3wDIoXf3yaOmOt0I9Gp_J6l1ehLeWbY0eZq6yFweTlWC5Caabg_mVgTHjnzOgix87JcjOABiyufL-7hj1ISw_Tvp-ppp2oqwOFtt2iYs_5PtXJxafFzMJPYNs/s1600/command-line-interface.jpg&quot; imageanchor=&quot;1&quot; target=&quot;_blank&quot; &gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRTOnjsALCAGrg15iSwFc3wDIoXf3yaOmOt0I9Gp_J6l1ehLeWbY0eZq6yFweTlWC5Caabg_mVgTHjnzOgix87JcjOABiyufL-7hj1ISw_Tvp-ppp2oqwOFtt2iYs_5PtXJxafFzMJPYNs/s320/command-line-interface.jpg&quot; alt=&quot;Windows Command Processor&quot; /&gt;&lt;/a&gt;&lt;br/&gt;
regsvr32 dllname-with-its-complete-path&lt;br /&gt;
&lt;br /&gt;
you have to given dll name and its complete path where it exists, let&#39;s suppose we have a dll &lt;b&gt;iTextSharp&lt;/b&gt; and it exists in &lt;b&gt;project&lt;/b&gt; folder located in our &lt;b&gt;D&lt;/b&gt; drive then the command will be&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;regsvr32 D:\Project\iTextSharp.dll&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
That&#39;s it. I hope you will find this tutorial very handy.&lt;br /&gt;
&lt;br /&gt;
I love your feedback. &lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;</description><link>http://nice-tutorials.blogspot.com/2012/02/how-to-register-dll.html</link><author>noreply@blogger.com (Arman Malik)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRTOnjsALCAGrg15iSwFc3wDIoXf3yaOmOt0I9Gp_J6l1ehLeWbY0eZq6yFweTlWC5Caabg_mVgTHjnzOgix87JcjOABiyufL-7hj1ISw_Tvp-ppp2oqwOFtt2iYs_5PtXJxafFzMJPYNs/s72-c/command-line-interface.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-4781100121947379538</guid><pubDate>Tue, 18 Oct 2011 17:34:00 +0000</pubDate><atom:updated>2011-10-18T10:34:40.832-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">jquery</category><title>Uppercase and lowercase strings using jquery</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;summary&quot; style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
In this programming tutorial we will learn how to &lt;strong&gt;convert strings in uppercase and lowercase using jquery&lt;/strong&gt;. It is not a difficult task in jquery. Jquery has two built-in functions for handling these two cases. Those two functions are &lt;strong&gt;.toUpperCase()&lt;/strong&gt; and &lt;strong&gt;.toLowerCase()&lt;/strong&gt;. Let&#39;s have a look over the example given below that demonstrates how to do so. &lt;/div&gt;
&lt;div class=&quot;restofpost&quot; style=&quot;font-family: Verdana, sans-serif; font-size: small;&quot;&gt;
&lt;strong&gt;Convert string in uppercase &lt;/strong&gt;&lt;br /&gt;
&lt;pre class=&quot;js&quot; name=&quot;code&quot;&gt;var name=&quot;Adeel Fakhar&quot;;//Very simple
var nameUpperCase=name.toUpperCase(); 
&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;Output&lt;/u&gt;&lt;br /&gt;
ADEEL FAKHAR&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Convert string in lowercase&lt;/strong&gt;&lt;br /&gt;
&lt;pre class=&quot;js&quot; name=&quot;code&quot;&gt;var name=&quot;Adeel Fakhar&quot;;
var nameLowerCase=name.toLowerCase(); //Very simple
&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;Output&lt;/u&gt;&lt;br /&gt;
adeel fakhar&lt;br /&gt;
&lt;br /&gt;
So that&#39;s it. I hope you will find this tutorial very useful.&lt;br /&gt;
&lt;br /&gt;
Stay tuned with nice-tutorials.blogspot.com for bundle of jquery tutorials.&lt;br /&gt;
&lt;br /&gt;
I love your feedback. &lt;/div&gt;
&lt;/div&gt;</description><link>http://nice-tutorials.blogspot.com/2011/10/uppercase-and-lowercase-strings-using.html</link><author>noreply@blogger.com (Arman Malik)</author><thr:total>0</thr:total></item></channel></rss>