partial void DeleteDrugGroup(DrugGroup instance);
 partial void InsertDrugGroup(DrugGroup instance);
 partial void UpdateDrugGroup(DrugGroup instance);
        protected void AddNewDrug_ClickG(object sender, EventArgs e)
        {
            if (IsValid)
            {
                TableAddDrugG.Visible = false;
                System.Threading.Thread.Sleep(2000);
                String name = DrugNameG.Text;

                var drug = new DrugGroup() { Name = name};
                DataBaseAllDataContext dataAll = new DataBaseAllDataContext();
                dataAll.DrugGroups.InsertOnSubmit(drug);
                dataAll.SubmitChanges();
                GridDrugG.DataBind();
            }
        }