So for a rundown of my problem, I am working for a company that uses SQL and Visual Studio, and I am in training since I have never used SQL before. The way they said that they connect to the SQL server using ADO.Net, however as I have been researching, there are a lot of different ways to go about doing this.
My question is, in a Console Application, if I already have a connection string and I do not need to build one, how do I connect to SQL that doesn't use an Entity Frame work or uses LINQ to SQL?
SqlConnectionobject when you initialize it. DocdataAdapterfills aDataTablewhich is great forDataGridViews. There is adataReaderwhich would allow you to get the info while in a loop.