Transfer of data from gridview to webform [Resolved]

Posted by Rasagna under ASP.NET on 12/29/2015 | Points: 10 | Views : 266 | Status : [Member] | Replies : 1
I have a case where i used a web form to insert data into database and display it in gridview.Now i want to display the information of a specific record obtained from gridview in the same webform for updating purpose.when we click update or edit link pertaining to that record(Id column is the primary key) then it must redirect to the webform with information pertaining to that record populated in it.


Posted by: Sheonarayan on: 12/29/2015 [Administrator] HonoraryPlatinum | Points: 50


This is very simple and explained in few of my articles. Read this article that has complete downloadable source code as well as explanations of how it works.

If you do not want to follow 3-tier architecture (which I strongly recommend), you may prefer to write data access, business access code also in code behind page.


Sheo Narayan

Rasagna, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response