B
Bob Day
Using vs2003, vb net.
Why does DS>DataSetName return the base name DS_Caller_Base instead of the
instantiated Name of DataSet1? See '**** for the line in question.
Friend sub1
' instantiate new dataset
dim DataSet1 as new DS_Caller_Base
' pass new dataset to sub2
sub2(DataSet1)
end sub
Friend sub2(ByRef DS As DS_Caller_Base)
' Note that the DataSetName below give its base name (not sure why),
instead of the name of the passed instantiated dataset.
dim x as string = DS.DataSetName '*****************
' why does x = DS_Caller_Base and not x = DataSet1
end sub
Thanks!
Bob
Why does DS>DataSetName return the base name DS_Caller_Base instead of the
instantiated Name of DataSet1? See '**** for the line in question.
Friend sub1
' instantiate new dataset
dim DataSet1 as new DS_Caller_Base
' pass new dataset to sub2
sub2(DataSet1)
end sub
Friend sub2(ByRef DS As DS_Caller_Base)
' Note that the DataSetName below give its base name (not sure why),
instead of the name of the passed instantiated dataset.
dim x as string = DS.DataSetName '*****************
' why does x = DS_Caller_Base and not x = DataSet1
end sub
Thanks!
Bob