protected void btnExport_Click(object sender, EventArgs e) { SQLDataToCSV.ExportToCSV(txtFileName.Text, "spSelectTeamWorkers", "@TeamID", team.IDTeam); ClientScript.RegisterStartupScript(GetType(), "myalert", "alert('Pohranjeno');", true); }
protected void btnExport_Click(object sender, EventArgs e) { SQLDataToCSV.ExportToCSV(txtFileName.Text, "spSelectClientsActivities", "@ClientID", client.IDClient); ClientScript.RegisterStartupScript(GetType(), "myalert", "alert('Pohranjeno');", true); }