Ejemplo n.º 1
0
 protected void btn_disable_Click(object sender, EventArgs e)
 {
     if (DownloadID() != "")
     {
         DownloadBSO downloadBSO = new DownloadBSO();
         downloadBSO.UpdateDownload(DownloadID(), "0");
     }
     ViewDownload();
 }
Ejemplo n.º 2
0
 protected void btn_edit_Click(object sender, EventArgs e)
 {
     try
     {
         Download download = ReceiveHtml();
         DownloadBSO downloadBSO = new DownloadBSO();
         downloadBSO.UpdateDownload(download);
         clientview.Text = String.Format(Resources.StringAdmin.UpdateSuccessful, "tin", download.Title);
         ViewCateDownload();
     }
     catch (Exception ex)
     {
         clientview.Text = ex.Message.ToString();
     }
 }