How do we make a poperty read only?
Answer / jitender
Suppose we have a property BarColor
the to make it read only use
private string color;
public string BarColor
{
get
{
return(color);
}
} // No need to set it
| Is This Answer Correct ? | 5 Yes | 0 No |
How to reduce the width of textbox in editcommandcolumn of datagrid?
Explain different authentication modes in asp.net?
Out of ASP or ASP.NET which one is stateless?
How much data (Max K) can go into a QueryString?
how we Creating a Web Service
what is stateless ?
How many Directives r in ASP.NET?
Can we throw exception from catch Block?
What is the displayafter property in updateprogress control?
How do u declare static variable and how it is declared and what is its lifetime?
What is the difference between asp.net and mvc?
In cache where dats is stored and how(file or object?)
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)