ASP.NET Binding

Why do we binds the data in Web-application not in the Windows-application

Questions by chary_07

Showing Answers 1 - 6 of 6 Answers

srivindhya

  • Dec 25th, 2007
 

In asp.net output will be displayed in Browser.Browser understands only html,css,and java scripts only.databind() converts webserver controls into html controls.so databind() is required in asp.net

u495x

  • Jan 31st, 2008
 

Actually this is not about converting server output into HTML, as asp.net could do it automatically like desktop does.

the reason behind the databind() method is giving you an option whether to bind the data or not, as websites are stateless and databinding requires a lot of resource for web. in desktop there is no problem with resource.

so sometime we just skip binding ( for example , in postbacks if the data of a datagrind has not been changed, we just show it from the viewstate and skip reloading of data from database to save time and resource )

binding requires database round trip, and rerendering of the control which is costly.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions