mobile ads

Thursday, 31 October 2013

Event Handling in ASP.NET

Event is an action or occurrence like mouse click, key press, mouse movements, or any system generated notification. The processes communicate through events. For example, Interrupts are system generated events. When events occur the application should be able to respond to it. In ASP.Net an event is raised on the client, and handled in the server. For example, a user clicks a button displayed...

Wednesday, 30 October 2013

ASP.NET Page Validation Controls

RequiredFieldValidator—Enables you to require a user to enter a value in a form field. RegularExpressionValidator—Enables you to compare a value against a regular expression. RangeValidator—Enables you to check whether a value falls between a certain minimum and maximum value. CompareValidator—Enables you to compare a value against another value or perform a data type check. CustomValidator—Enables...

Tuesday, 29 October 2013

WPF Introduction

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. The core of WPF is a resolution-independent and vector-based rendering engine that is built to take advantage of modern graphics hardware. WPF extends...

Wednesday, 16 October 2013

Difference between Response.Redirect and Server.Transfer

Response.Redirect involves an extra round-trip to the server whereas Server.Transfer conserves server resources by avoiding that extra round-trip. Server.Transfer just changes the focus of the page by directly communicating with...

machine.config and web.config

Machine.Config file specifies the settings that are global to a particular machine.  It is specifically used to store machine and application settings global to all asp.net web sites running in IIS in a computer. A system...

Friday, 11 October 2013

Difference between Convert.ToString() and .ToString()

We can convert the integer i using i.ToString () or Convert.ToString The basic difference between them is the Convert function handles NULLS while i.ToString () does not; it will throw a NULL reference exception error. So as...

Can we define a Private Constructor

Normal 0 false false false EN-US X-NONE X-NONE ...

What is Abstract Class and Interface? Why we use them and at What scenario we use?

Normal 0 false false false EN-US X-NONE X-NONE AbstractClass: Abtract class cannot be instantiated, it...

DataGridView using DataReader

Solution 1 DataReader will read row by row so you make looping to read all records if you want to display all record or any element from record , in other hand dataGridview need to take all data of your records in one package,...

NavigationCommands Memers 2

NavigationCommands.FirstPage FirstPage property gets the value that represents the First Page Command KeyGesture   -  N/A UI Text         -  First Page This command...