Howdy,
I'm fine with writing a GridView to a CSV file as long as there is not a HyperLinkField in my GridView. When trying to export a GridView with HyperLinkFields to a CSV, however, my HyperLinkFields simply appear blank in my CSV. I'm writing the CSV rows as such:
vb.net Code:
  1. For i As Integer = 0 To gv.Rows.Count - 1 Step 1
  2.     For j As Integer = 0 To gv.Columns.Count - 1 Step 1
  3.         sw.Write("""" & gv.Rows(i).Cells(j).Text & """")
  4.  
  5.         If j < gv.Columns.Count - 1 Then
  6.             sw.Write(",")
  7.         End If
  8.     Next j
  9.  
  10.     sw.WriteLine()
  11. Next i
When I come upon a HyperLinkField cell, what property am I looking for that will write the text to the CSV? Can you give me a push in the right direction?

Thanks!