protected void btnFinalizar_Click(object sender, EventArgs e) { DataSetTableAdapters.votacionTableAdapter objVotacion = new DataSetTableAdapters.votacionTableAdapter(); objVotacion.Finalizar_Votacion(); ShowNotification("Inicio Votación", "La votación ha finalizado", "info"); }
protected void btnEliminar_Click(object sender, EventArgs e) { DataSetTableAdapters.votacionTableAdapter objVotacion = new DataSetTableAdapters.votacionTableAdapter(); objVotacion.DeleteQuery(); GridView1.DataBind(); }