blogspot visit counter

Friday, 23 May 2014

Delegate in c#

Delegate in c#
Delegate :- Delegates in C# are objects which points towards a function which matches its signature. Delegates are reference type used to encapsulate a method with a specific signature. Delegates are similar to function pointers in C++; however, delegates are type safe and secure.
Features of delegate

    A delegate represents a class.
    delegate is type-safe.
    We can use delegates both for static and instance methods
    We can combine multiple delegates into a single delegate.
    Delegates are often used in event-based programming, such as

Saturday, 17 May 2014

Asp dotnet interview questions and answers for experienced

MVC interview questions and answers
Categories:- MVC interview questions and answers , What are the core components of .NET framework , Difference between ienumerable and iqueryable in , Interview-questions-and-answers-2 years experience

If you are prepare for Interview then, this set of questions would be add some questions related to view state(state management) in your brain Smile . So lets check your knowledge about view state.

1). What is View State in

Ans: View state is nothing but a method that the ASP.NET use to preserve page and control values between postbacks. When the HTML markup for the page is rendered, the current state of the page and values that must be retained during postback are serialized into base64-encoded strings. This information is then put into the view state hidden field.

2). View state is client-side or server side state management techenique?

Ans: View state is client-side state management techenique

3). What are the client-side state management techenique supported by ASP.NET?

Ans: View state
Control state
Hidden fields
Query strings

Friday, 16 May 2014

Modifier in c#

MVC interview questions and answers
    1) Abstract
    2) Sealed
    3) Virtual
    4) Const
    5) Event
    6) Extern
    7) Override
   8)  Readonly
    9) Static
    10) New

Difference between ienumerable and iqueryable in

MVC interview questions and answers
Difference b/w IEnumerable and IQuerable

IEnumerable and IQuerable are used to query data from database and collections.  The IEnumerable is basically inherited from IQueryable, so it’s having all the features of the IQueryable in addition to its having additional own features.

Wcf interview questions and answers for experienced

Wcf interview questions and answers for experienced
Categories :-MVC interview questions and answers , Latest interview questions and answers for experienced , ADO.Net Interview Questions and Answers  .

 What is WCF?

Ans.  WCF provides a runtime environment for services, enabling you to expose CLR types as services, and to consume other services as CLR types.WCF is part of .NET 3.0 and requires .NET 2.0, so it can only run on systems that support it

Tuesday, 13 May 2014

MVC interview questions and answers

MVC interview questions and answers
Categories :- Assembly in , Role of CLR framework , Latest interview questions and answers for experienced

 About ASP.Net MVC?

The ASP.Net MVC is the framework provided by Microsoft that lets you develop the applications that follows the principles of Model-View-Controller (MVC) design pattern. The .Net programmers new to MVC thinks that it is similar to WebForms Model (Normal ASP.Net), but it is far different from the WebForms programming.
This article will tell you how to quick learn the basics of MVC along with some frequently asked interview questions and answers on ASP.Net MVC

1. What is ASP.Net MVC?

The ASP.Net MVC is the framework provided by Microsoft to achieve     separation of concerns that leads to easy maintainability of the     application.
Model is supposed to handle data related activity
View deals with user interface related work
Controller is meant for managing the application flow by communicating between Model and View.

Tuesday, 6 May 2014

Jquery ui calendar control

Simple Drop Down Menu with Jquery and CSSu
Categories :- Jquery,Simple Drop Down Menu with Jquery and CSS

Introduction:-  In my previous article i have explained Simple Drop Down Menu with Jquery and CSS.
 In this article i am explain how we can use datetime picker in our project using

Description:- article related to jQuery.Now in this article i am explain how to show JQuery UI Calenar control.

Monday, 5 May 2014

Sunday, 13 April 2014

jQuery Menu

jQuery Menu
Categories :- Drop down menu using jquery,JQuery Mneu,JQuery Restrict to Allow Only Numbers in Textbox in

Introduction :-  In this article i am explain how i can design header using jquery in

Description :-  In my previous article i have explained  how we can create  jquery lightbox in .Now i have explained how we can make a stylish menu using jquery in as shown below.

Step 1 :-  Create a new website.
Step 2 :-  Write Click on Project explorer and add new item in your project and give a name to the web page.
Step 3 :-   Write a code as shown below in .aspx page.
<html xmlns="">
<head runat="server">
    <title>jQuery menu</title>
     <script src="" type="text/javascript"></script>
<script type="text/javascript" src=""></script>
     <script type="text/javascript">
         $(function () {
             $('li', '#navigation').each(function () {
                 var $li = $(this);
                 var $a = $('a', $li);
                 $a.hover(function () {
                     $a.stop(true, true).animate({
                         height: '3em',
                         lineHeight: '3em',
                         bottom: '1em'
                     }, 'slow', 'easeOutBounce');
                 }, function () {
                     $a.stop(true, true).animate({
                         height: '2em',
                         lineHeight: '2em',
                         bottom: 0
                     }, 'slow', 'easeOutBounce');
<style type="text/css">
#form1 #navigation {
height: 4em;
margin: 0;
padding: 0 1em;
list-style: none;
border-bottom: 2px solid #0270BF;
#form1 #navigation li {
height: 100%;
float: left;
margin-right: 0.5em;
#form1 #navigation a {
float: left;
height: 2em;
padding: 0 1em;
background: #0270BF;
color: #fff;
line-height: 2;
text-transform: uppercase;
font-weight: bold;
text-decoration: none;
margin: 2em 0 0 0;
letter-spacing: 0.1em;
position: relative;
#form1 #navigation a:hover {
background: #F86000;
    <form id="form1" runat="server">
     <ul id="navigation">
<li><a href="#">Home</a></li>
<li><a href="#">About us</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">Product List</a></li>
<li><a href="#">Carrer</a></li>


Output as shown below

Download sample code attached

 aspdotnet stylish menu_2 with example

Friday, 4 April 2014

Jquery Menu Animation in

c# .net interview question answers
Categories :-What is JQuery  , Different between Jquery and javascript , JQuery get user ip address , Jquery example using

Introduction :- In this article i am explained how to create a animated menu in This is very nice and easy article for design a animation in menu.

Tuesday, 1 April 2014

How to change package name in android eclipse

How to change package name in android eclipse
I have an Android project created in eclipse.I want to modify the package name and application of the project.How to do that in eclipse?

Step 1  :-  Open eclipse  IDE and

Thursday, 20 March 2014

jquery lightbox in

jquery lightbox in
In this article i am explained  how we can implement the jQuery lightbox in our site.This is very easy to implement follow the instruction below step by step 

 jQuery scripts used in your projects. Simple show(), hide() will make this ready to use jQuery Lightbox. It’s simple and free download and easy to integrate in your projects. Below code will explain you how to make this simple jquery lightbox.

Step 1 Create a file called index.aspx

  <%@ Page Language="C#" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="index" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

<html xmlns="">
<head runat="server">
    <title>Ligh Box( </title>

    <link rel="stylesheet" type="text/css" href="css/style.css" />
<script type="text/javascript" src="js/jquery-1.9.1.js"></script>
<script type="text/javascript">
    function load_as_lightbox() {
        var DocumentHeight = $(document).height();
        $('.as_lightbox_wrapper').css('height', DocumentHeight); // Set document height for As_Lightbox wrapper
    function ShowLightBox(DivId) {
        $('.as_lightbox_wrapper').show(); // Show the wrapper
        $('#' + DivId + '').show('slow'); // Show the Lightbox div, you can use another jQuery view functions such as fadeIn, fadeToggle for animations
    function HideLightBox(DivId) {
        $('.as_lightbox_wrapper').hide('slow'); // Hide the As_Lightbox wrapper
        $('#' + DivId + '').hide(); // Hide the div
    $(document).ready(function () {
        load_as_lightbox(); // call this function after document loads
        $('#Show_Lightbox').click(function () {
            ShowLightBox('Simple_Lightbox'); // call the As_Lightbox show function
            return false;
        $('#as_lightbox_close').click(function () {
            HideLightBox('Simple_Lightbox'); // call the As_Lightbox close function
            return false;
<style type="text/css">
    border:2px dashed #17A3F7;
    margin:0 auto;
    <form id="form1" runat="server">
    <!-- AS_lightbox div (division) starts -->
<div class="as_lightbox_wrapper"></div> <!-- As_lightbox wrapper (half transparent background) -->
<div class="as_lightbox_container" id="Simple_Lightbox"> <!-- Set ID As_Lightbox here -->
    <div class="as_lightbox">
        <div class="as_lightbox_close" id="as_lightbox_close">
            <img src="images/close_flat_icon.png" alt="Close Lightbox" title="Close" />
        </div> <!-- As_Lightbox close icon -->
        <div class="as_clear"></div>
        <!-- As_Lightbox contents will starts here-->
        <p>As-Lightbox content will goes here. You can add any contents Texts, Images, Videos here. It wont conflict will other scripts Simple jQuery show(), hide() gives this lightbox</p>
        <!-- As_Lightbox contents ends here -->
<!-- AS_lightbox div (division) Ends -->
<div class="as_wrapper">

<a id="Show_Lightbox" class="as_a">Show Lightbox</a>

Step 2 create a file called style.css:


Output as shown below at run time

 Click on show lightbox link then lightbox popup is shown as below

Download sample code attached

 Jquery LightBox

Sunday, 9 March 2014

What is cts?

What is cts? in

CTC -: Cts is the component of clr through which net framework provides support for multiple languge because it contains a type system that is comman acroos all languge . two cts compliant languges do not requier type conversion when calling the code written in one languge from with in code written in anthore languge CTS provides a ease set of data type for all the languge supported by NET. frame work this means that the size of integer and long varibles is the same across all NET.compliant programng languges however each languge uses alliases for the base data type provide by CTS.for example , CTS uses the data type system .int32 to represent a 4 byte integer value; however visul basic uses the alias integer for the same whereasC# uses the alias int. this is done for the sake of clarity and simplicity.

What is cls?
Ans -:common languge specifiction (CLS) ia a set of basic rules, which enable interoperabillity between two.NET-compliant languages supported by CLS can use each other's class libaries similar to their own. application programming interfaces which are designed by following the rules defined in CLS
Related Posts Plugin for WordPress, Blogger...