P
Patrick Sullivan
Hi,
I am trying to learn to use typed datasets with VB/ADO.Net 2003 and SQL
2000. I've looked at some examples from the 101 VB samples, specifically the
"how-to typed dataset" that shows two datasets, one regular and one typed.
When I try to do similar my code does not look the same:
the how-to sample says:
"Private tdsNorthwind As Northwind", then later "tdsNorthwind = New
Northwind()".
When I do "mytds AS tds" and then later, "mytds = New tds()" the VB editor
removes the (). I've seen weird behavior like this before in VB.Net, but it
was a while back, and it still seemed to work, from what I recall. But I am
a C programmer and it really seems weird to me that () can be removed and
still work. TIA!
Oh, also, what is a good source for learning MS's .Net typed datasets
syntax? The stuff I have seen in MSDN library and the 1010 samples is pretty
basic.
I am trying to learn to use typed datasets with VB/ADO.Net 2003 and SQL
2000. I've looked at some examples from the 101 VB samples, specifically the
"how-to typed dataset" that shows two datasets, one regular and one typed.
When I try to do similar my code does not look the same:
the how-to sample says:
"Private tdsNorthwind As Northwind", then later "tdsNorthwind = New
Northwind()".
When I do "mytds AS tds" and then later, "mytds = New tds()" the VB editor
removes the (). I've seen weird behavior like this before in VB.Net, but it
was a while back, and it still seemed to work, from what I recall. But I am
a C programmer and it really seems weird to me that () can be removed and
still work. TIA!
Oh, also, what is a good source for learning MS's .Net typed datasets
syntax? The stuff I have seen in MSDN library and the 1010 samples is pretty
basic.