开发者

Updating a datatable cell in a dataset in MVC?

开发者 https://www.devze.com 2023-03-15 04:59 出处:网络
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.

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

精彩评论

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