Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27329

list (of ) how to change a item

$
0
0
hi
on the form load I make a list of t
By the start of the program I don't give value for the ontlenerid
Is it possible that I change the value of the ontlenerid of lijstboeken(0) for example when I pres change button
What is the code to change
and must I rewrite it on the same index
vb.net Code:
  1. Public LijstBoeken As List(Of Boek)
  2.  LijstBoeken = New List(Of Boek)({
  3.                                             New Boek("B1", "A1", Boek.genre.Detective),
  4.                                             New Boek("B2", "A2 ", Boek.genre.Detective)}
  5.  Public Property OntlenerID As Integer
  6.     Public Property Titel As String
  7.     Public Property Auteur As String
  8.     Public Property MainGenre As genre ' avoid variable name clashes

Viewing all articles
Browse latest Browse all 27329

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>