Insert() public static method

public static Insert ( string query ) : void
query string
return void
Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 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);
 }
Esempio n. 3
0
 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);
 }
Esempio n. 4
0
 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);
 }
Esempio n. 5
0
 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);
 }