summaryrefslogtreecommitdiffstats
path: root/samples/ServiceProvider/Default.aspx
diff options
context:
space:
mode:
Diffstat (limited to 'samples/ServiceProvider/Default.aspx')
-rw-r--r--samples/ServiceProvider/Default.aspx6
1 files changed, 3 insertions, 3 deletions
diff --git a/samples/ServiceProvider/Default.aspx b/samples/ServiceProvider/Default.aspx
index 3f77815..67efe3a 100644
--- a/samples/ServiceProvider/Default.aspx
+++ b/samples/ServiceProvider/Default.aspx
@@ -6,9 +6,9 @@
<script runat="server">
protected void createDatabaseButton_Click(object sender, EventArgs e) {
- string dbPath = Path.Combine(Server.MapPath(Request.ApplicationPath), "App_Data");
- if (!Directory.Exists(dbPath)) {
- Directory.CreateDirectory(dbPath);
+ string dbPath = Path.Combine(Server.MapPath(Request.ApplicationPath), "App_Data");
+ if (!Directory.Exists(dbPath)) {
+ Directory.CreateDirectory(dbPath);
}
string connectionString = ConfigurationManager.ConnectionStrings["DatabaseConnectionString"].ConnectionString.Replace("|DataDirectory|", dbPath);
var dc = new DataClassesDataContext(connectionString);