Thursday, December 18, 2014

Stock Price Plugin Live


Source
 <iframe frameborder="0" src="http://www.indianotes.com/widgets/indices-ticker/index.php?type=indices-ticker&w=500" width="500" height="100" scrolling="no"></iframe>  
Demo

Live Cricket Score Plugins


Source
 <iframe frameborder='0' src='http://www.ecb.co.uk/stats-live/live-scores-widget.html?colour=Blue&countiesTeams=null&feed=%2Fstats-live%2Flive-scores-widget.json&internationalTeams=184%2C182%2C5%2C24%2C8%2C2%2C95%2C7%2C3%2C15%2C13%2C11%2C181%2C1%2C6%2C14%2C10%2C4%2C9&miscTeams=null' style='width: 580px; height: 450px;'></iframe>  
Demo

Friday, November 28, 2014

C# Code to get Last day of a month


 
  Method Name : DateTime.DaysInMonth()
  int DateTime.DaysInMonth(year,month)
  Eg:

  txtNoOfDays.Text = DateTime.DaysInMonth(Convert.ToDateTime(txtDate.Text).Year, Convert.ToDateTime(txtDate.Text).Month).ToString();  


Saturday, November 8, 2014

Cannot find template file for the new query [Solved]


Error
Cannot find template file for the new query (‘C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\SqlWorkbenchProjectItems\SQL\SQLFile.sql’)
Solution:
Step 1: Go to C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\SqlWorkbenchProjectItems\SQL\
Step 2: Create .SQL File named SQLFile.SQL