Category Archives: TIPS/TRICKS

No Thumbnail

Get Only DateTime Part without using Convert

All of us know many techniques to get DateTime part in SQL using Convert, but here I found something interesting when I was reading an article of BenNadel [ Who he is  ]  which will work without using Convert Take a look or and you can also try

Share Knowledge
No Thumbnail

Convert nvarchar, money and smallmoney datatype to int

This article enables you to convert nvarchar, money and smallmoney values to int. Simply, we can use the given conversion syntax to convert Nvarchar, smallmoney and money datatype values to int values. or Illustration as Create a table and insert values as: after that out

Share Knowledge
No Thumbnail

Close Application at Press of Escape Button

There are various ways to close an application by pressing the Escape button, using C#. Here are a few: Way 1: Simply add the below given code in your Windows program: Way 2: Write the below code in the ‘KeyPress’ event of a form: Way 3:

Share Knowledge
No Thumbnail

Convert Text to Image Using C#

We can easily convert text to image in C# using System.Drawing Namespace. Here this article will guide you how to create a bitmap image from text. it’s using Graphics property of System.Drawing namespace to convert Text to Image. The Graphics class provides methods for drawing

Share Knowledge
No Thumbnail

Run Only One Copy Of Application

This Article allow you to run only one Instance of application at a time. Many time we have requirement that we need to run only one instance of application at a time. If you have same requirement then in that case this article might be

Share Knowledge