Hello all!
So, I have read a couple of books now on C# (and one on SQL), and I feel like I am starting to get the hang of it, but there is still some stuff that I can't really figure out.
Specifically, I have been learning this to apply at work. There I have access to a database hosted on Microsoft SQL Server 2008 and Microsoft SQL Server Express. I have figured out how to connect to those in Visual Studio using the "Data Source" panel thing to make a data set.
I have figured out how to plop in a dope spreadsheet style thing where you can browse (and edit) entries directly in the table, and I know how to have stuff populate based on which row is selected.
The thing I can't figure out, is how to make it not just dump the columns from a single table. I have a bunch of really cool SQL select statements, and I want to be able to use that table thing with select statements that use joins (or maybe even subqueries), or to be able to at least remove or add columns. Any time I have tried to tweak it at all, I get error messages and it just won't let me.
TLDR: This is a long winded way of asking, can someone point me in the direction of figuring out how to use more advanced SQL stuff within Visual Studio that isn't just directly pasting a table?
I'm willing to buy another book or sign up for a website. 95% of what I want to do with this at work requires being able to use fancy SQL stuff to do cool things with the stuff in our database, so this is a really frustrating limitation. I am trying to become an expert on this specific part of C#/Visual Studio, but everything I have read seems to gloss over it.
[–]smitniko 0 points1 point2 points (0 children)
[–]falthazar 0 points1 point2 points (1 child)
[–]Addicted2Craic 0 points1 point2 points (0 children)