Hi,

can you please help me transfer this code from vb4 to vb.net...i have read everything but nothing helped me...there are somethings about how to check EOF but there is nothing for BOF...

thank you very much...here's the code in vb4

If (Evidset.EOF and Evidset.BOF) then
Tmes = Month(Now)
Tgod=Year(Now)
else
Tmes=Evidset.tables("tblEvidencija").Rows(red)("mesec")
Tgod=Evidset.tables("tblEvidencija").Rows(red)("god")

'Evidset in the name of the dataset

Learn the collection framework classes and DataSet classes.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.