Use ReadOnly attribute or remove set accessor ...
[ReadOnly(true)]
public int Age
{
get
{
return _Age;
}
set
{
_Age = value;
}
}
Daily reviews about .Net,tools and programming techniques
Use ReadOnly attribute or remove set accessor ...
[ReadOnly(true)]
public int Age
{
get
{
return _Age;
}
set
{
_Age = value;
}
}
at 16:22 0 comments
Use Category attribute .Note that properties without the attribute will be shown uder category named "Misc"
[DisplayName("First Name")]
[Description("First Name of the person")]
[Category("Personality")]
public string FirstName
{
get
{
return _FirstName;
}
set
{
_FirstName = value;
}
}
[Category("Specific")]
public Color HairColor
{
get
{
return _HairColor;
}
set
{
_HairColor = value;
}
}
at 16:17 2 comments
Use Description attribute
[DisplayName("First Name")]
[Description("First Name of the person")]
public string FirstName
{
get
{
return _FirstName;
}
set
{
_FirstName = value;
}
}
at 16:06 0 comments
To display property name in readable form you can use DisplayName attribute
[DisplayName("First Name")]
public string FirstName
{
get
{
return _FirstName;
}
set
{
_FirstName = value;
}
}
at 15:57 2 comments
ASP.NET AJAX 1.0 delivers a rich client-side AJAX library that provides cross platform, cross browser support for a core JavaScript type-system, JSON-based network serialization stack, JavaScript component/control model, as well as common client JavaScript helper classes. ASP.NET AJAX also delivers a rich server-side library that integrates AJAX functionality within ASP.NET, and enables developers to easily AJAX-enable existing ASP.NET 2.0 sites with minimal effort.
at 14:59 0 comments
The MSN Search SDK provides documentation that describes the core concepts, requirements, development guidelines, and class library for the MSN Search Web Service. The SDK also contains sample code that demonstrates application development techniques using the MSN Search Web Service.
at 02:33 0 comments