Month: March 2018

Create Table In SQL Based On .NET Datatable

Here’s a quick code to generate a “Create Table” query based on your Datatable object. The code is written on C# and it generates a create query for SQL table. I had found this code somewhere on the StackOverflow site and it has proven to be extremely helpful.

Read More

How To Handle Right Click Action On Any Element On The Browser

Bind an event handler to the “contextmenu” Javascript event using jQuery.

This captures any Right Click event happening through out the web page. Now if you want to handle Right Click on a particular element, you can do so by doing something like this:


Read More