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 20066e0..d072ffb 100644 --- a/Aktywator/MainForm.Designer.cs +++ b/Aktywator/MainForm.Designer.cs @@ -752,7 +752,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 25268b6..24322cb 100644 --- a/Aktywator/MainForm.cs +++ b/Aktywator/MainForm.cs @@ -379,7 +379,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) |