Jump to content


Code sample to populate a DataSet


  • Please log in to reply
2 replies to this topic

#1 Guest_Geri_*

Guest_Geri_*
  • Guests

Posted 28 January 2005 - 07:12 AM

I\'m looking for a code sample to populate a dataset. I\'ve tried this:

Dim vols As V_VolunteerCollection
Dim objFactory As V_VolunteerFactory
Dim volsDS As DataSet
volsDS = objFactory.GetDataSet()

and it\'s not working. Any help is greatly appreciated.

Thank you,

#2 Guest_Paul_*

Guest_Paul_*
  • Guests

Posted 28 January 2005 - 07:13 AM

You need to use the following code snippet to populate DataSet.

Dim volsDS as DataSet
volsDS = objFactory.FindByIdDS("123")

If the above code is not what you want then please do let me know with some details like what exactly do you want to do?

#3 Guest_Geri_*

Guest_Geri_*
  • Guests

Posted 28 January 2005 - 07:14 AM

Thanks, I will try this.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users