Here Mudassar Ahmed Khan has explained with an example, how to bind (populate) GridView using Session data in ASP.Net using C# and VB.Net.
The concept is to create a dynamic DataTable, save it to Session and bind it to GridView.
Later whenever a new row is added, the DataTable is fetched from Session, it is updated and then again used to bind the GridView.
↧