Tagged: snippet

Sitecore 0

Publish items in Sitecore programmatically using API

In Some scenarios if you would like to publish items in Sitecore programmatically using API from Master DB to web or pub Database then we can use the Sitecore Publishing API. Sitecore has different...

SQL 0

How do I escape a single quote in SQL Server

A single quote can be escaped by doubling them up in MSSQL server. There are many ways to escape a single quote in SQL server. Let us look at the below examples to find...

SQL 0

How to Delete Duplicate Rows in sql

There are many ways to identify and delete duplicate rows in SQL. The best way to achieve this would be by using the ROW_NUMBER over Partition by column list. This will partition the table...

C# 0

How to Send email in .NET through Gmail

It is easy to send email in .net through Gmail using the System.Net.Mail namespace. The below example will help you to send a simple plain mail using Gmail SMTP method. MailMessage Class has a...

C# 0

What’s the difference between String and string

Most of the new developers will have this question and confusion if they need to use as string or String. To answer in simple, there is no difference between String and string. Both are...