.NET

Adding “Select” option as default in Dropdown List

You can add a default “Select” option in a drop down list by two ways: 1. Before loading the drop down list with data. 2. After loading the drop down with data. In first case you can do it as mentioned below: DropDownList1.AppendDataBoundItems = true; DropDownList1.Items.Add(new ListItem(“Select”, “-1”)); //Bind Your DropDownList here with data from Adding “Select” option as default in Dropdown List

Binding CheckBox with Integer value in GridView:Trick

I was working on a web part basically it was an attendance web part that contains Name and Present column only and display as GridView. Name contains the full name of employee and present contains Yes/No value for that employee. I took the present column as checkbox column that displays values using checked or unchecked. Binding CheckBox with Integer value in GridView:Trick

Microsoft .NET Terminologies at a Glance

This article defines many important terminologies that are related to Microsoft .NET so as to enable the reader to have a ready guide to the technical terms. Terminologies related to Microsoft .NET Framework, ASP.NET, ADO.NET, XML, Biztalk Server, etc. are covered.   The Common Language Specification This is a subset of the Common Type System Microsoft .NET Terminologies at a Glance

Triggers

A TRIGGER is a special type of stored procedure, which is ‘fired’ automatically when the data in a specified table is modified. It is invoked when an INSERT, UPDATE, or DELETE action is performed on a table.   Creating a TriggerSyntax: CREATE TRIGGER trigger_nameON { table | view } [ WITH ENCRYPTION ] {     Triggers

State Managements in .NET

State Management Techniques in ASP.NET Developer is forced to implement various state management techniques when developing applications which provide customized content and which “remembers” the user. Here we are here with various options for ASP.NET developer to implement state management techniques in their applications. Broadly, we can classify state management techniques as client side state State Managements in .NET