Advertisement
Guest User

Untitled

a guest
Mar 5th, 2015
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. Structure abb
  2. Public publications As String
  3. Public author As String
  4. Public title As String
  5. End Structure
  6.  
  7. Public arlist As New ArrayList
  8. Public thebooks As New abb
  9.  
  10. For i As Integer = 0 To Databook.Rows.Count - 2 'databook is the gridview
  11. With thebooks
  12. .publications = CStr(Databook.Rows(i).Cells(1).Value)
  13. .author = CStr(Databook.Rows(i).Cells(2).Value)
  14. .title = CStr(Databook.Rows(i).Cells(3).Value)
  15. End With
  16. If Not arlist .Contains(thebooks) Then
  17. arlist .Add(thebooks)
  18. End If
  19. Next i
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement