Page 643 - 완) I MDP 프로젝트 작품 보고서(전체과 1학년)1.6
P. 643

listView1.Items.Clear();

                                        readbox.Text  +=  "[MySQL] delete  data in  work  table  Success\n";
                                        var  Comm1  = new MySqlCommand("alter  table work  auto_increment=1;",
             MConn);
                                        Comm1.ExecuteNonQueryAsync();

                                        readbox.Text  +=  "[MySQL] Numbering Reset Success\n";
                                  }


                                  /*        (미구현)
                                    *                  else  if (textBox1.Text  ==  "Alter")

                                                    {
                                                         var MConn  =  new  MySqlConnection(strCnn);
                                                         MConn.Open();

                                                         var Comm  =  new  MySqlCommand("alter table work
             auto_increment=1;",  MConn);
                                                         Comm.ExecuteNonQueryAsync();
                                                         readbox.Text  +=  "[MySQL]  numbering  reset  success\n";
                                                    }
                                  */



                                  //입력창=On  Web
                                  else  if (textBox1.Text  ==  "On  Web")

                                  {
                                                     Process.Start("http://192.168.1.176/safesql.php");
                                        readbox.Text  +=  "[Tools]  Open  Webpage\n";
                                        textbox_clear();
                                  }



                                  //입력창=Close
                                  else  if (textBox1.Text  ==  "Close")
                                  {

                                        textbox_clear();
                                        MessageBox.Show("[MySQL] Bye");
                                        Close();
                                  }



                                  //입력창=Help



                                                         -  636  -
   638   639   640   641   642   643   644   645   646   647   648