Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an old project demo to play around with. Now I have a question on how to use this dataset. It looks like this dataset is added by inserting a new item menu and selecting dataset class.

This dataset has one datatable defined in it. Here are the screenshots:

  1. dataset
  2. datatable inside it

I searched around and cannot find a good example on how to use this kind of usage.

Please help me with this. Thanks a million!

What I have tried:

I searched around and cannot find a good example on how to use this kind of dataset.
Posted
Updated 12-Sep-23 11:45am
v2

That's a really old project. You're not going to find anything on it because that's the really old designer generated code used by old versions of Visual Studio, like 2010 and older, I think.
 
Share this answer
 
Comments
Southmountain 12-Sep-23 1:59am    
no wonder I can not find much useful info. thanks for the info!
That's a "typed DataSet":
Typed DataSets - ADO.NET | Microsoft Learn[^]
Typed vs. untyped datasets - Visual Studio (Windows) | Microsoft Learn[^]

As far as I can see, they should work fine in .NET Framework projects, but I don't think they've ever worked in .NET Core / .NET 5+ projects.
 
Share this answer
 
Comments
Southmountain 12-Sep-23 14:43pm    
thank you for the links!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900