public void BindHeader()
    {
        StoreFront ObjStoreFront = new StoreFront();
        DataSet    ds            = new DataSet();

        if (Request.Cookies["IsLogin"].Value.ToString() == "0")
        {
            ds = ObjStoreFront.GetServicePageServices(0, 2);
        }
        else
        {
            ds = ObjStoreFront.GetServicePageServices(Convert.ToInt32(Session["UserType"].ToString()), 2);
        }
        if ((ds.Tables[0].Rows.Count > 0) && (ds.Tables[0].Rows[0]["PetType"].ToString() == "2"))
        {
            imgDogservice.ImageUrl  = Session["HomePath"] + "StoreData/ServicePageServices/" + ds.Tables[0].Rows[0]["ImageName"].ToString();
            imgDogservice.ToolTip   = ds.Tables[0].Rows[0]["Description"].ToString();
            divDogService.InnerText = ds.Tables[0].Rows[0]["Description"].ToString();
        }
    }
 public void BindHeader()
 {
     try
     {
         StoreFront ObjStoreFront = new StoreFront();
         DataSet    ds            = new DataSet();
         ds = ObjStoreFront.GetServicePageServices(Convert.ToInt32(Session["UserType"].ToString()), 2);
         if ((ds.Tables[0].Rows.Count > 0) && (ds.Tables[0].Rows[0]["PetType"].ToString() == "2"))
         {
             imgDogservice.ImageUrl  = Session["HomePath"] + "StoreData/ServicePageServices/" + ds.Tables[0].Rows[0]["ImageName"].ToString();
             imgDogservice.ToolTip   = ds.Tables[0].Rows[0]["Description"].ToString();
             divDogService.InnerHtml = ds.Tables[0].Rows[0]["Description"].ToString();
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }