JQGrid: open a customised form on click of 'Edit' button and after editing selected row should get refreshed into grid

JQGrid: open a customised form on click of 'Edit' button and after editing selected row should get refreshed into grid

Hello,
I need to open a customised form on click of 'Edit' button which is present on each row of jqGird. Here I know that, I have to open this form on event called 'OnEdit'. To a customised form I will pass information of selected row so that I can edit my information and then I will click on 'Save'  button present on my form. 

On click of 'Save' button following things should be happend :
1. All modified data will get inserted in database.  
2 Selected row should be updated with modified value. 

Please tell me how I can do this. Also let me know your suggestions.

Let know your questions as well.

Note : I am using ASP .Net MVC website.

Thank You