diff --git a/Test_App/Ressources/Students.json b/Test_App/Ressources/Students.json
new file mode 100644
index 0000000..2018754
--- /dev/null
+++ b/Test_App/Ressources/Students.json
@@ -0,0 +1,8 @@
+[
+ {
+ "ID": "1",
+ "Question": "John Doe",
+ "Answer": "Male"
+
+ }
+]
\ No newline at end of file
diff --git a/Test_App/Test_App.csproj b/Test_App/Test_App.csproj
index e7fbf4a..ef4657a 100644
--- a/Test_App/Test_App.csproj
+++ b/Test_App/Test_App.csproj
@@ -138,6 +138,7 @@
SettingsSingleFileGenerator
Settings.Designer.cs
+
diff --git a/Test_App/Views/Database.xaml b/Test_App/Views/Database.xaml
index ff69635..98c596d 100644
--- a/Test_App/Views/Database.xaml
+++ b/Test_App/Views/Database.xaml
@@ -6,35 +6,41 @@
xmlns:local="clr-namespace:Test_App.Views"
mc:Ignorable="d"
d:DesignHeight="525" d:DesignWidth="602">
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
diff --git a/Test_App/Views/Database.xaml.cs b/Test_App/Views/Database.xaml.cs
index 639fb19..bd1dca7 100644
--- a/Test_App/Views/Database.xaml.cs
+++ b/Test_App/Views/Database.xaml.cs
@@ -20,13 +20,34 @@ namespace Test_App.Views
///
public partial class Database : Page
{
-
+
public Database()
{
InitializeComponent();
-
-
+ OutputJson();
+
}
+ public void OutputJson()
+
+ {
+ string json = "";
+ var webclient = new System.Net.WebClient();
+ webclient.Encoding = Encoding.UTF8;
+ try
+ {
+ json = webclient.DownloadString("https://git.weifer.org/weifer/Pruefungskatalog/raw/branch/master/assets/questions_answers.json");
+ }
+ catch (System.Net.WebException e)
+ {
+ throw e;
+ }
+
+
+ datalist.ItemsSource = Newtonsoft.Json.JsonConvert.DeserializeObject>(json);
+ }
+
}
}
+
+
diff --git a/Test_App/Views/Start.xaml.cs b/Test_App/Views/Start.xaml.cs
index 95b0d42..505fa8d 100644
--- a/Test_App/Views/Start.xaml.cs
+++ b/Test_App/Views/Start.xaml.cs
@@ -1,4 +1,5 @@
-using Newtonsoft.Json;
+
+using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;