Change TFS to Visual Source Safe in Source Control VS 2010


We have been given steps for change the option from Team Foundation Server to Visual Source Safe. please follow the same.

1.Tools --> select Options.
2.Option dialog box will appear once you select Options
3.Choose Source Control in the dialog box
4.Now you can select the option either Visual Source Safe or Team Foundation Server according to our necessary in Current Source control Plug-in

Now you can change Team Foundation server to Visual Source Safe.

I hope it will help you.

Google Algorithm Change – SERP Ranking Algorithm 2012 – Google Penguin Update

Google repeatedly turned down with many algorithm update and change right from past years. Google revealed algorithm in the versions Google panda 1.1, Google panda 2.2, Google panda 3.3 and Google penguin update as now recently. Moreover google penguin has been updated in a span of 10 days from its launched date [April 17 & April 27]. Not like previous panda update the new google penguin update has many features and barriers too for SEO. It drops many protocols for a websites’ SERP and the keyword ranking position.
1. Penguin update mainly focuses on backlinks of a website or webpage.
2.A website having links from unwanted category or unrelated websites, the SERP ranking of the website/webpage is automatically pushed down.
3. Also links from link farms and bulk directory submission is strictly restricted.
4. If more than 50 percent of the backlinks are from irrelevant websites, google marks it as webspam
5. When a website/web page gets more backlinks from unwanted categories remove those irrelevant links and increase links from
6. Google mentions the opposite of “white Hat SEO” as “black hat webspam”. Which means to get high relevant traffic spam items like unwanted links, irrelevant sites and links farms must be avoided.
7. While in a few days Google is ready to launch another algorithm to target and avoid webspam.
8.  Keyword stuffing and footer link keywords are another prey for google Penguin update.
9. Recent google algorithm change also tells about content duplication and content copywriting. When a website or webpage is having a duplicated content with the keywords stuffed or used, automatically the SERP and ranking positions of the keywords drowns away drastically.
10. The site owner may be in confused state for what reason changes have been done even though there is no unwanted backlinks, but still a drop in keyword positions and SERP.
The ultimate moral tip of google algorithm change and google penguin update 2012 is don’t make your content a duplicated one and with unwanted backlinks.

Google Panda Algorithm – Versions/Timeline of Google Updates


Google Panda is change to the Google’s search results ranking algorithm ,It was first released in Feb 2011. The change aimed to lower the rank of “low-quality sites”, and return higher-quality sites near the top of the search results.  CNET reported a surge in the rankings of news websites and social networking sites, and a drop in rankings for sites containing large amounts of advertising. This change reportedly affected the rankings of almost 12 percent of all search results. Soon after the Panda rollout, many websites, including Google’s webmaster forum, became filled with complaints of scrapers or copyright infringers getting better rankings than sites with original content. At one point, Google publicly asked for data points to help detect scrapers better. Google’s Panda has received several updates since the original rollout in February 2011, and the effect went global in April 2011. To help affected publishers, Google published an advisory on its blog[citation needed], thus giving some direction for self-evaluation of a website’s quality.
Google Panda was built through an algorithm update that used artificial intelligence in a more sophisticated and scalable way than previously possible. Human quality testers rated thousands of websites based on measures of quality, including design, trustworthiness, speed and whether or not they would return to the website. Google’s new Panda machine-learning algorithm, made possible by and named after engineer Navneet Panda, was then used to look for similarities between websites people found to be high quality and low quality.
Many new ranking factors have been introduced to the Google algorithm as a result, while older ranking factors like PageRank have been downgraded in importance. Google Panda is updated from time to time and the algorithm is run by Google on a regular basis.On April 24, 2012 the ‘Penguin’ update was released, which affected a further 3.1% of all English language search queries, highlighting the ongoing volatility of search rankings.

source:  http://en.wikipedia.org/wiki/Google_Panda

Get current Year in SQL SERVER

SELECT DATEPART(YY,GETDATE())

Above query return current year... Look below and execute these and you come to know. I will explain these later due to little busy.

SELECT YEAR(GETDATE())
SELECT datename(month,getdate())
SELECT datename(YEAR,getdate())
SELECT datename(DAY,getdate())
SELECT datename(WEEKDAY,getdate())
SELECT datename(DAYOFYEAR ,getdate())
SELECT datename(ISO_WEEK ,getdate())
SELECT datename(ISOWK ,getdate())

SELECT DATEPART(YEAR,GETDATE())


--DATETIME VS DATEPART

SELECT DATEPART(MONTH,GETDATE()) AS [MONTH]
SELECT DATENAME(month,getdate()) AS [MONTH]


SELECT DATEPART(WEEKDAY,GETDATE()) AS [DAY]
SELECT DATENAME(WEEKDAY,getdate()) AS [DAY]

DATEPART VS DATENAME


SELECT DATEPART(MONTH,GETDATE()) AS [MONTH]


--Result
8
SELECT DATENAME(month,getdate()) AS [MONTH]
--Result
Auguest
SELECT DATEPART(WEEKDAY,GETDATE()) AS [DAY]
--Result
6
SELECT DATENAME(WEEKDAY,getdate()) AS [DAY]
--Result
Friday

asp validation controls is not working while OnClientclick function fired

  ASP Valiadator controls are not fired if we use OnClientClick property in button. So we need to fire this validation control inside of OnClientClick Function using Page_ClientValidate().

<script language="javascript">
 function validation() {
     Page_ClientValidate();
     if(Page_IsValid){
            //Your CODE HERE
       return true;
       }
    else
       {
       return Page_IsValid;
       }
    }
 </script>

Job of Page_ClientValidate() 


        This function check the page is valid or not. If any of Validator is not valid this function return false.


If you using more than one validation group, you can specify the group name like
Page_ClientValidate(groupname);

Add space to string in c#

Hi, here i have to remind  we can add specified space or byte to existing string.

string spacestr = "123";
spacestr = spacestr .ToString().PadRight(10 , '*'); //for asterisk   
(OR)
spacestring  = spacestring  .ToString().PadRight(10 , ' '); //for space

now 'spacestr ' value will be :123*******, the seven * will added to right side of the 'spacestr .
 (OR)
now 'spacestr ' value will be :123       , the seven sapce will added to right side of the 'spacestr .

if we need to add space left side of str
spacestr = spacestr .ToString().PadLeft(10 , '*');

now 'spacestr ' value will be :*******123, the * will added to left side of the spacestr .
Probably we need space, we replace space ' ' character instead of  asterisk '*'