C# Winform: Inline datagridview edit : <p>initially my <code>datagridview</code> would look like below </p>

<pre><code>ID      Name        City        Action
------  ------      ----        ------
1       Mitch       Kolkata     Edit
2       Simon       Delhi       Edit
3       Poly        Madras      Edit
</code></pre>

<p>all data will be in read only format. so user can not change but when user click on edit button then a textbox will be placed in name column and a city <code>dropdown</code> will be placed on city column on a row whose edit button will be clicked by user.</p>

<p>when user click on edit button then edit button text will be change to Save and when user click on Save button then save button text will be change to Edit. so guide me how to achieve in line edit functionality when working with <code>datagridview</code>. thanks</p>
