I have the value of this Enum in my database table, when I fetch that value from database then we want to show this value as Enum name. For example in my database there is 2 when I retrieve it from da...
var num = prompt("Please enter 0-5 value"); switch (num) { case '0': document.write("num is 0"); break; case '1': document.write("num is 1"); break; case '2': document.write("num is 2"); break;
how to use charAt(), toLowerCase(), toUpperCase, substring() in javaScript. var str="Hello World!"; document.write(str.charAt(1)+ " ");//The index of the first character is 0. document.write(str.toLow...
try { body-code } catch (exception-classname variable-name) { handler-code }
create temporary table and insert data from other table.
CREATE VIEW, VIEWS in SQL.
MaintainScrollPositionOnPostback is very useful feature in asp.net page. With the help of this we can allows pages to automatically maintain the current scroll position across postbacks.It is very goo...
What is SUBSTRING() Function? The SUBSTRING() Function allows you to get just part of a string. For example, we have 20 characters and we want to show only first 10 characters. In this situation we us...
Here I have discussed how we auto refresh page and why we need to auto refresh the page. Page is Auto refresh means forcing a page to post back without user input. Following is the main reason to auto...
CREATE FUNCTION TOTALMARKS (@SUB1 INT, @SUB2 INT, @SUB3 INT) RETURNS INT