Perhaps, it’s true 🙂 (and hopefully just momentary…)
I have LOST MY MIND!
this works just fine:Dim conn As SqlClient.SqlConnection = New SqlClient.SqlConnection(“server=myserver;Trusted_Connection=True;Database=pubs”)Dim cmd As SqlClient.SqlCommand = New SqlClient.SqlCommand(“select * from authors”, conn)Dim da As New SqlDataAdapter(cmd)Dim ds As New DataSet
da.Fill(ds)Dim ds2 As New DataSetDim t As DataTable = ds.Tables(0).Copy
what happened to the “DataTable belongs to another dataset“ exception? Was it only in 1.0 and I just never tried it again with 1.1? I know I struggled with this forever a long time ago.
oh do I need a vacation.
Rather than just searching for workarounds or whining about this problem in my blog, I have submitted a suggestion in the Product Feedback Center. If you think this will help you, go vote on it . If you think this is a stupid idea, go vote on it .
Sign up for my newsletter so you don't miss my conference & Pluralsight course announcements!