开发者

show list in razor MVC3

开发者 https://www.devze.com 2023-03-15 15:41 出处:网络
I have an entit开发者_如何学JAVAy which has a list of some object and I want to let the user to add as much as he want from that object so that I can put them in the list.

I have an entit开发者_如何学JAVAy which has a list of some object and I want to let the user to add as much as he want from that object so that I can put them in the list. how can I create that in razor view? should I use Ajax and if yes how?


You may take a look at the following blog post. It was written for ASP.NET MVC 2, but it is very good and those notions still apply in ASP.NET MVC 3. Adapting it to Razor would be trivial.

0

精彩评论

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