Skip to main content

Posts

Showing posts from May, 2012

Auto refresh page using javascript

Introduction: In my previous article I have explained about  how to auto redirect page using javascript . In this article I am going to explain about how to auto refresh the page after some time delay using javascript. Explanation: To auto refresh the page after 5 seconds the below  javascript code is used.

Auto redirect page using javascript

Introduction: In my previous article I have explained about  how to Create or reset the identity value of a column in sql server . In this article I am going to explain about how to auto redirect page after some time delay using javascript. Explanation: To auto redirect the page after 5 seconds to google.co.in the below code is used.

Create or reset the identity value of a column in sql server

Introduction: In my previous article I have explained about Convert string to upper,lower and title case using c#.net . In this article I am going to explain about how to set the identity value to a column in a table. Explanation: If you want a column in your table to auto increment then you may achieve it using IDENTITY property. Syntax to create a IDENTITY column and a example query is given below. Syntax: IDENTITY ( seed , increment ) Seed -Is the value that is used for the very first row loaded into the table. Increment - Is the incremental value that is added to the identity value of the previous row that was loaded. You must specify both the seed and increment or neither. If neither is specified, the default is (1,1). Example: CREATE TABLE MyTable ( Id INT IDENTITY ( 1 , 1 ), Name VARCHAR ( 100 )) To get the current identity value of a table below command is used. Syntax: DBCC CHECKIDENT ( tablename , NORESEED ) Ex

Convert string to upper,lower and title case using c#.net

Introduction:   In my previous article I have explained about  how to   How to get the keycode for different browser for keyboard characters . In this article I will explain about the process of converting a string to upper,lower and title case using c#.net. Explanation: To convert the string to title case the below function is used.

How to get the keycode for different browser for keyboard characters

Introduction:   In my previous article I have explained about  how to   How to convert the typing language to tamil using javascript . In this article I will explain the process of getting the keycode for different browsers. Explanation: For explanation purpose I have a textbox in my page. I have included the below jquery library in the head section.

How to convert the typing language to tamil using javascript

Introduction: In my previous article I have explained about  how to   How to Convert string to titlecase using javascript . In  this article I will explain the script used to change the typing language in a texbox using javascript. Explanation: For explanation purpose I have a textbox in my page.To convert the the typing language to tamil I have included two javascript files in the page. They are