BF2Statistics.ManageStatsDBForm.ImportSqlBtn_Click C# (CSharp) Method

ImportSqlBtn_Click() private method

Dumps the sql into executable sql files
private ImportSqlBtn_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
        private void ImportSqlBtn_Click(object sender, EventArgs e)
        {
            OpenFileDialog Dialog = new OpenFileDialog();
            Dialog.Filter = "Sql File (*.sql)|*.sql|All Files|*.*";
            if (Dialog.ShowDialog() == DialogResult.OK)
            {
                string SqlFile = Dialog.FileName;
            }
        }