This commit is contained in:
2022-05-09 15:49:30 +02:00
parent c9f53a5d84
commit 0b97eb8780
3 changed files with 357 additions and 280 deletions

308
Form1.Designer.cs generated
View File

@@ -29,164 +29,184 @@ namespace it_projekt
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.loginBtn = new System.Windows.Forms.Button(); this.loginBtn = new System.Windows.Forms.Button();
this.searchBtn = new System.Windows.Forms.Button(); this.exportBtn = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label();
this.userTxt = new System.Windows.Forms.TextBox(); this.userTxt = new System.Windows.Forms.TextBox();
this.passTxt = new System.Windows.Forms.TextBox(); this.passTxt = new System.Windows.Forms.TextBox();
this.sqlTxt = new System.Windows.Forms.TextBox(); this.dataGrid = new System.Windows.Forms.DataGridView();
this.dataGrid = new System.Windows.Forms.DataGridView(); this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.firstname = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.firstname = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.lastname = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.lastname = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.creationDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.creationDate = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.markItem = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.markItem = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.jsonRBtn = new System.Windows.Forms.RadioButton();
((System.ComponentModel.ISupportInitialize)(this.dataGrid)).BeginInit(); this.xmlRBtn = new System.Windows.Forms.RadioButton();
this.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGrid)).BeginInit();
// this.SuspendLayout();
// loginBtn //
// // loginBtn
this.loginBtn.Location = new System.Drawing.Point(265, 184); //
this.loginBtn.Name = "loginBtn"; this.loginBtn.Location = new System.Drawing.Point(271, 80);
this.loginBtn.Size = new System.Drawing.Size(75, 23); this.loginBtn.Name = "loginBtn";
this.loginBtn.TabIndex = 0; this.loginBtn.Size = new System.Drawing.Size(75, 23);
this.loginBtn.Text = "Login"; this.loginBtn.TabIndex = 0;
this.loginBtn.UseVisualStyleBackColor = true; this.loginBtn.Text = "Login";
this.loginBtn.Click += new System.EventHandler(this.loginBtn_Click); this.loginBtn.UseVisualStyleBackColor = true;
// this.loginBtn.Click += new System.EventHandler(this.loginBtn_Click);
// searchBtn //
// // exportBtn
this.searchBtn.Location = new System.Drawing.Point(708, 184); //
this.searchBtn.Name = "searchBtn"; this.exportBtn.Location = new System.Drawing.Point(480, 80);
this.searchBtn.Size = new System.Drawing.Size(75, 23); this.exportBtn.Name = "exportBtn";
this.searchBtn.TabIndex = 1; this.exportBtn.Size = new System.Drawing.Size(75, 23);
this.searchBtn.Text = "Suchen!"; this.exportBtn.TabIndex = 1;
this.searchBtn.UseVisualStyleBackColor = true; this.exportBtn.Text = "Exportieren!";
this.searchBtn.Click += new System.EventHandler(this.searchBtn_Click); this.exportBtn.UseVisualStyleBackColor = true;
// this.exportBtn.Click += new System.EventHandler(this.exportBtn_Click);
// label1 //
// // label1
this.label1.AutoSize = true; //
this.label1.Location = new System.Drawing.Point(31, 58); this.label1.AutoSize = true;
this.label1.Name = "label1"; this.label1.Location = new System.Drawing.Point(31, 58);
this.label1.Size = new System.Drawing.Size(83, 15); this.label1.Name = "label1";
this.label1.TabIndex = 2; this.label1.Size = new System.Drawing.Size(83, 15);
this.label1.Text = "Benutzername"; this.label1.TabIndex = 2;
// this.label1.Text = "Benutzername";
// label2 //
// // label2
this.label2.AutoSize = true; //
this.label2.Location = new System.Drawing.Point(31, 84); this.label2.AutoSize = true;
this.label2.Name = "label2"; this.label2.Location = new System.Drawing.Point(31, 84);
this.label2.Size = new System.Drawing.Size(54, 15); this.label2.Name = "label2";
this.label2.TabIndex = 3; this.label2.Size = new System.Drawing.Size(54, 15);
this.label2.Text = "Passwort"; this.label2.TabIndex = 3;
// this.label2.Text = "Passwort";
// userTxt //
// // userTxt
this.userTxt.Location = new System.Drawing.Point(120, 55); //
this.userTxt.Name = "userTxt"; this.userTxt.Location = new System.Drawing.Point(120, 55);
this.userTxt.Size = new System.Drawing.Size(100, 23); this.userTxt.Name = "userTxt";
this.userTxt.TabIndex = 4; this.userTxt.Size = new System.Drawing.Size(100, 23);
// this.userTxt.TabIndex = 4;
// passTxt //
// // passTxt
this.passTxt.Location = new System.Drawing.Point(120, 80); //
this.passTxt.Name = "passTxt"; this.passTxt.Location = new System.Drawing.Point(120, 80);
this.passTxt.Size = new System.Drawing.Size(100, 23); this.passTxt.Name = "passTxt";
this.passTxt.TabIndex = 5; this.passTxt.Size = new System.Drawing.Size(100, 23);
// this.passTxt.TabIndex = 5;
// sqlTxt //
// // dataGrid
this.sqlTxt.Location = new System.Drawing.Point(358, 12); //
this.sqlTxt.Multiline = true; this.dataGrid.AllowUserToOrderColumns = true;
this.sqlTxt.Name = "sqlTxt"; this.dataGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.sqlTxt.Size = new System.Drawing.Size(335, 195); this.dataGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.sqlTxt.TabIndex = 6; this.Id,
// this.firstname,
// dataGrid this.lastname,
// this.creationDate,
this.dataGrid.AllowUserToOrderColumns = true; this.markItem});
this.dataGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGrid.Location = new System.Drawing.Point(12, 109);
this.dataGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dataGrid.Name = "dataGrid";
this.Id, this.dataGrid.RowTemplate.Height = 25;
this.firstname, this.dataGrid.Size = new System.Drawing.Size(543, 225);
this.lastname, this.dataGrid.TabIndex = 7;
this.creationDate, this.dataGrid.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGrid_CellContentClick);
this.markItem}); //
this.dataGrid.Location = new System.Drawing.Point(12, 213); // Id
this.dataGrid.Name = "dataGrid"; //
this.dataGrid.RowTemplate.Height = 25; this.Id.HeaderText = "NutzerId";
this.dataGrid.Size = new System.Drawing.Size(771, 225); this.Id.Name = "Id";
this.dataGrid.TabIndex = 7; this.Id.ReadOnly = true;
this.dataGrid.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGrid_CellContentClick); //
// // firstname
// Id //
// this.firstname.HeaderText = "Vorname";
this.Id.HeaderText = "NutzerId"; this.firstname.Name = "firstname";
this.Id.Name = "Id"; this.firstname.ReadOnly = true;
this.Id.ReadOnly = true; //
// // lastname
// firstname //
// this.lastname.HeaderText = "Nachname";
this.firstname.HeaderText = "Vorname"; this.lastname.Name = "lastname";
this.firstname.Name = "firstname"; this.lastname.ReadOnly = true;
this.firstname.ReadOnly = true; //
// // creationDate
// lastname //
// this.creationDate.HeaderText = "Erstellungssdatum";
this.lastname.HeaderText = "Nachname"; this.creationDate.Name = "creationDate";
this.lastname.Name = "lastname"; this.creationDate.ReadOnly = true;
this.lastname.ReadOnly = true; //
// // markItem
// creationDate //
// this.markItem.HeaderText = "User Auswählen";
this.creationDate.HeaderText = "Erstellungssdatum"; this.markItem.Name = "markItem";
this.creationDate.Name = "creationDate"; //
this.creationDate.ReadOnly = true; // jsonRBtn
// //
// markItem this.jsonRBtn.AutoSize = true;
// this.jsonRBtn.Location = new System.Drawing.Point(380, 54);
this.markItem.HeaderText = "User Auswählen"; this.jsonRBtn.Name = "jsonRBtn";
this.markItem.Name = "markItem"; this.jsonRBtn.Size = new System.Drawing.Size(53, 19);
// this.jsonRBtn.TabIndex = 8;
// Form1 this.jsonRBtn.TabStop = true;
// this.jsonRBtn.Text = "JSON";
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); this.jsonRBtn.UseVisualStyleBackColor = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.jsonRBtn.CheckedChanged += new System.EventHandler(this.jsonRBtn_CheckedChanged);
this.ClientSize = new System.Drawing.Size(800, 450); //
this.Controls.Add(this.dataGrid); // xmlRBtn
this.Controls.Add(this.sqlTxt); //
this.Controls.Add(this.passTxt); this.xmlRBtn.AutoSize = true;
this.Controls.Add(this.userTxt); this.xmlRBtn.Location = new System.Drawing.Point(380, 80);
this.Controls.Add(this.label2); this.xmlRBtn.Name = "xmlRBtn";
this.Controls.Add(this.label1); this.xmlRBtn.Size = new System.Drawing.Size(49, 19);
this.Controls.Add(this.searchBtn); this.xmlRBtn.TabIndex = 9;
this.Controls.Add(this.loginBtn); this.xmlRBtn.TabStop = true;
this.Name = "Form1"; this.xmlRBtn.Text = "XML";
this.Text = "Form1"; this.xmlRBtn.UseVisualStyleBackColor = true;
((System.ComponentModel.ISupportInitialize)(this.dataGrid)).EndInit(); this.xmlRBtn.CheckedChanged += new System.EventHandler(this.xmlRBtn_CheckedChanged);
this.ResumeLayout(false); //
this.PerformLayout(); // Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(559, 336);
this.Controls.Add(this.xmlRBtn);
this.Controls.Add(this.jsonRBtn);
this.Controls.Add(this.dataGrid);
this.Controls.Add(this.passTxt);
this.Controls.Add(this.userTxt);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.exportBtn);
this.Controls.Add(this.loginBtn);
this.Name = "Form1";
this.Text = "Form1";
this.Load += new System.EventHandler(this.Form1_Load);
((System.ComponentModel.ISupportInitialize)(this.dataGrid)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
} }
#endregion #endregion
private System.Windows.Forms.Button loginBtn; private System.Windows.Forms.Button loginBtn;
private System.Windows.Forms.Button searchBtn; private System.Windows.Forms.Button exportBtn;
private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2; private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox userTxt; private System.Windows.Forms.TextBox userTxt;
private System.Windows.Forms.TextBox passTxt; private System.Windows.Forms.TextBox passTxt;
private System.Windows.Forms.TextBox sqlTxt;
private System.Windows.Forms.DataGridView dataGrid; private System.Windows.Forms.DataGridView dataGrid;
private System.Windows.Forms.DataGridViewTextBoxColumn Id; private System.Windows.Forms.DataGridViewTextBoxColumn Id;
private System.Windows.Forms.DataGridViewTextBoxColumn firstname; private System.Windows.Forms.DataGridViewTextBoxColumn firstname;
private System.Windows.Forms.DataGridViewTextBoxColumn lastname; private System.Windows.Forms.DataGridViewTextBoxColumn lastname;
private System.Windows.Forms.DataGridViewTextBoxColumn creationDate; private System.Windows.Forms.DataGridViewTextBoxColumn creationDate;
private System.Windows.Forms.DataGridViewCheckBoxColumn markItem; private System.Windows.Forms.DataGridViewCheckBoxColumn markItem;
private System.Windows.Forms.RadioButton jsonRBtn;
private System.Windows.Forms.RadioButton xmlRBtn;
} }
} }

166
Form1.cs
View File

@@ -1,62 +1,104 @@
using MySql.Data.MySqlClient; using System;
using System; using System.Collections.Generic;
using System.Collections.Generic; using System.IO;
using System.ComponentModel; using System.Text;
using System.Data; using System.Text.Json;
using System.Drawing; using System.Windows.Forms;
using System.Linq;
using System.Text;
using System.Threading.Tasks; namespace it_projekt
using System.Windows.Forms; {
public partial class Form1 : Form
{
namespace it_projekt
{ private Database db = null;
public partial class Form1 : Form public Form1()
{ {
public Form1() InitializeComponent();
{ }
InitializeComponent();
}
private void exportBtn_Click(object sender, EventArgs e)
{
private void searchBtn_Click(object sender, EventArgs e) exportJSON();
{ }
foreach(DataGridViewRow row in dataGrid.Rows)
{ private void loginBtn_Click(object sender, EventArgs e)
List<int> markedUsers = new List<int>(); {
if (row.Cells[4].Value != null) LoadUsersFromTable(this.userTxt.Text, this.passTxt.Text);
{ }
if (row.Cells[4].Value.ToString() == "True")
{
MessageBox.Show("geht");
} public void LoadUsersFromTable(string user, string password)
} {
if (db == null)
{
} db = new Database(user, password);
}
} foreach (Person person in db.Persons)
{
private void loginBtn_Click(object sender, EventArgs e) this.dataGrid.Rows.Add(person.Id, person.Firstname, person.Lastname, person.CreationDate, false);
{ }
LoadUsersFromTable(userTxt.Text,passTxt.Text); }
}
private void dataGrid_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
public void LoadUsersFromTable(string user, string password) }
{
Database db = new Database(user, password); private void exportJSON()
foreach (Person person in db.Persons) {
{ Stream myStream;
this.dataGrid.Rows.Add(person.Id, person.Firstname, person.Lastname, person.CreationDate, false); SaveFileDialog saveFileDialog1 = new SaveFileDialog();
}
} saveFileDialog1.Filter = "All files (*.*)|*.*|json files (*.json)|*.json";
saveFileDialog1.FilterIndex = 2;
private void dataGrid_CellContentClick(object sender, DataGridViewCellEventArgs e) saveFileDialog1.RestoreDirectory = true;
{ saveFileDialog1.FileName = "benutzer.json";
} if (saveFileDialog1.ShowDialog() == DialogResult.OK)
} {
} if ((myStream = saveFileDialog1.OpenFile()) != null)
{
List<Person> markedUsers = new List<Person>();
foreach (DataGridViewRow row in dataGrid.Rows)
{
if (row.Cells[4].Value != null)
{
if (row.Cells[4].Value.ToString() == "True")
{
markedUsers.Add(db.Persons.Find(person => person.Id == row.Cells[0].Value.ToString()));
}
}
}
string json = JsonSerializer.Serialize(markedUsers);
StreamWriter sw = new StreamWriter(myStream);
sw.Write(json);
sw.Flush();
sw.Close();
myStream.Close();
}
}
}
private void Form1_Load(object sender, EventArgs e)
{
}
private void jsonRBtn_CheckedChanged(object sender, EventArgs e)
{
xmlRBtn.Checked = false;
if (!jsonRBtn.Checked)
jsonRBtn.Checked = true;
}
private void xmlRBtn_CheckedChanged(object sender, EventArgs e)
{
xmlRBtn.Checked = false;
if (!xmlRBtn.Checked)
xmlRBtn.Checked = true;
}
}
}

View File

@@ -1,75 +1,90 @@
<root> <root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true"> <xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType> <xsd:complexType>
<xsd:choice maxOccurs="unbounded"> <xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata"> <xsd:element name="metadata">
<xsd:complexType> <xsd:complexType>
<xsd:sequence> <xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" /> <xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence> </xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" /> <xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" /> <xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" /> <xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" /> <xsd:attribute ref="xml:space" />
</xsd:complexType> </xsd:complexType>
</xsd:element> </xsd:element>
<xsd:element name="assembly"> <xsd:element name="assembly">
<xsd:complexType> <xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" /> <xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" /> <xsd:attribute name="name" type="xsd:string" />
</xsd:complexType> </xsd:complexType>
</xsd:element> </xsd:element>
<xsd:element name="data"> <xsd:element name="data">
<xsd:complexType> <xsd:complexType>
<xsd:sequence> <xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence> </xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" /> <xsd:attribute ref="xml:space" />
</xsd:complexType> </xsd:complexType>
</xsd:element> </xsd:element>
<xsd:element name="resheader"> <xsd:element name="resheader">
<xsd:complexType> <xsd:complexType>
<xsd:sequence> <xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence> </xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" /> <xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType> </xsd:complexType>
</xsd:element> </xsd:element>
</xsd:choice> </xsd:choice>
</xsd:complexType> </xsd:complexType>
</xsd:element> </xsd:element>
</xsd:schema> </xsd:schema>
<resheader name="resmimetype"> <resheader name="resmimetype">
<value>text/microsoft-resx</value> <value>text/microsoft-resx</value>
</resheader> </resheader>
<resheader name="version"> <resheader name="version">
<value>2.0</value> <value>2.0</value>
</resheader> </resheader>
<resheader name="reader"> <resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<metadata name="Id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="Id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="firstname.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="firstname.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="lastname.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="lastname.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="creationDate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="creationDate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="markItem.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="markItem.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="Id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="firstname.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="lastname.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="creationDate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="markItem.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root> </root>