Hi dharmendr,
Thank you for your help. This is what i finally came up with and it worked:
Page1.aspx
Private Sub PassGridInfo()
Dim dt As New DataTable()
Dim dr As DataRow
dt.Columns.Add(New System.Data.DataColumn("ItemName", GetType([String])))
dt.Columns.Add(New System.Data.DataColumn("QTYOrdered", GetType([String])))
For Each row As GridViewRow In GridView1.Rows
Dim itemname As String = row.Cells(1).Text
Dim Qty As Label = DirectCast(row.FindControl("lblQty"), Label)
dr = dt.NewRow()
dr(0) = itemname
dr(1) = Qty.Text
dt.Rows.Add(dr)
Next
Session("Data") = dt
Response.Redirect("page2.aspx")
End Sub
Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
PassGridInfo()
End Sub
Page2.aspx
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
If Session("Data") IsNot Nothing Then
GridView1.DataSource = Session("Data")
GridView1.DataBind()
End If
End If
End Sub