private void PopulateFilelds()
    {
        try{
            DataTable dt     = new DataTable();
            string    strqur = ddListOperation.SelectedValue.ToString();
            lblMessage.Text = "";

            if (strqur.Equals("-- Create New --"))
            {
                clear();
                btnSave.Text    = "Save";
                btnApprove.Text = "Approve";
            }
            else if (short.Parse(strqur) > 0)
            {
                short pageId = short.Parse(strqur);
                dt = Downloads.SelectByPK(int.Parse(strqur));
                if (dt != null)
                {
                    btnSave.Text      = "Update";
                    lblStatus.Visible = true;
                }
                if (dt.Rows[0]["Publish"].ToString() == "D")
                {
                    lblStatus.Text  = "Draft";
                    btnApprove.Text = "Approve";
                }
                else if (dt.Rows[0]["Publish"].ToString() == "P")
                {
                    lblStatus.Text  = "Published";
                    btnApprove.Text = "Suspend";
                }
                else if (dt.Rows[0]["Publish"].ToString() == "X")
                {
                    lblStatus.Text  = "Archive";
                    btnApprove.Text = "Approve";
                }
                else if (dt.Rows[0]["Publish"].ToString() == "S")
                {
                    lblStatus.Text  = "Suspended";
                    btnApprove.Text = "Approve";
                }

                txtTitle.Text    = dt.Rows[0]["Title"].ToString();
                FCKeditor1.Value = dt.Rows[0]["Summary"].ToString();
                txtFileName.Text = dt.Rows[0]["Url"].ToString();
                cmbDocType.Text  = dt.Rows[0]["DocumentType"].ToString();
                txtSize.Text     = dt.Rows[0]["Size"].ToString();
            }
        }
        catch { }
    }