By default gridview will display data from database.once the user clicks the edit button whole gird or particular row shuld be converted into editable gridveiw or textboxes.
How to add a control field to gridview in .net 3.0 or XAML or WPF which performs the same functionality as in ASP .net 2.0