private void SetMainDGV(string search = "") { string query = string.Format("CALL client_search('{0}')", search); DB.FillDGV(mainDGV, query); }
void refreshData() { mainDGV.AutoGenerateColumns = false; DB.FillDGV(mainDGV, Properties.Resources.ClientQuery); }