How to set the connectionstring
I am curious how to setup the connection string in SPARK. I tried..
I'm missing something? pls help
Archie Jocson, Jul 17, 2015
Look at the Art shop example.
The file Data.cs is where your connection string is specified.
In the example it is "Art", but you can name it anything you like as along as it matches the connectionstring name in web.config.
SPARK uses a naming convention.
Suppose your project is named 'Work'. (a short name is best).
Essentially replace all instance of the word 'Art' with 'Work' (or whatever your name is.
Here is your Data.cs file where the connectionstring name is set:
That will take care of it.
Jack Poorte, Jul 18, 2015