Wednesday, 3 October 2012

Contact Us

If you want to contact me then please comment in the commnet Box.

Friday, 29 June 2012

Tuesday, 1 May 2012

WCF Interview Questions and Answer


Q1. What is WCF?
WCF stands for Windows Communication Foundation. It is a Software development kit for developing services on Windows. WCF is introduced in .NET 3.0. in the System.ServiceModel namespace. WCF is based on basic concepts of Service oriented architecture (SOA)

Friday, 27 April 2012

What is Substring? || Substring Function || Sql Server Substring Function || Sql Server Substring Function example




Hi Friends ,in this article i will explain about SUBSTRING  in sql server.

Substring:

Substring is function. It has 3 parameters.It will returns the part of a character,binary,image or text.

Thursday, 26 April 2012

What is an application object in ASP.NET | where we use application object in asp.net | application object sample example using asp.net | What is an application object in .NET


Hi Friends, in this article i will explain about the application object in .NET.

Application Object:

The Application object is used to store and access variables from any page in an application.

The Application object holds information that will be used by many pages in the application.


If you want more the details please click on the below link.


http://aspdotnet-roja.blogspot.in/2012/04/what-is-application-object-in-aspnet.html

Wednesday, 25 April 2012

What is Substring? || Substring Function || Sql Server Substring Function || Sql Server Substring Function example


Hi Friends ,in this article i will explain about SUBSTRING  in sql server.

Substring:

Substring is function. It has 3 parameters.It will returns the part of a character,binary,image or text.

Monday, 23 April 2012

Is it possible to set the session out time manually in ASP.NET? || How to set session timeout more than 20 min.? || How to set session timeout in web.config file?


Yes we can set the session out time manually in web.config.
In ASP.NET we can set the session timeout in the web.config file.The code below set the session timeout to 30 minutes.

How too create web services in asp.net || What is web service || How webservice is Work || How to consume Webserices || How to create simple webservice..


Hi Friends, In this article i will explain about how to create simple webservice in .NET.

What is webService?

Webservice is used to convert your applications into web applications.

Difference between Abstract class and interface. || what is abstract class || what is interface || Features of Abstract Classes and interfaces


What is an Abstract class?

Abstract class is a class that cannot be instantiated, it exists extensively for inheritance and it must be inherited. There are scenarios in which it is useful to define classes that is not intended to instantiate; because such classes normally are used as base-classes in inheritance hierarchies, we call such classes abstract classes.
For more information please click on the below link.
http://aspdotnet-roja.blogspot.in/2012/04/difference-between-abstract-class-and.html

Thursday, 5 April 2012

Difference between cookies and session in ASP.NET || Cookie in ASP.NET || Session in ASP.NET

State Management in APS.NET is managed by two ways:
Client-Side or Server-Side

Client-Side:Cookies,HiddenFields,ViewState and Query
Strings.
Serve-Side:Application,Session and Database.

Wednesday, 4 April 2012

Shortcut Keys for Visual Studio || ShortCut KEYS


     Shortcut Key
                      Description
Ctrl+Shift+B
Builds the solution
Ctrl-X or
Shift-Delete
Cuts the currently selected item.
Ctrl-C or
Ctrl-Insert
Copies the currently selected item

Tuesday, 6 March 2012

Difference Between DLL and EXE in .NET || Dynamic Link Library in .NET || .EXE in .NET


a) In shortcut .exe is an executable file & DLL (Dynamic Link Library) is not an executable file.
b) DLL is an in-process server while exe is a out-process server it means DLL works within the thread of application, while exe works after creating its own thread.

URL Rewriting in .Net || How URL Rewriting works || HTTP Module in .NET || installing the HTTP Module



What is URL Rewriting?
Most dynamic sites include variables in their URLs that tell the site what information to show the user. Typically, this gives URLs like the following, telling the relevant script on a site to load product number 7.

Thursday, 1 March 2012

How do you apply Themes to an entire application? || To apply a theme to a Web site in .NET



To apply a theme to a Web site
  1. In the application's Web.config file, set the <pages> element to the name of the theme, either a global theme or a page theme, as shown in the following example:

Wednesday, 29 February 2012

Improve Perfomance in ASP.net and make it fast your Page.


While developing any web site, we should keep some points in our mind.


1) Set debug=false under compilation as follows:

<compilation default Language="c#" debug="false">

2) Use Server.Transfer instead of Response.Redirect.

Introduction to WPF(Windows Presentation Foundation) in .NET



Windows Presentation Foundation (WPF) is a next-generation presentation system for building Windows client applications with visually stunning user experiences. With WPF, you can create a wide range of both standalone and browser-hosted applications.

Monday, 27 February 2012

Detect Click into Iframe using JavaScript


<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Friday, 24 February 2012

Create an Excel 2007 file and change font for the ceel in the Excel in VB.NET 2005



From the following sections you can find how to create an Excel 2007 worksheet through VB.NET 2005. For creating an Excel 2007 worksheet in VB.NET 2005 , you have to add the Microsoft Excel 12.0 Object Library in you project.

Thursday, 23 February 2012

How to export DataTable to CSV File Format


Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs)

    Dim Con As String = ConfigurationManager.ConnectionStrings("ConnectionString").ToString()

How to print windows form in .NET


First, we created a simple form with a few controls, that do nothing, so that the form would have something on it.  We added a Print Form command button and called it btnPrintForm.

Monday, 20 February 2012

PictureBox in VB.NET



The Windows Forms PictureBox control is used to display images in bitmap, GIF,icon, or JPEG formats.
You can set the Image property to the Image you want to display, either at design time or at run time. You can programmatically change the image displayed in a picture box, which is particularly useful when you use a single form to display different pieces of information.

Random Generator in VB.NET


In some situations we have to generate Random numbers in our VB.NET applications for different purposes. In these situations we have to use Random Class for generating the Random numbers. The Random Class in VB.NET

VB.NET Option Explicit [On | Off]



Option Explicit statement ensures whether the compiler requires all variables to be explicitly declared or not before it use in the program.
Option Explicit [On Off]

On Error GoTo in VB.NET


On Error GoTo statements is an example of Vb.Net's Unstructured Exception Handling . VB.NET has two types of Exception handling . Structured Error Handling and Unstructured Error handling . VB.NET using Try..Catch statement for Structured Error handling and On Error GoTo statement is using for Unstructured Error handling.

Difference between Abstract class and Interface in C# .Net



What is an Abstract Class?

An abstract class is a special kind of class that cannot be instantiated. So the question is why we need a class that cannot be instantiated? An abstract class is only to be

Sunday, 12 February 2012

What is a CLR?



Full form of CLR  is  Common Language Runtime and it forms the heart of the .NET framework.All Languages have runtime and its the responsibility of the runtime to take care of  the   code   execution of   the  program.For   example