private void LoadDataEdit()
 {
     try
     {
         int            PartnerID = Globals.GetIntFromQueryString("PartnerID");
         OtherFunctions obj       = new OtherFunctions();
         DataSet        ds        = new DataSet();
         ds = obj.GetPartnerByPartnerID("Partner", PartnerID);
         txtPartnerName.Value        = Convert.ToString(ds.Tables[0].Rows[0]["PartnerName"]);
         txtPartnerDescription.Value = Convert.ToString(ds.Tables[0].Rows[0]["PartnerDescription"]);
         txtPartnerAddress.Value     = Convert.ToString(ds.Tables[0].Rows[0]["PartnerAddress"]);
         txtPartnerEmail.Value       = Convert.ToString(ds.Tables[0].Rows[0]["PartnerEmail"]);
         txtPartnerTel.Value         = Convert.ToString(ds.Tables[0].Rows[0]["PartnerTel"]);
         txtPartnerFax.Value         = Convert.ToString(ds.Tables[0].Rows[0]["PartnerFax"]);
         txtPartnerWebsite.Value     = Convert.ToString(ds.Tables[0].Rows[0]["PartnerWebsite"]);
         ImagePartner.Src            = Globals.GetUploadsUrl() + Convert.ToString(ds.Tables[0].Rows[0]["PartnerLogo"]);
         Session["FileImageName"]    = Convert.ToString(ds.Tables[0].Rows[0]["PartnerLogo"]);
         txtDateAdd.Value            = Convert.ToString(ds.Tables[0].Rows[0]["PartnerAddDate"]);
     }
     catch
     {
         Response.Redirect("Partner.aspx");
     }
 }