开发者

Options besides FormView for data binding web forms

I don't much care for the template rigmarole of the ASP.NET FormView web forms control. It seems the only way to access template defined controls is to 'capture' module level开发者_如何学JAVA references to the wanted controls in the ItemCreated data binding event, for use in other tasks and event handlers.

Ideally I would just like to be able to call set this.DataSource and call this.DataBind on a page, but only the latter is possible through inheritence, and doesn't achieve any of my normal data binding needs.

What else is there besides the hairy, scary FormView control?


There is the DetailsView control which renders a 2 column table to setup a form. Very uniform control though, so there is limited flexibility if you need that.

Are you looking for all .NET framework or also any OSS or third party?

HTH.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜