How via C# can I query a SQL table for carName and store all results in a C# string Array variable? So something like:
(I know this isn't actual syntax) -- just needing an example of how to perform this action
string[] carName = "Select carName from OnsiteCars";
Loading
VulpesPosted Feb 20, 2013, 5:43 AM
The error message suggests that there's a problem in this regard at present.
VulpesPosted Feb 20, 2013, 1:57 PM
richard smithPosted Feb 20, 2013, 11:58 AM
richard smithPosted Feb 19, 2013, 9:04 PM
How would I modify it to hold 2 variables so carName and also carMake? Or would I need two individual select statements?
And I am getting a compile error of not all code paths return a value?
VulpesPosted Feb 19, 2013, 5:18 AM