I have a paged gridview. I want to get the text of every row and put that text into an array. However, I only get the text for the visible rows, not the entire dataset. I can't just get the data from the datasource because the gridview is populated by two different databases. How could I get every row's text - visible or not visible? I'm trying to put the text in an array as follows:
Protected Sub GridView1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles GridView1.Load
    For j As Integer = 0 To GridView1.Rows.Count - 1
        If GridView1.Rows(j).Cells(3).Text = "Yes" Then
            loginoper = loginoper & GridView1.Rows(j).Cells(1).Text & ","
        Else
            logoutoper = logoutoper & GridView1.Rows(j).Cells(1).Text & ","
        End If
    Next
End Sub