diff options
-rw-r--r-- | Aktywator/MainForm.Designer.cs | 1 | ||||
-rw-r--r-- | Aktywator/MainForm.cs | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/Aktywator/MainForm.Designer.cs b/Aktywator/MainForm.Designer.cs index 59a8b73..e19875a 100644 --- a/Aktywator/MainForm.Designer.cs +++ b/Aktywator/MainForm.Designer.cs @@ -827,7 +827,6 @@ this.bTruncate.TabIndex = 15; this.bTruncate.Text = "Usuń nazwiska z bws"; this.bTruncate.UseVisualStyleBackColor = true; - this.bTruncate.Visible = false; this.bTruncate.Click += new System.EventHandler(this.bTruncate_Click); // // bMysqlSettings diff --git a/Aktywator/MainForm.cs b/Aktywator/MainForm.cs index 2ffbbf2..57794cf 100644 --- a/Aktywator/MainForm.cs +++ b/Aktywator/MainForm.cs @@ -380,7 +380,7 @@ namespace Aktywator { try { - bws.sql.query("UPDATE PlayerNumbers SET Name='XXX' AND Updated=True WHERE 1=1"); + bws.sql.query("UPDATE PlayerNumbers SET Name=NULL AND Updated=True WHERE 1=1"); MessageBox.Show("Wykonano!", "Usuń nazwiska", MessageBoxButtons.OK, MessageBoxIcon.Information); } catch (Exception ee) |