private void FRM_Vendor_Load(object sender, EventArgs e) { try { #region Fill Grid By Data : VendorGrid.DataSource = vendor.CreateTable(); #endregion } catch (Exception ex) { MessageBox.Show(ex.Message); } }