Example #1
0
        private void ShowDocumentTitleSearch()
        {
            DataSet dsGetAllDocuments;

            dsGetAllDocuments = dbDocumentStatusData.GetDocumentFromCode(cmbVillage.SelectedValue.ToString(), cmbDocumentNo.SelectedValue.ToString(), "FTS", "SO1");
            if (dsGetAllDocuments.Tables[0].Rows.Count > 0)
            {
                string UploadedDocument = dsGetAllDocuments.Tables[0].Rows[0]["documentname"].ToString();
                lbllnkFTS.Text = UploadedDocument;
            }
            else
            {
                lbllnkFTS.Text = "";
                //ScriptManager.RegisterStartupScript(this, GetType(), "showalert", "alert('Some Required Documents not uploaded');", true);
            }
        }