Saturday, April 12, 2025

Breaking News
>> Securing and encrypt View State and Cookies values  >> Page has one or more controls that do not correspond with   >> “The Controls collection cannot be modified because the control contains code blocks”  >> How to fix "Validation(): Element 'xxxx' is not supported  >> How to create a new session in ASP.NET programmatically  >> MySQL Database Backup using mysqldump command    

Editors Picks

Tuesday, June 21, 2011

as keyword in c sharp

as  The as operator is used to perform certain types of conversions between compatible reference types . The as operator is like a cast operation. However, if the conversion is not possible,...
Read more ...

sealed keyword c sharp

sealed  The sealed modifier can be applied to classes, instance methods and properties. A sealed class cannot be inherited. A sealed method overrides a method in a base class, but itself...
Read more ...

out keyword in c sharp

out  The out and the ref parameters are used to return values in the same variables, that you pass an an argument of a method. These both parameters are very useful when your method needs...
Read more ...

ref keyword in c sharp

ref C# The ref keyword causes arguments to be passed by reference. The effect is that any changes to the parameter in the method will be reflected in that variable when control passes back to...
Read more ...

const keyword in c sharp

const C#  The const keyword is used to modify a declaration of a field or local variable. It specifies that the value of the field or the local variable is constant, which means it cannot...
Read more ...

readonly keyword in c sharp

readonly The readonly keyword is a modifier that you can use on fields. When a field declaration includes a readonly modifier, assignments to the fields introduced by the declaration can only occur...
Read more ...

what is static keyword in c#

static (C# Reference) The static modifier can be used with classes, fields, methods, properties, operators, events, and constructors, but it cannot be used with indexers, destructors, or types ...
Read more ...

abstract keyword in c sharp

abstract The abstract modifier is used in classes, methods and properties. Abstract modifier is used when you want the class to be a base class for other classes. Key points concerning abstract...
Read more ...

Thursday, June 16, 2011

how to check for NULL in DataTable

how to check datatable is empty In think, you are using  dtUserSettingvalues before initialization and dtUserSettingvalues does not have any reference to DataTabe object so that is...
Read more ...

Tuesday, June 14, 2011

How to Set the Default Value of a DropDownList in an ASP.NET

DropDownList Control Examples: You can see the live samples and examples of DropDownList Control from the following links: Setting DropDownList Default Value DropDownList Control SelectedValue...
Read more ...

Check maxlength of multiline textbox in javascript

how to set maxlength for multiline textbox in asp.net The MaxLength property of textbox control works fine if Multiline mode is not set, but if TextMode='Multiline' is set in aspx page then this...
Read more ...

Thursday, June 2, 2011

Setting the default Button for a TextBox in ASP.NET

Setting the default Button for a TextBox in ASP.NET Hitting the enter key in a TextBox can sometimes have undesired effects like the wrong submit Button being “clicked“. The method...
Read more ...

Contact Us

Name

Email *

Message *