RE: 1). what is view stae? what are the pros and cons ...
view state:
view state is natively by the asp.net web controls. it allows them to retain their properties between post backs. You can add your own data to the view state using a built in page.
RE: 1). what is view stae? what are the pros and cons ...
.net Remoting:-
.NET Remoting is an enabler for application communication. It is a generic system for different applications to use to communicate with one another. .NET objects are exposed to remote processes thus allowing interprocess communication. The applications can be located on the same computer different computers on the same network or even computers across separate networks.
RE: 1). what is view stae? what are the pros and cons ...
Hi Friend Code to retrieve the values that are stored in viewstateTo store values in the viewstateC#ViewState[ count ] 1;int counts (int)ViewState[ count ];We must know what type of data we stored in the ViewState under the given key.Expecting the feedback on this answer:-) Good bye
RE: 1). what is view stae? what are the pros and cons ...
Hi Friend Code to retrieve the values stored in viewstate is as follows. To store values in the viewstate ViewState[ count ] 1; int counts (int)ViewState[ count ]; We must know what type of data we stored in the ViewState under the given key.Expecting the feedback on this answer. :-) Good bye
RE: 1). what is view stae? what are the pros and cons ...
View state is used to maintain the state of control and it is stored in the hidden field called _VIEWSTATE.
It enables to see all previously entered values in the view state -enabled control
Web services facilitated data transfer independent of platform.When you want to send and receive data to different platforms(e.g java to .net or another) - use web services. When u want to send and receive data within same platform-use .NEt Remoting as remoting is platform dependent.
RE: 1). what is view stae? what are the pros and cons of using view stae?2). what is .Net remoting?3).please write an example of declaring a function as web services?4). what is web services?
A ViewState has the details or values of the control in encrypted format. This encrypted details are passed to and fro between the requests to server and hence help in retaining the state of the control. The disadvantage is that it will create an overhead and increase the size of data being transeferred hence increasign the network traffic.
.Net Remoting helps to connect to different systems on the same network.
Web Services are programs which run on different servers in the internet and provide some defined functionality thus providing reusability. The communication though http:// and the communication of the request-reply form.