R
Ross
MyWebProject.MyWebForm1.someset.somedata is a datatable
within a dataset. Displays quite nicely, too. Now I want
to use the same data in MyWebProject.MyWebForm2. Being a
old, er, experienced Java programmer, I thought I could
write this as a member of MyWebForm1:
Public Shared Function getSomeData() As DataTable
getSomeData = somedata
End Function
so in MyWebForm2 I could have:
Dim quelquedata As DataTable
quelquedata = MyWebForm1.getSomeData()
Could someone point out how to accomplish this the RIGHT
way, as the above clearly doesn't work?
within a dataset. Displays quite nicely, too. Now I want
to use the same data in MyWebProject.MyWebForm2. Being a
old, er, experienced Java programmer, I thought I could
write this as a member of MyWebForm1:
Public Shared Function getSomeData() As DataTable
getSomeData = somedata
End Function
so in MyWebForm2 I could have:
Dim quelquedata As DataTable
quelquedata = MyWebForm1.getSomeData()
Could someone point out how to accomplish this the RIGHT
way, as the above clearly doesn't work?