public void insertupdateSite(ArrayList Site)
        {
           
            SiteSeeingMasterStoredProcedure objsite = new SiteSeeingMasterStoredProcedure();
            objsite.insertupdateSite(Site);

        }
Пример #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            sitephotoid = int.Parse(Page.Request.QueryString["key"].ToString());
            sitephotoid1 = int.Parse(Page.Request.QueryString["key1"].ToString());
            if (!IsPostBack)
            {

                SiteSeeingMasterStoredProcedure objsitephoto = new SiteSeeingMasterStoredProcedure();
                DataSet ds = objsitephoto.getphotoDetail(sitephotoid1, sitephotoid);
                photosite.HRef = "~/sitephoto/" + sitephotoid1 + "/" + ds.Tables[0].Rows[0]["PHOTO_FILE"].ToString();
            }
        }
 public void DeleteSitePhoto(int photoid)
 {
     
     SiteSeeingMasterStoredProcedure objdelphoto = new SiteSeeingMasterStoredProcedure();
     objdelphoto.DeleteSitePhoto(photoid);
    
 }
 public void insertnewPhoto(string siteid)
 {
     SiteSeeingMasterStoredProcedure objnewphoto = new SiteSeeingMasterStoredProcedure();
     objnewphoto.insertnewPhoto(siteid);
 }
 public void insertupdatePhoto(ArrayList Photo)
 {
     SiteSeeingMasterStoredProcedure objephoto = new SiteSeeingMasterStoredProcedure();
     objephoto.insertupdatePhoto(Photo);
 }
 public void DeleteMySite(int delsite)
 {
     SiteSeeingMasterStoredProcedure objsitedel = new SiteSeeingMasterStoredProcedure();
     objsitedel.DeleteMySite(delsite);
 }