Resource Responses

Search Guest Response by Email:
Total 101 responses found.
Checking Password Strength using AJAX

This is so helpful article thanks for sharing with us,

Thanks again
Ketan Italiya
Author: ketan Italiya      Posted Date: 29 Nov 2013
Getting your AdSense Account Approved

For posting a very good and helpful article for me and as same as for others.

Ketan Italiya
Author: ketan Italiya      Posted Date: 24 Nov 2013
PDF Tool using C# and iTextsharp
This article is so helpful.

Author: ketan Italiya      Posted Date: 18 Nov 2013
My Interview experience with Tabia Technologies.
Hi Ranipriya,

First of all 1 would like to Congratulations for it
and thank you so much for share your Interview experience with Tabia Technologies.

Ketan Italiya
Author: ketan Italiya      Posted Date: 18 Nov 2013
How to Detect whether User has click the browser refresh button or Close button
This is a nice article,and superb understanding thanks,

Author: ketan Italiya      Posted Date: 15 Nov 2013
.Net Technical Interview Questions asked in Marlabs, Hyderabad
Author: ketan Italiya      Posted Date: 12 Nov 2013
Interview experience
Superb Experience,thanks for sharing with us,

Author: ketan Italiya      Posted Date: 28 Oct 2013
What is SEO ?
SEO stands for “search engine optimization.” It is the process of getting traffic from the “free,” “organic,” “editorial” or “natural” listings on search engines. All major search engines such as Google, Yahoo and Bing have such results, where web pages and other content such as videos or local listings are shown and ranked based on what the search engine considers most relevant to users. Payment isn’t involved, as it is with paid search ads.

[b]Differences Between the Major Search Engines[b]

Although the basic principle of operation of all search engines is the same, the minor differences between them lead to major changes in results relevancy. For different search engines different factors are important. There were times, when SEO experts joked that the algorithms of Bing are intentionally made just the opposite of those of Google. While this might have a grain of truth, it is a matter a fact that the major search engines like different stuff and if you plan to conquer more than one of them, you need to optimize carefully.

There are many examples of the differences between search engines. For instance, for Yahoo! and Bing, on-page keyword factors are of primary importance, while for Google links are very, very important. Also, for Google sites are like wine – the older, the better, while Yahoo! generally has no expressed preference towards sites and domains with tradition (i.e. older ones). Thus you might need more time till your site gets mature to be admitted to the top in Google, than in Yahoo!.
Author: ketan Italiya      Posted Date: 26 Oct 2013
Arrays are collections of data. A scalar variable can hold only one item at a time. Arrays can hold multiple items. These items are called elements of the array. Arrays store data of the same data type. Each element can be referred to by an index. Arrays are zero based. The index of the first element is zero. Arrays are reference types.

Arrays are used to store data of our applications. We declare arrays to be of a certain data type. We specify their length. And we initialize arrays with data. We have several methods for working with arrays. We can modify the elements, sort them, copy them or search for them.

int[] ages;
String[] names;
float[] weights;
Author: ketan Italiya      Posted Date: 26 Oct 2013
HoverMenu in AJAX
superb article bro.

help me so thanks,


Author: ketan Italiya      Posted Date: 23 Oct 2013
How to use visual studio debugging tools to make development easier - II

This is the superb article bro.

Very useful .Thanks, Prasad kulkarni


Author: ketan Italiya      Posted Date: 22 Oct 2013
My experience of Interview in Horizon Softech
thanks, for sharing your experience...helped it
Author: ketan Italiya      Posted Date: 18 Oct 2013
Pagination in

Thanks,for your suggestion,I make my article.I hope this is now able to understand.

Author: ketan Italiya      Posted Date: 18 Oct 2013
Selecting and Deselecting checkboxes using jQuery
nice one....
Author: ketan Italiya      Posted Date: 18 Oct 2013
Active Directory Application Mode With C#
very good article

help me so much to understanding,actually i suffer from this problem long is solved now,

Author: ketan Italiya      Posted Date: 18 Oct 2013
Threading in .NET
The advantage of threading is the ability to create applications that use more than one thread of execution. For example, a process can have a user interface thread that manages interactions with the user and worker threads that perform other tasks while the user interface thread waits for user input.

Author: ketan Italiya      Posted Date: 18 Oct 2013
.NET Remoting: Using Interfaces

nice understanding,


Author: ketan Italiya      Posted Date: 18 Oct 2013
POCOS(Plain old CLR objects) are simply entities of your Domain.Normally when we use entity framework the entities are generated automatically for you.This is great but unfortunately these entities are interspersed with database access functionality which is clearly against the SOC(Separation of concern).POCOS are simple entities without any data access functionality but still gives the capabilities all EntityObject functionalities like

Lazy loading
Change tracking

Author: ketan Italiya      Posted Date: 18 Oct 2013
Web.config is the main settings and configuration file for an ASP.NET web application. The file is an XML document that defines configuration information regarding the web application.This file stores the information about how the web application will act. The web.config file contains information that controls module loading, security configuration, session state configuration, and application language and compilation settings. Web.config files can also contain application specific items such as database connection strings.
Author: ketan Italiya      Posted Date: 18 Oct 2013
As an ASP.NET developer, HttpHandlers are important because they are the earliest possible point where you have access to requests. When a request is made to IIS for an ASP.NET resource (.aspx, .config, .asmx), the ASP.NET worker process internally creates an instance of the right HttpHandler for the request in question and effectively hands off the task of responding to the request. How does ASP.NET know which is the right HttpHandler for a given request? Simple, via configuration files, paths are mapped to http handlers

difference between httphandlers and handlers in web.config
the httpHandlers element is used on sites running on IIS 5 – 6, or IIS 7.x in Classic mode (IIS 6 compatibility mode). The handlers element is used on sites running on IIS 7.x (Integrated mode).

Author: ketan Italiya      Posted Date: 18 Oct 2013
Loading Bulk data to SQL using OpenXML

thanks nice understanding.

for importing data into SQL Server and then parsing the XML into a relational format.

1.Import XML data from an XML file into SQL Server table using the OPENROWSET function
2.Parse the XML data using the OPENXML function

Author: ketan Italiya      Posted Date: 18 Oct 2013
Definition for XSLT
XSL Transformations (XSLT) is a standard way to describe how to transform (change) the structure of an XML (Extensible Markup Language) document into an XML document with a different structure. XSLT is a Recommendation of the World Wide Web Consortium (W3C).

XSLT can be thought of as an extension of the Extensible Stylesheet Language (XSL). XSL is a language for formatting an XML document (for example, showing how the data described in the XML document should be presented in a Web page). XSLT shows how the XML document should be reorganized into another data structure (which could then be presented by following an XSL style sheet).

XSLT is used to describe how to transform the source tree or data structure of an XML document into the result tree for a new XML document, which can be completely different in structure. The coding for the XSLT is also referred to as a style sheet and can be combined with an XSL style sheet or be used independently.
Author: ketan Italiya      Posted Date: 09 Oct 2013
What is Normalization?
Normalization is the process of efficiently organizing data in a database. There are two goals of the normalization process: eliminating redundant data (for example, storing the same data in more than one table) and ensuring data dependencies make sense (only storing related data in a table). Both of these are worthy goals as they reduce the amount of space a database consumes and ensure that data is logically stored.
Author: ketan Italiya      Posted Date: 09 Oct 2013
Definitions of JQuery
jQuery is a JavaScript library that allows web developers to add extra functionality to their websites. It is open source and provided for free under the MIT license. In recent years, jQuery has become the most popular JavaScript library used in web development.

To implement jQuery, a web developer simply needs to reference the jQuery JavaScript file within the HTML of a webpage. Some websites host their own local copy of jQuery, while others simply reference the library hosted by Google or the jQuery server.

Once the jQuery library is loaded, a webpage can call any jQuery function supported by the library. Common examples include modifying text, processing form data, moving elements on a page, and performing animations. jQuery can also work with Ajax code and scripting languages, such as PHP and ASP to access data from a database. Since jQuery runs on the client side (rather than the web server), it can update information on a webpage in realtime, without reloading the page. A common example is "autocomplete," in which a search form automatically displays common searches as you type your query. In fact, this is how provides search suggestions when you type in the search box.
Author: ketan Italiya      Posted Date: 09 Oct 2013
Definition of JavaScript
Like Java, this is a programming lanuguage designed by Sun Microsystems, in conjuction with Netscape, that can be integrated into standard HTML pages. While JavaScript is based on the Java syntax, it is a scripting language, and therefore cannot be used to create stand-alone programs. Instead, it is used mainly to create dynamic, interactive Web pages. For example, Web developers can use JavaScript to validate form input, create image rollovers, and to open those annoying pop-up windows. Like so many other things, we have to take the good with the bad.
Author: ketan Italiya      Posted Date: 09 Oct 2013
What is LINQ ?
What is LINQ?

LINQ is the acronym of Language Integrated Query. LINQ is a new concept introduced in DOT NET Framework version 3.5. LINQ is supported by Visual Studio 2008 editor. With this editor, LINQ queries can be written in Visual Basic language or C# language.

Similar to Oracle and SQL Server, LINQ manipulates data sources in .NET program using queries. In C#, LINQ can be used only in C# version 3.0 and higher. The data source manipulated by LINQ can be an XML or an object like Arrays / Classes or even a relational database. Whatever it is, the selected data source can be manipulated using LINQ queries directly in the .NET program.

LINQ defines standard query operators that are available in the namespace System.Linq. With these query operators, activities such as selection, aggregation, filtering and partitioning of data from any data type can be done.

What are the Different Types of LINQ Technologies?

Microsoft offers 5 different LINQ technologies based on the LINQ providers for various data sources. The different LINQ technologies are:

LINQ to Objects – LINQ to Objects is used to manipulate on collection objects like array or list using LINQ Queries.

LINQ to SQL - The data in relational database will be recorded as rows whereas data managed by software programming language will be stored as objects. LINQ to SQL acts as the object relational mapper thereby managing data of relational database as objects. Using LINQ to SQL, entity classes can be defined and then these entity classes are associated to the corresponding tables in the relational database. Then the class named DataContext is used to access all entities available in LINQ to SQL.

LINQ to XML – If the data is available in an XML file, then that XML data can be manipulated using classes and methods available in System.XML.Linq namespace.

LINQ to Entities – In LINQ to SQL, one entity class can be linked to only one table in the relational database. If ther
Author: ketan Italiya      Posted Date: 09 Oct 2013
What is LINQ ?
There are four main advantages of LINQ. They are,

The availability of strong typed queries: The classes are auto generated according to the relations in relational databases. The language is very much easy to understand as in SQL.

The automatic join functioning in foreign keys: In normal SQL, the user has to join the tables if it is necessary. In LINQ, it provides the ability to join each function automatically when there is a foreign key reference.

The code size: There are many occasions that the users have to write long sentences for getting a SQL query. LINQ provides relatively short codes in such advanced occasions. It reduces the complexity of the code and makes it much easy for the program to read.

Code equality: One of the most advantages in using LINQ is that its availability over any .NET platform language such as, VB.NET and F#.NET.
Author: ketan Italiya      Posted Date: 09 Oct 2013
What is web.config file ?
The time you start developing your web application until you finish the application, you will more often use the Web.config file not only for securing your application but also for wide range of other purposes which it is intended for. ASP.NET Web.config file provides you a flexible way to handle all your requirements at the application level. Despite the simplicity provided by the .NET Framework to work with web.config, working with configuration files would definitely be a task until you understand it clearly.
Author: ketan Italiya      Posted Date: 09 Oct 2013
What is Google TV
Google TV in a Nutshell:
Google TV is an Android-based operating system for smart TVs, or TVs that connect to the Internet as well as to standard set-top devices like DVD and Blu-ray players or DVRs.
Current TV sets are "dumb." They only allow you to watch TV shows broadcast over the air or through connected devices, and you either must watch the show as it airs or use some device to watch the show for you and then replay it later. If a storm hits and your power goes out, you'll have to wait for a rerun. In addition, your dumb TV set does not know which shows you'd prefer to see and which shows you want to skip.

The idea behind smart TVs is that not only do they allow you to connect to the Internet, but they allow the TV to add services and suggestions (and yes, ads) tailored to your preferences.

One of the things that makes Google TV stand out is that it offers a full version of the Chrome Web browser and all the Web-based services you can use with it. That means you can check your email using Gmail or another Web-based email service. Chrome on Google TV can also play Flash videos, which means it can handle most streaming videos. (Hulu is intentionally trying to block Google TV access, though some users have found workarounds.)

Just as Android phones can play apps, Google TV will have the capability to download and play apps from a Google TV market. This is scheduled to happen in early 2011, so stay tuned.
This wouldn't be a very good TV device if it didn't let you watch shows later or check for new available shows. Google TV allows you to save favorite channels, podcasts, feeds, and Web pages in a queue. You can also add shows from your DVR if you have one.
The initial Google TV offerings come from Sony and Logitech. Those Google TV devices are in stores now. In 2011, more companies are expected to begin making Google TV devices, but some of that will depend on how well the initial offerings do in the market.
The remotes for Google TV have a full keyboard. The Logitech Revue remote is full keyboard sized, while Sony's offerings have a smaller, PlayStation sized remote. This is because you're not limited to just clicking a single button. You can browse and click anywhere on the screen and enter text.
Logitech is offering an HD webcam accessory or a smaller remote. Sony is offering Google TV built into TVs or as a set-top box with a built-in Blu-ray player. As more companies offer Google TV devices, the number of configurations will likely increase.
More on Google TV:

Google TV can be seen as a transitional device. In the future, chances are great that none of us will get our content from TVs. Many consumers are already searching for ways to get rid of pricey cable subscriptions, and media companies are examining their strategies for putting content online. Do they charge per episode? Do they stream everything and put ads on it? Do they charge a subscription and saddle viewers with extra shows as "bonus" content?

Meanwhile, there are several strategies emerging for how to deal with connecting your TV to the Internet. Some users simply take a computer and hook it up to their TV as a home theater PC or HTPC. Some use dedicated devices that allow you to view a few types of content, such as the AppleTV or Ryoku devices. These one-or-two-trick ponies are much cheaper (most are around $99) but aren't as customizable.

Google's approach is to create a platform and allow developers to do what they will with it. That may be the right approach, since content providers and developers don't have to go to as much effort to get their content to your TV, but it may be the wrong approach as media companies try their hardest to hold onto whatever profit margins they can and squeak out exclusive deals with compaines like Microsoft to bring content to their devices.

That brings up another point about Google TV - game systems. If you have a game console, chances are that you can already stream Netflix and Amazon movies, so you may not need an additional device. The Google TV system may end up being more appealing to new users without game consoles, but the user interface isn't less intimidating. Google TV apps may cure both problems, both by adding game appeal and by adding simplified user interface options.
Author: ketan Italiya      Posted Date: 08 Oct 2013
12 important advantages ASP.NET offers over other Web development models:

1. ASP.NET drastically reduces the amount of code required to build large applications.

2. With built-in Windows authentication and per-application configuration, your applications are safe and secured.

3. It provides better performance by taking advantage of early binding, just-in-time compilation, native optimization, and caching services right out of the box.

4. The ASP.NET framework is complemented by a rich toolbox and designer in the Visual Studio integrated development environment. WYSIWYG editing, drag-and-drop server controls, and automatic deployment are just a few of the features this powerful tool provides.

5. Provides simplicity as ASP.NET makes it easy to perform common tasks, from simple form submission and client authentication to deployment and site configuration.

6. The source code and HTML are together therefore ASP.NET pages are easy to maintain and write. Also the source code is executed on the server. This provides a lot of power and flexibility to the web pages.

7. All the processes are closely monitored and managed by the ASP.NET runtime, so that if process is dead, a new process can be created in its place, which helps keep your application constantly available to handle requests.

8. It is purely server-side technology so, ASP.NET code executes on the server before it is sent to the browser.

9. Being language-independent, it allows you to choose the language that best applies to your application or partition your application across many languages.

10. ASP.NET makes for easy deployment. There is no need to register components because the configuration information is built-in.

11. The Web server continuously monitors the pages, components and applications running on it. If it notices any memory leaks, infinite loops, other illegal activities, it immediately destroys those activities and restarts itself.

12. Easily works with ADO.NET using data-binding and page formatting features. It is an application which runs faster and counters large volumes of users without having performance problems
Author: ketan Italiya      Posted Date: 07 Oct 2013
Explanation of Constructors in .NET
Is the constructor mandatory for a class?
Yes, it is mandatory to have the constructor in the class and that too should be accessible for the object i.e., it should have a proper access modifier. Say, for example, we have only private constructor(s) in the class and if we are interested in instantiating the class, i.e., want to create an object of the class, then having only private constructor will not be sufficient and in fact it will raise an error. So, proper access modifies should be provided to the constructors.
What if I do not write the constructor?
In such case, the compiler will try to supply the no parameter constructor for your class, behind the scene. Compiler will attempt this only if you do not write the constructor for the class. If you provide any constructor (with or without parameters), then compiler will not make any such attempt.
What if I have the constructor public myDerivedClass(), but not the public myBaseClass()?

It will raise an error. If either the no parameter constructor is absent or it is in-accessible (say it is private), it will raise an error. You will have to take the precaution here.
Can we access static members from the non-static (normal) constructors?

Yes, we can. There is no such restriction on non-static constructors. But there is one on static constructors that it can access only static members.
Author: ketan Italiya      Posted Date: 07 Oct 2013
What is inheritance?
The Benefits of Inheritance
Subclasses provide specialized behaviors from the basis of common elements provided by the superclass. Through the use of inheritance, programmers can reuse the code in the superclass many times.
Programmers can implement superclasses called abstract classes that define "generic" behaviors. The abstract superclass defines and may partially implement the behavior but much of the class is undefined and unimplemented. Other programmers fill in the details with specialized subclasses.
Author: ketan Italiya      Posted Date: 07 Oct 2013
System Unique ID Problems
What hardware does Windows check?

The system checks these ten categories of hardware:

Display Adapter
SCSI Adapter
IDE Adapter (effectively the motherboard)
Network Adapter (NIC) and its MAC Address
RAM Amount Range (i.e., 0-64mb, 64-128mb, etc.)
Processor Type
Processor Serial Number
Hard Drive Device
Hard Drive Volume Serial Number (VSN)
Author: ketan Italiya      Posted Date: 07 Oct 2013
Optional Parameters in C# 4.0
Named arguments free you from the need to remember or to look up the order of parameters in the parameter lists of called methods. The parameter for each argument can be specified by parameter name. For example, a function that calculates body mass index (BMI) can be called in the standard way by sending arguments for weight and height by position, in the order defined by the function.

CalculateBMI(123, 64);

If you do not remember the order of the parameters but you do know their names, you can send the arguments in either order, weight first or height first.

CalculateBMI(weight: 123, height: 64);

CalculateBMI(height: 64, weight: 123);

Named arguments also improve the readability of your code by identifying what each argument represents.

A named argument can follow positional arguments, as shown here.

CalculateBMI(123, height: 64);

However, a positional argument cannot follow a named argument. The following statement causes a compiler error.

//CalculateBMI(weight: 123, 64);
Author: ketan Italiya      Posted Date: 04 Oct 2013
How to Create Google AdSense Account using Blogger for free...?
I try this but I fail 2 time to active my Google Adsense account can you please help me.
Author: ketan Italiya      Posted Date: 24 Sep 2013
What is XML ? Use of XML in ASP.Net.
XML Namespace

The System.Xml namespace provides a rich set of classes for processing XML data. The commonly used classes for working with XML data are:

XmlTextReader: Provides forward only access to a stream of XML data and checks whether or not an XML document is well formed. This class neither creates as in-memory structure nor validates the XML document against the DTD. You can declare an object of the XmlTextReader class by including the System.Xml namespace in the application. The syntax to declare an object of this class is as follows:

XmlTextReader reader = new XmlTextReader("XML1.xml");

It is important to note that the .xml file you pass as an argument to the constructor of the XmlTextReader class exists in the \WINNT\System32 folder.

XmlTextWriter: Provides forward only way of generating streams or files containing XML data that conforms to W3C XML 1.0. If you want to declare an object of the XmlTextWriter class, you must include the System.Xml. The syntax to decare an object of this class is as follows:

XmlTextWriter writer = new XmlTextWriter(Response.Output);

Here Response.Output represents an outgoing HTTP response stream to which you want to send the XML data.

XmlDocument: Provides navigating and edinting features of the nodes in an XML document tree. XmlDocument is the most frequently used class in ASP.NET applications that use XML documents. It also supports W3C XML DOM. XML DOM is an in-memory representation of an XML document. It represents data in the form of hierarchically organized object nodes and allows you to programmatically access and manipulate the elements and attributes present in an XML document.

XmlDocument doc = new XmlDocument();

XmlDataDocument: Provides support for XML and relational data in W3C XML DOM. You can use this class with a dataset to provide relational and non-relational views of the same set of data. This class is primarily used when you want to access the functions of ADO.NET.
Author: ketan Italiya      Posted Date: 24 Sep 2013
Classes and Objects in OOPS

In programming terms, an object is a self-contained component that contains properties and methods needed to make a certain type of data useful. An object’s properties are what it knows and its methods are what it can do. The project management application mentioned above had a status object, a cost object, and a client object, among others. One property of the status object would be the current status of the project. The status object would have a method that could update that status. The client object’s properties would include all of the important details about the client and its methods would be able to change them. The cost object would have methods necessary to calculate the project’s cost based on hours worked, hourly rate, materials cost, and fees.

In addition to providing the functionality of the application, methods ensure that an object’s data is used appropriately by running checks for the specific type of data being used. They also allow for the actual implementation of tasks to be hidden and for particular operations to be standardized across different types of objects. You will learn more about these important capabilities in Object-oriented concepts: Encapsulation.

Objects are the fundamental building blocks of applications from an object-oriented perspective. You will use many objects of many different types in any application you develop. Each different type of object comes from a specific class of that type.

Classes, instances, and instantiation

A class is a blueprint or template or set of instructions to build a specific type of object. Every object is built from a class. Each class should be designed and programmed to accomplish one, and only one, thing. (You'll learn more about the Single Responsibility Principle in Object-oriented programming concepts: Writing classes.) Because each class is designed to have only a single responsibility, many classes are used to build an entire application.

An instance is a specific object built from a specific class. It is assigned to a reference variable that is used to access all of the instance's properties and methods. When you make a new instance the process is called instantiation and is typically done using the new keyword.

Think about classes, instances, and instantiation like baking a cake. A class is like a recipe for chocolate cake. The recipe itself is not a cake. You can't eat the recipe (or at least wouldn't want to). If you correctly do what the recipe tells you to do (instantiate it) then you have an edible cake. That edible cake is an instance of the chocolate cake class.

You can bake as many cakes as you would like using the same chocolate cake recipe. Likewise, you can instantiate as many instances of a class as you would like. Pretend you are baking three cakes for three friends who all have the same birthday but are different ages. You will need some way to keep track of which cake is for which friend so you can put on the correct number of candles. A simple solution is to write each friend's name on the cake. Reference variables work in a similar fashion. A reference variable provides a unique name for each instance of a class. In order to work with a particular instance, you use the reference variable it is assigned to.
Author: ketan Italiya      Posted Date: 24 Sep 2013
What is XML ? Use of XML in ASP.Net.
XML is designed to transport and store data.Data can stored separate xml files.
suppose you developing a mail send application that time you can store the your (UserId,Password, portno, and domain etc)... in xml file.
and read these entity to xml files because these entities are fixed your application.
Author: ketan Italiya      Posted Date: 24 Sep 2013
Cache Miss
Definition: A cache is a block of RAM used for temporary storage of data that is likely to be used again. The CPU and hard drive frequently use a cache, as do web browsers.

In a CPU there can be several caches, to speed up instructions in loops or to store often accessed data. These caches are small but very fast. Reading data from cache memory is much faster than reading it from RAM.
Author: ketan Italiya      Posted Date: 24 Sep 2013
What is Connection Object in ADO.Net
The Connection object is the first component of ADO.NET that you should be looking at. A connection sets a link between a data source and ADO.NET. A Connection object sits between a data source and a DataAdapter (via Command). You need to define a data provider and a data source when you create a connection. With these two, you can also specify the user ID and password depending on the type of data source. Figure 3-3 shows the relationship between a connection, a data source, and a data adapter.
Author: ketan Italiya      Posted Date: 24 Sep 2013
Why to use Encapsulation?
Encapsulation, in the context of C#, refers to an object's ability to hide data and behavior that are not necessary to its user. Encapsulation enables a group of properties, methods and other members to be considered a single unit or object.

The following are the benefits of encapsulation:

Protection of data from accidental corruption
Specification of the accessibility of each of the members of a class to the code outside the class
Flexibility and extensibility of the code and reduction in complexity
Lower coupling between objects and hence improvement in code maintainability

Encapsulation is used to restrict access to the members of a class so as to prevent the user of a given class from manipulating objects in ways that are not intended by the designer. While encapsulation hides the internal implementation of the functionalists of class without affecting the overall functioning of the system, it allows the class to service a request for functionality and add or modify its internal structure (data or methods) to suit changing requirements.

Encapsulation is also known as information hiding.

Encapsulation in C# is implemented with different levels of access to object data that can be specified using the following access modifiers:

Public: Access to all code in the program
Private: Access to only members of the same class
Protected: Access to members of same class and its derived classes
Internal: Access to current assembly
Protected Internal: Access to current assembly and types derived from containing class

Encapsulation can be illustrated with an example of an Employee object that stores details of that object. By using encapsulation, the Employee object can expose the data (like Name, EmployeeID, etc.) and methods (like GetSalary) necessary for using the object, while hiding its irrelevant fields and methods from other objects. It's easy to see a situation in which all users could access basic information about an employee while restricting salary information.

C# allows encapsulation of data through the use of accessors (to get data) and mutators (to modify data), which help in manipulating private data indirectly without making it public. Properties are an alternate mechanism for private data to be encapsulated in a C# object and accessed in either read-only mode or in read-write mode. Unlike the accessor and mutator, a property provides a single point of access to an object's "set" and "get" values
Author: ketan Italiya      Posted Date: 24 Sep 2013
What is Data Adapter, Data Table and Data set?
a DataReader is a forward-only iterator over a set of results. It's usually the most efficient way to deal with records when you don't need random access (in other words you can't go backwards). It is "scalable" to any number of records, at least in terms of memory pressure, since it only loads one record at a time. One typical way to get a DataReader is by using the ExecuteReader method of a DbCommand.

a DataSet represents a set of DataTable objects. More often than not, it will just contain one table, but if you do a query with multiple SELECT statements, the DataSet will contain a table for each. Because this is an in-memory representation, you have to be careful about how much data you pull into a DataSet. You can "Fill" a DataSet using the Fill method of a DataAdapter.

a DataAdapter is a kind of "pipe" that funnels data from a DB engine into a DataSet. That's why you'll have one DataAdapter implementation for each DB provider type. One DataSet, many providers.

a DataView is like a virtual subset of a DataTable
Author: ketan Italiya      Posted Date: 24 Sep 2013
SQL Server 2008 SP2 Released!!
thanks, for sharing.,
Author: ketan Italiya      Posted Date: 13 Sep 2013
Deploy an .Net Windows Application
Thanks,for sharing..
Author: ketan Italiya      Posted Date: 13 Sep 2013
Cookies in ASP.Net
Cookies is a small piece of information stored on the client machine. This file is located on client machines "C:\Document and Settings\Currently_Login user\Cookie" path. Its is used to store user preference information like Username, Password,City and PhoneNo etc on client machines. We need to import namespace called Systen.Web.HttpCookie before we use cookie.

Type of Cookies?

Persist Cookie - A cookie has not have expired time Which is called as Persist Cookie

Non-Persist Cookie - A cookie has expired time Which is called as Non-Persist Cookie

Cookie's common property:

Domain => Which is used to associate cookies to domain.

Secure => We can enable secure cookie to set true(HTTPs).

Value => We can manipulate individual cookie.

Values => We can manipulate cookies with key/value pair.

Expires => Which is used to set expire date for the cookies.

Advantages of Cookie:

Its clear text so user can able to read it.

We can store user preference information on the client machine.

Its easy way to maintain.

Fast accessing.

Disadvantages of Cookie

If user clear cookie information we can't get it back.

No security.

Each request will have cookie information with page.

How to clear the cookie information?

we can clear cookie information from client machine on cookie folder

To set expires to cookie object
userInfo.Expires = DateTime.Now.AddHours(1);
It will clear the cookie with one hour duration.
Author: ketan Italiya      Posted Date: 10 Sep 2013
LINQPad- A tool for the automation of Linq queries
This is the article is useful..thanks for posting

Author: ketan Italiya      Posted Date: 09 Sep 2013
What is Exception Handling?
An exception is a problem that arises during the execution of a program. A C# exception is a response to an exceptional circumstance that arises while a program is running, such as an attempt to divide by zero.

Exceptions provide a way to transfer control from one part of a program to another. C# exception handling is built upon four keywords: try, catch, finally and throw.

try: A try block identifies a block of code for which particular exceptions will be activated. It's followed by one or more catch blocks.

catch: A program catches an exception with an exception handler at the place in a program where you want to handle the problem. The catch keyword indicates the catching of an exception.

finally: The finally block is used to execute a given set of statements, whether an exception is thrown or not thrown. For example, if you open a file, it must be closed whether an exception is raised or not.

throw: A program throws an exception when a problem shows up. This is done using a throw keyword.
Author: ketan Italiya      Posted Date: 30 Aug 2013
History of Google
The History of Google:
From Garage-based Business to #1 Search Engine

Google, the leading search engine worldwide, was founded in 1998 by Stanford University graduate students Larry Page and Sergei Brin.

While at Stanford in 1996, Page and Brin began developing a search engine they eventually entitled BackRub. This search engine was designed to look at the connecting links between web pages in order to determine a site's authority. In 1998, Page and Brin set up their first data center in Page's dorm.

With the encouragement of fellow Stanford alum David Filo, who started Yahoo a few years earlier, Page and Brin decided to start a company and started looking for investors to back them. Andy Bechtolsheim, one of the founders of Sun Microsystems, invested $100,000 in the company after receiving a demo of their search technology. Eventually the pair raised over $1M.

Google, Inc. was established on September 7, 1998 in a friend's garage in Menlo Park, California. Page and Brin hired their first employee, Craig Silverstein, who was later to become Google's Director of Technology.

In their humble beginnings, Google served over 10,000 queries a day and quickly gained a reputation as a trustworthy source of information. By 1999, it was serving 500,000 queries a day and the company moved from the unassuming four walls of a garage to the now mega Googleplex headquarters in Mountain View, California.

Google achieved praise and publicity as news spread rapidly through online and offline media as well as their receipt of numerous awards and recommendations. Their audience continued to grow along with their reputation for effectiveness, relevance, speed and reliability.

In 2000, Google replaced Yahoo's own internal search engine as the provider of supplementary search results on Yahoo. Now, with more than 50% share of the total search market, Google provides search results for numerous search engines on the web.

Google has become all-important to both search engines and search engine optimization specialists alike. The other search engines have a tendency to mimic any algorithmic changes made by Google. Likewise, search engine optimization specialists continually study the changes as well in order to provide their clients with the best search engine rankings.

Google is the one to watch.
Author: ketan Italiya      Posted Date: 30 Aug 2013
Difference between authentication and authorization

Authentication confirms who you are. For example, you can login to your Unix server using ssh client, or access the server using POP3 and SMTP email client. Typically, PAM (Pluggable Authentication Modules) is used as a low-level authentication schemes into a high level application programming interface (API), which allows programs that rely on authentication to be written independently of the underlying authentication scheme.


Authorization is the process to confirm what you are authorized to perform. For example, you are allowed to login to your Unix server via ssh client, but you are not allowed to browser / data2 or other file systems. Authorization occurs after authentication is successful. Authorization can be controlled at the level of file system or use a variety of configuration options such as application level chroot. Normally, the connection attempt should be good authentication and authorization by the system. You can easily find out why the connection attempts are either accepted or rejected with the help of two factors.
Author: ketan Italiya      Posted Date: 30 Aug 2013
What do you mean by HTML, XTHML, and XML
HTML is the HyperText Markup Language, which is designed to create structured documents and provide for semantic meaning behind the documents. HTML5 is the next version of the HTML specification.

XML is the Extensible Markup Language, which provides rules for creating, structuring, and encoding documents. You often see XML being used to store data and to allow for communication between applications. It's programming language-agnostic - all of the major programming languages provide mechanisms for reading and writing XML documents, either as part of the core or in external libraries.

XHTML is an XML-based HTML. It serves the same function as HTML, but with the same rules as XML documents. These rules deal with the structure of the markup.
Author: ketan Italiya      Posted Date: 30 Aug 2013

    Next Results  

Top Contributors
TodayLast 7 Daysmore...

Awards & Gifts

Online Members

Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India