hi al..
am a beginner for vb.net, i was using the WROX book to start of with vb.net.In that i had an example code which i tried to work out but i got an error like this one ,am jus creating an array and adding it into the list
value cannot be null.Parameter name:item
plz do help me with ur replies
dim stname(4) as string
private sub form1_load() me.load
stname(0)="naresh"
stname(0)="ezhil"
stname(0)="balaji"
stname(0)="srinath"
end sub
private sub btn_click()
for each n as string in stname
lstData.Items.Add(n) <-------------------- at tis point am getting the error
next
end sub