Exemplo n.º 1
0
 private void bt_Them_Click(object sender, EventArgs e)
 {
     SP.insertData(txt_MaSP.Text, txt_TenSP.Text, cmb_LoaiSP.SelectedValue.ToString(), cmb_MaNCC.SelectedValue.ToString(), Rtxt_ThongTin.Text, txt_GiaBan.Text, txt_BaoHanh.Text);
     if (fNK != null)
     {
         fNK.load();
     }
     ;
     if (FSP != null)
     {
         FSP.load();
     }
     ;
     //FSP.load();
     this.Close();
 }