[RESOLVED]how to add,edit,delete records using gridview in mvc .I want to use dropdown list ,radio button inside grid

Hi

i want to  add,edit,delete records using gridview in mvc .I want to use dropdown list ,radio button inside grid.

Also I want to use dropdownlist  to fetch data from database in cshtml page.

Please help me.

Thanks and Regards

chandran

You can’t use gridview in asp.net MVC, which is a server control avail in ASP.Net WebForm applications.

In MVC, you can go with the "webgrid" as the previous poster said.

Hi rchandran.nr,

Thanks for your post.

According to your description,

rchandran.nr

how to add,edit,delete records using gridview in mvc .I want to use dropdown list ,radio button i

As community member mentioned,there’s no server control(Gridview) in mvc,you can use webgrid,please refer to this:

Inline Editing With the WebGrid in ASP.NET MVC 4

And you can check this:http://msprogrammer.serviciipeweb.ro/2011/12/05/jquery-ajax-request-and-mvcdetailed/

Hope this can be helpful.

Best Regards,

Eileen

Leave a Reply