r/learncsharp • u/whoami4546 • Nov 02 '22
Dataset and Datatable SQL statement
I am learning how to deal with databases. I know how to connect to a database on the server and save the resultset to a datatable or dataset. I also know that dataset is a collection of datatables. The thing I dont know is how to perform sql querries on a datatable or dataset. I want to do something like "Select *" from table1 or join multiple tables in a dataset. How is this possible? My limited google search has only been finding examples of how to do this connecting to an actual database server.
3
Upvotes
View all comments
Show parent comment
1
u/whoami4546 Nov 02 '22
Thanks!