public static Insert ( string query ) : void | ||
query | string | |
Результат | void |
private void button5_Click(object sender, EventArgs e) { using (StreamWriter sw = new StreamWriter("log.sql", true, Encoding.UTF8)) sw.WriteLine(rtbTextOut.Text); MySQLConnenct.Insert(rtbTextOut.Text); }
private void bNpcTextRecord_Click(object sender, EventArgs e) { using (StreamWriter sw = new StreamWriter("NEW_NPC_TEXT_SQL.sql", true, Encoding.UTF8)) sw.WriteLine(_gpText.Text); MySQLConnenct.Insert(_gpText.Text); }
private void _bWriteSummon_Click(object sender, EventArgs e) { using (StreamWriter sw = new StreamWriter("NEW_EVENTAI_SQL.sql", true, Encoding.UTF8)) sw.WriteLine(_rtbSummon.Text); MySQLConnenct.Insert(_rtbSummon.Text); }
private void _bGossipOptionRecord_Click(object sender, EventArgs e) { using (StreamWriter sw = new StreamWriter("NEW_GOSSIP_SQL.sql", true, Encoding.UTF8)) sw.WriteLine(rtbGossipOptionMenuOut.Text); MySQLConnenct.Insert(rtbGossipOptionMenuOut.Text); }
private void WriteFiles_Click(object sender, EventArgs e) { using (StreamWriter sw = new StreamWriter("NEW_EVENTAI_SQL.sql", true, Encoding.UTF8)) sw.WriteLine(rtbScriptOut.Text); MySQLConnenct.Insert(rtbScriptOut.Text); }