anishwebdeveloper.blogspot.com
Dotnet Developer Site: March 2012
http://anishwebdeveloper.blogspot.com/2012_03_01_archive.html
Simple and Easy way to implement .Net. Wednesday, March 7, 2012. On Keypress show character at load event in Asp.net. Without taking any control, this Example will show how we can print the character on webpage when any key is pressed on keyboar. Here we will use javascript. Document.onkeyup = KeyCheck;. Var KeyID = (window.event)? EventkeyCode : e.keyCode;. DoPostBack(' Page', KeyID);. Here ascii value of character will get when key is pressed. PageClientScript.GetPostBackEventReference(Me, " ). Picture...
phpghostrider.blogspot.com
Php Developer Site: Get Method in PHP
http://phpghostrider.blogspot.com/2011/12/get-method-in-php.html
Simple and better way to implement PHP. Saturday, December 24, 2011. Get Method in PHP. What is GET Method? The GET method passes arguments from one page to the next as part of the Uniform Resource Indication( URI. Querystring. When used for form handling, GET appends the indicated variable name(s) and value(s) to the URL designated in the ACTION attribute with a question mark separator and submits the whole thing to the processing agent. Php $ PHP SELF. Name: input type="text" name="name" /. Example* *#...
phpghostrider.blogspot.com
Php Developer Site: December 2011
http://phpghostrider.blogspot.com/2011_12_01_archive.html
Simple and better way to implement PHP. Saturday, December 24, 2011. Post Method in PHP. POST is the preferred method of form submission today,particularly in non-idempotent usage (those that will result in permanent changes),such as adding information to a database. The form data set is included in the body of the form when it is forwarded to the processing agent.No visible change to the URL will result according to the different data submitted. Php $ PHP SELF. QUE: difference between get and post?
anishwebdeveloper.blogspot.com
Dotnet Developer Site: Built and Play Piano using Asp.net
http://anishwebdeveloper.blogspot.com/2012/07/built-and-play-piano-using-aspnet.html
Simple and Easy way to implement .Net. Saturday, July 14, 2012. Built and Play Piano using Asp.net. In this blog I am showing the example of Making piano. Built and play piano using keyboard and mouse". We can play piano only in client side. On server side this code will not be helpful. Because i am using "winmm.dll" file for making sound which is located in client computer. The script will check the keypress event by knowing their ASCII value. Document.onkeyup = KeyCheck;. Var KeyID = (window.event)?
anishwebdeveloper.blogspot.com
Dotnet Developer Site: Split and Merge File Example in asp.net
http://anishwebdeveloper.blogspot.com/2012/08/split-file-example-in-aspnet.html
Simple and Easy way to implement .Net. Friday, August 17, 2012. Split and Merge File Example in asp.net. In this example i am showing how to split the file size into more than one file. Example: suppose file size is of 200byte and i want to split this file into 2 part 100byte each and save them). Asp:FileUpload ID="FileUpload1" runat="server" /. Asp:Button ID="btnupload" runat="server" Text="find Byte". No to split :. Asp:TextBox ID="txtsayno" runat="server" /asp:TextBox. Using System.Linq;. String basen...
javaghostrider.blogspot.com
Java Developer Site: Perform 10 mathematical function in Java
http://javaghostrider.blogspot.com/2012/01/perform-10-mathematical-function-in.html
Simple and better way to implement JAVA. Sunday, January 1, 2012. Perform 10 mathematical function in Java. Import java.io.*;. Public static void main(String args[]). Double a,b;. Br=new BufferedReader(new InputStreamReader(System.in) ;. A=Double.parseDouble(br.readLine() ;. B=Double.parseDouble(br.readLine() ;. System.out.println("Maximum value is:" Math.max(a,b) ;. System.out.println("Minimun value is:" Math.min(a,b) ;. System.out.println("In Radians :" Math.toRadians(a) "radians");. Perform 10 mathema...
javaghostrider.blogspot.com
Java Developer Site: Usage of 'this' keyword in preventing instance variable hiding in Java
http://javaghostrider.blogspot.com/2012/01/usage-of-this-keyword-in-preventing.html
Simple and better way to implement JAVA. Sunday, January 1, 2012. Usage of 'this' keyword in preventing instance variable hiding in Java. Import java.io.*;. System.out.println("first value is divisible by 2");. System.out.println("first value is not divisible by 2");. Class SubClass extends SuperClass. SubClass(int d,int e). If (this.a%c= 0). System.out.println(this.a ": is divisible by :" c);. System.out.println(this.a ":is not divisible by:" c);. Public static void main(String args[]). I have taken hel...
anishwebdeveloper.blogspot.com
Dotnet Developer Site: LINQ to Object Examples
http://anishwebdeveloper.blogspot.com/2012/08/linq-to-object-examples.html
Simple and Easy way to implement .Net. Thursday, August 30, 2012. LINQ to Object Examples. LINQ: Language Integrated Query. You’ll need to persist objects to a database, query the database and load the results back into objects. The problem is that in. E ventually evolved into a general-purpose language-integrated querying toolset. This toolset can be used to. Access data coming from in-memory objects (LINQ to Objects), databases (LINQ to SQL), XML documents. Response.Write(" h2 LINQ to Object /h2 ");.
javaghostrider.blogspot.com
Java Developer Site: Find total no on capital, small letter and also digit in a given string in Java
http://javaghostrider.blogspot.com/2012/01/find-total-no-on-capital-small-letter.html
Simple and better way to implement JAVA. Sunday, January 1, 2012. Find total no on capital, small letter and also digit in a given string in Java. Import java.io.*;. Public static void main(String args[]). String s=" ;. String s1=" ;. Int a,b=0,c=0,d=0;. BufferedReader br=new BufferedReader(new InputStreamReader(System.in) ;. For(int i=0;i a;i ). If (ch =97 & ch =122). Else if(ch =65 & ch =91). System.out.println(a);. System.out.println(s1);. System.out.println("Total Small character:" b);. I have taken ...
javaghostrider.blogspot.com
Java Developer Site: Find whether given string is palimdrome or not in Java
http://javaghostrider.blogspot.com/2012/01/find-whether-given-string-is-palimdrome.html
Simple and better way to implement JAVA. Sunday, January 1, 2012. Find whether given string is palimdrome or not in Java. Import java.io.*;. Public static void main(String args[]). String s=" ;. String s1=" ;. String s2=" ;. BufferedReader br=new BufferedReader(new InputStreamReader(System.in) ;. For(int i=a-1;i =0;i- ). System.out.println("Length of String is: " a);. System.out.println("Reverse of String: " s1);. For(int i=0;i a-1;i ). System.out.println(s ":is equals to:" s1);. Make Top Rank Blog.