示例#1
0
 public SalesRecord()
 {
     connectionData = new ConnectionStructor();
     connection     = new MySqlConnection("server =" + connectionData.server()
                                          + ";database =" + connectionData.database() + ";username = "******";password ="******";");
     InitializeComponent();
     _dataGridView = dataGridView1;
 }