Edit Method

How can i Update the value in the form grid using edit() method in ax??

You need to explain better your answer.

look at map custVendTable method editContactPersonName

when i select the value in form grid and enter the value in TextBox that should updated on the selected Grid in form by using Edit method??

You don’t need any code for it. Just bind the control to the same field. You can see it everywhere in AX - many forms have a grid with a few fields, plus tabs containing details for the currently selected record.