Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the page life cycle in asp.net?

973


What is global.asax file used for?

1027


Whats the difference between registerclientscriptblock, registerclientscriptinclude and registerclientscriptresource?

1051


Which method is used to force all the validation controls to run?

1040


Explain how to prepare culture-specific formatting in .net.

968


How to use a Master Database in Asp.net?

1068


What is the importance of Global.asax in ASP.NET?

1148


What are the difference between overriding and overloading?

1084


Mention the execution process for managed code?

990


What do you mean by caching in asp.net?

1025


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

1815


What is semantic gap?

1029


How many types of Cookies are available in ASP.NET?

1076


What is the difference between WindowsDefaultLocation and WindowsDefaultBounds?

1168


Do gac'ed assemblies have fulltrust?

1077