private void ShowDocumentsSO2Registry()
        {
            DataSet dsGetAllDocuments;

            dsGetAllDocuments = dbDocumentStatusData.GetDocumentSO2Registry(lblVillageCodeHidden.Text, LblDocNo.Text, "SO2");
            if (dsGetAllDocuments.Tables[0].Rows.Count > 0)
            {
                //string UploadedDocument = dsGetAllDocuments.Tables[0].Rows[0]["documentname"].ToString();
                //if(UploadedDocument != "")
                //{
                for (int i = 0; i < dsGetAllDocuments.Tables[0].Rows.Count; i++)
                {
                    string UploadedDocument = dsGetAllDocuments.Tables[0].Rows[i]["documentname"].ToString();
                    string DocumentCode     = dsGetAllDocuments.Tables[0].Rows[i]["documentcode"].ToString();
                    if (DocumentCode == "RSR")
                    {
                        lbllinkRegisrationSearch.Text = UploadedDocument;
                    }
                    if (DocumentCode == "LI")
                    {
                        lbllnkLocalInquiry.Text = UploadedDocument;
                    }
                    if (DocumentCode == "FT")
                    {
                        lbllinkFamilyTree.Text = UploadedDocument;
                    }
                    if (DocumentCode == "CL")
                    {
                        lbllnkConcentLetter.Text = UploadedDocument;
                    }
                    if (DocumentCode == "ID")
                    {
                        lbllnkIDDoc.Text = UploadedDocument;
                    }
                }
                //}
            }
            else
            {
                ScriptManager.RegisterStartupScript(this, GetType(), "showalert", "alert('Some Required Documents not uploaded');", true);
            }
        }