The DataGridView is the control that is mostly used for displaying the contents of lists, tables etc. However, the built-in version of this control doesn’t allow for adding row numbers/count via its properties. This feature is often required because it is difficult to keep track of the records in a table with 1000 rows if row numbers are not displayed.
Prevent Multiple Instances of Same Application in C#
By default, .NET windows forms applications generally allow multiple instances of the same application to be started on the same machine. However, if two or more threads attempt to access a shared resource such as shared memory at the same time, concurrency issues may occur. And in a production environment, this might result in data inconsistency or inaccuracy.
Disable EasyInline in Google Chrome
EasyInline is an extension that attaches itself to your browser and serves you contextual ads without your permission. This could get annoying! You may have noticed recently that your Google Chrome suddenly starts displaying double lines (contextual ads) under certain words in a lot of websites you visit. This may not be a problem if the sites are just monetizing their content by subscribing to such contextual advertising. It however becomes irritating when you are visiting your own site/blog (on your local machine) and these ads show up without your permission. In such a case, you likely have an unwanted extension (EasyInline) installed in your Google Chrome. Here?s how to remove it:
Forcefully Clear Jobs from the Print Queue or Spooler
Here is a step by step guide showing how to manually clear print jobs that sometimes get stuck in the print queue or spooler. The screenshots were taken in Windows 7 but this guide may also be applied to other Windows versions.
Create or Change a Favicon in WordPress
A favicon (favorites icon) is a small image (usually a 16 x 16 icon) that sits besides the title of your webpage as shown in a browser tab. Favicons are a must for any proper and complete website because they are used by browsers in lots of places (like tabs and bookmarks) and they help your returning users to easily identify your website visually.
Backup SQL Server Database To Dropbox in C#
SQL Server 2008 allows for the creation of local backups. However, these backups must really be “local” in the sense that they can only be created on the machine where the SQL Server instance is installed. The whole idea behind database backups is about keeping a copy of data in case of Server failure or some other problem. So storing the backed up data on the same machine is definitely not a good idea.