开发者

asp.net mvp pattern. how easily move data from view into presenter

开发者 https://www.devze.com 2023-01-12 00:10 出处:网络
I am using mvp pattern in small project. I have problems with view which contains html table with data(always 9 rows). How can i easily get data from html table and send it to th开发者_如何学Ce presen

I am using mvp pattern in small project. I have problems with view which contains html table with data(always 9 rows). How can i easily get data from html table and send it to th开发者_如何学Ce presenter? On the model side i want to keep data from html table as a generic List<some_type>

regards


Read the table in the view page, and push it to the presenter through an event. Pass the data through an event argument.

HTH.

0

精彩评论

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