Why do we need databind() in asp.net and not in windows application?

Showing Answers 1 - 3 of 3 Answers

Gaurav Kumar Singh

  • Aug 31st, 2007
 

In asp.net List server controls like DataGrid, ListBox and HTMLSelect use a collection as a data source. for example listbox uses list item as a chield control, but in case of windows there is no list items.
When you call DataBind on a parent control, it cascades to all of the children of the control. so databind is neede in asp.net not in windows

  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