Sunday, June 16, 2013

// // Leave a Comment

indexof in javascript contains example

...
Read More
// // Leave a Comment

show or hide div in jquery with example

 How to Show or Hide div's using jQuery Show DIV in jquery    jQuery('div').show();      --- Displays all the div's    jQuery('#thisdiv').show();    ---- Displays a div having the id as thisdiv    jQuery('#thisdiv div').show(); ---- Displays all the div's inside the div having the id thisdiv Hide DIV in jquery    jQuery('div').hide();      --- Hides all the div's    jQuery('#thisdiv').hide();    ----...
Read More

Monday, June 3, 2013

// // Leave a Comment

Get or Set Http Cookies in server side of C# on Asp.Net Website

Set and Get Cookies  Get Cookie  Sample Code       HttpCookie myCookie = new HttpCookie("sampleCookie");       SampleCookie= Request.Cookies["sampleCookie"];       // Read the cookie information and display it.       if (SampleCookie!= null){           string value= SampleCookie.Value;           string name=...
Read More

Saturday, June 1, 2013

// // Leave a Comment

static vs instance members in C Sharp

Static Versus Instance Members in C# By default, members are per instance Each instance gets its own fields Methods apply to a specific instance Static members are per type Static methods can’t access instance data No this variable in static methods   Static methods public class Area { private int side; public Rectangle(int side) { this.side= side; } public void Area() { ...
Read More