Exemplo n.º 1
0
 //public DataSet FetchMap()
 //  {
 //      DataSet ds = new DataSet();
 //      SpotDetailsDAL sp = new SpotDetailsDAL();
 //      ds = sp.FetchMap();
 //      return ds;
 //  }
 public DataSet FetchSpotDetails1()
 {
     DataSet ds = new DataSet();
     SpotDetailsDAL sp = new SpotDetailsDAL();
     ds = sp.FetchSpotDetails1();
     return ds;
 }
Exemplo n.º 2
0
 public DataTable EditSpotDetails(string SpotID)
 {
     DataTable ds = new DataTable();
     SpotDetailsDAL sp = new SpotDetailsDAL();
     ds = sp.EditSpotDetails(SpotID);
     return ds;
 }
Exemplo n.º 3
0
 public int DeleteSpotDetails(string SpotID)
 {
     int a;
     SpotDetailsDAL sp = new SpotDetailsDAL();
     a = sp.DeleteSpotDetails(SpotID);
     return a;
 }
Exemplo n.º 4
0
    public DataTable EditSpotDetails(string SpotID)
    {
        DataTable      ds = new DataTable();
        SpotDetailsDAL sp = new SpotDetailsDAL();

        ds = sp.EditSpotDetails(SpotID);
        return(ds);
    }
Exemplo n.º 5
0
    public int DeleteSpotDetails(string SpotID)
    {
        int            a;
        SpotDetailsDAL sp = new SpotDetailsDAL();

        a = sp.DeleteSpotDetails(SpotID);
        return(a);
    }
Exemplo n.º 6
0
    //public DataSet FetchMap()
    //  {
    //      DataSet ds = new DataSet();
    //      SpotDetailsDAL sp = new SpotDetailsDAL();
    //      ds = sp.FetchMap();
    //      return ds;
    //  }

    public DataSet FetchSpotDetails1()
    {
        DataSet        ds = new DataSet();
        SpotDetailsDAL sp = new SpotDetailsDAL();

        ds = sp.FetchSpotDetails1();
        return(ds);
    }
Exemplo n.º 7
0
 protected void gridPageChanging(object sender, GridViewPageEventArgs e)
 {
     SpotDetailsDAL sp = new SpotDetailsDAL();
     ds = sp.FetchSpotDetails1();
     gridviewSpot.DataSource = ds.Tables[4];
     gridviewSpot.PageIndex = e.NewPageIndex;
     gridviewSpot.DataBind();
 }
Exemplo n.º 8
0
    protected void gridPageChanging(object sender, GridViewPageEventArgs e)
    {
        SpotDetailsDAL sp = new SpotDetailsDAL();

        ds = sp.FetchSpotDetails1();
        gridviewSpot.DataSource = ds.Tables[4];
        gridviewSpot.PageIndex  = e.NewPageIndex;
        gridviewSpot.DataBind();
    }
Exemplo n.º 9
0
 public int UpdateSpotDetails(string SpotID, string SpotName, string Description, string Religion, string Deity, string Period, string BuiltBy,
     string Architecture, string Sculpture, string painting, string Inscription, string Hymns, string Mythology, string Events,
     string Timing, string Location, string Sketch, string SpotCategory, string SanctifiedBy, int Active)
 {
     int a;
     SpotDetailsDAL sp = new SpotDetailsDAL();
     a = sp.UpdateSpotDetails(SpotID,SpotName, Description, Religion, Deity, Period, BuiltBy,
     Architecture, Sculpture, painting, Inscription, Hymns, Mythology, Events,
     Timing, Location, Sketch, SpotCategory, SanctifiedBy, Active);
     return a;
 }
Exemplo n.º 10
0
    public int UpdateSpotDetails(string SpotID, string SpotName, string Description, string Religion, string Deity, string Period, string BuiltBy,
                                 string Architecture, string Sculpture, string painting, string Inscription, string Hymns, string Mythology, string Events,
                                 string Timing, string Location, string Sketch, string SpotCategory, string SanctifiedBy, int Active)
    {
        int            a;
        SpotDetailsDAL sp = new SpotDetailsDAL();

        a = sp.UpdateSpotDetails(SpotID, SpotName, Description, Religion, Deity, Period, BuiltBy,
                                 Architecture, Sculpture, painting, Inscription, Hymns, Mythology, Events,
                                 Timing, Location, Sketch, SpotCategory, SanctifiedBy, Active);
        return(a);
    }