开发者

Updating a datatable cell in a dataset in MVC?

In my C# MVC application, I have a dataset that is returned by a model. Before iterating through the data on the view, I want to the cells of a particular column for, say matched text to be replaced.

Is the best place to do this before returning the dataset to the controller, or let the controller update开发者_开发问答 the dataset.

Thanks.


Maybe some more details could change my mind. But probably not. Controller should already receive it modified.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜