protected void BtnInsertl_Click(object sender, EventArgs e)
        {
            var st1 = new Liga
            {
                LigaId   = int.Parse(TextBox6.Text),
                NumeLiga = TextBox7.Text,
            };

            db.Ligas.InsertOnSubmit(st1);
            db.SubmitChanges();
            ScriptManager.RegisterStartupScript(this, this.GetType(), "script", "alert('Succes la inserare!');", true);
            LoadData2();
        }
 partial void DeleteLiga(Liga instance);
 partial void UpdateLiga(Liga instance);
 partial void InsertLiga(Liga instance);