How can you implement encapsulation in asp.net?
Answer Posted / madhuparna bhaumik
1)Encapsulation is a concept of Object oriented programming
2)It means that all of the object's data that is contained
and hidden in the object and access to it restricted to
members of that class.
We can implement encapsulation using State handling in
methods
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the page life cycle in asp.net?
What is global.asax file used for?
Whats the difference between registerclientscriptblock, registerclientscriptinclude and registerclientscriptresource?
Which method is used to force all the validation controls to run?
Explain how to prepare culture-specific formatting in .net.
How to use a Master Database in Asp.net?
What is the importance of Global.asax in ASP.NET?
What are the difference between overriding and overloading?
Mention the execution process for managed code?
What do you mean by caching in asp.net?
Hello, Using Visual Studio 2005 (VB) I am working to create a Web Site implementing the following: Within a gridView I have placed a dropdownlist control with a DataSourceID="SDSLkupList". SDSLkupList is a sqlDataSource used to store a lookup list for dropdownlist translation from ID to text. SDSLkupList contains the translation text and other fields related to the dropdown selection ID. (Thought it would be efficient to get everything at the same time.) I would like to provide the user the ability to select from the dropdownlist and, based on the selection, use labels to list related columns stored on the SDSLkupList in separate gridView columns. I have read that SqlDataSources are not meant to be used for individual controls. Since SDSLkupList contains all related information, is there a way to do a find using the dropdownlist selectedValue? (I was not able to discover one.) Otherwise, what should I use? It would need to set the labels on the gridView DataRowBound event as well as the SelectedIndexChanged events. Has anyone done this? Any help would be appreciated. Thanks in Advance. Neal
What is semantic gap?
How many types of Cookies are available in ASP.NET?
What is the difference between WindowsDefaultLocation and WindowsDefaultBounds?
Do gac'ed assemblies have fulltrust?