Esempio n. 1
0
 private void ShowPublicNoticeFile()
 {
     lbllinkPN.Text    = "";
     dsGetPublicNotice = dbDocumentStatusData.GetPublicNotice(cmbVillage.SelectedValue.ToString(), cmbDocumentNo.SelectedValue.ToString(), "HO");
     if (dsGetPublicNotice.Tables[0].Rows.Count > 0)
     {
         string UploadedDocument = dsGetPublicNotice.Tables[0].Rows[0]["documentname"].ToString();
         string DocumentCode     = dsGetPublicNotice.Tables[0].Rows[0]["documentcode"].ToString();
         if (DocumentCode == "PN")
         {
             lbllinkPN.Text = UploadedDocument;
         }
     }
 }