MySQL_Integrated\Form1.cs
{string selectedDb = comboBoxDatabase.SelectedItem?.ToString();
if (string.IsNullOrEmpty(selectedDb))
{
textBoxLog.AppendText("Please select a database first\r\n");
textBoxLog.AppendText("❌ Please select a database first\r\n");
return;
}
string query = txtQuery.Text.Trim();
textBoxLog.AppendText($"Executing query: {query}\r\n");
textBoxLog.AppendText($"
頁:
[1]