Thursday, January 14, 2010

Disable Right Click on your webpage

Hi Friends,

Want to disable right click on your webpage!!!!! ??

Here is the tip to do it..... just add oncontextmenu property in your body tag.....

<body oncontextmenu="return false" >



--
This mail is from .net Scanner

Wednesday, November 4, 2009

Color CODE

Color Hex-Code with Name
http://www.keller.com/html-quickref/4a.html



Color: color Name, color code - RGB, Hex, access
http://cloford.com/resources/colours/500col.htm



One more here:
http://www.tayloredmktg.com/rgb/




Here is one more interesting one:(change and see it live)
http://www.drpeterjones.com/colorcalc/


Change the "R+" - Reg , "G+"- Green, "B+"- Blue to see the colour in background.



Happy Coding.... :)

Tuesday, October 13, 2009

Insert data to table from another table

Here is the example, how you can transfer data from one table to another;
(asumming, tables have been created and structures are same)


SET IDENTITY_INSERT [DB1].[dbo].TableName ON

insert into [DB1].[dbo].TableName select * from [DB2].[dbo].TableName

SET IDENTITY_INSERT [DB1].[dbo].TableName OFF


Above 3 lines:
1. Disable Identity.
2. Dump data from table.
3. Enable Identity again.


Hope you like it.

Saturday, August 29, 2009

Testing WebService remotly.

This post helps to solve the poblem, how to test webservice remotly.








If this attribute is not configured in Web.config file, you will not able to access the webservice remotely.

Monday, July 6, 2009

jQuery

Hi

jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript.

you can download latest version of jQuery: http://jquery.com/

Download jQuery presentation:

Download the Sample Demo Code:


Have Fun :)