Esempio n. 1
0
 public static MarketingVanue GetMarketingVanueByMarketingVanueID(int MarketingVanueID)
 {
     MarketingVanue marketingVanue = new MarketingVanue();
     SqlMarketingVanueProvider sqlMarketingVanueProvider = new SqlMarketingVanueProvider();
     marketingVanue = sqlMarketingVanueProvider.GetMarketingVanueByMarketingVanueID(MarketingVanueID);
     return marketingVanue;
 }
Esempio n. 2
0
 public static DataSet GetDropDownListAllMarketingVanue()
 {
     DataSet marketingVanues = new DataSet();
     SqlMarketingVanueProvider sqlMarketingVanueProvider = new SqlMarketingVanueProvider();
     marketingVanues = sqlMarketingVanueProvider.GetDropDownLisAllMarketingVanue();
     return marketingVanues;
 }
Esempio n. 3
0
    public static MarketingVanue GetMarketingVanueByMarketingVanueID(int MarketingVanueID)
    {
        MarketingVanue            marketingVanue            = new MarketingVanue();
        SqlMarketingVanueProvider sqlMarketingVanueProvider = new SqlMarketingVanueProvider();

        marketingVanue = sqlMarketingVanueProvider.GetMarketingVanueByMarketingVanueID(MarketingVanueID);
        return(marketingVanue);
    }
Esempio n. 4
0
    public static DataSet  GetDropDownListAllMarketingVanue()
    {
        DataSet marketingVanues = new DataSet();
        SqlMarketingVanueProvider sqlMarketingVanueProvider = new SqlMarketingVanueProvider();

        marketingVanues = sqlMarketingVanueProvider.GetDropDownLisAllMarketingVanue();
        return(marketingVanues);
    }
Esempio n. 5
0
 public static void LoadMarketingVanuePage(System.Web.UI.WebControls.GridView gv, System.Web.UI.WebControls.Repeater rptPager, int pageIndex, DropDownList ddlPageSize)
 {
     int recordCount=0;
     int PageSize =  int.Parse(ddlPageSize.SelectedValue);
     SqlMarketingVanueProvider sqlMarketingVanueProvider = new SqlMarketingVanueProvider();
     DataSet ds =  sqlMarketingVanueProvider.GetMarketingVanuePageWise(pageIndex, PageSize, out recordCount);
     gv.DataSource = ds;
     gv.DataBind();
      marketingVanuesPaggination(rptPager,recordCount, pageIndex, PageSize);
 }
Esempio n. 6
0
    public static void LoadMarketingVanuePage(System.Web.UI.WebControls.GridView gv, System.Web.UI.WebControls.Repeater rptPager, int pageIndex, DropDownList ddlPageSize)
    {
        int recordCount = 0;
        int PageSize    = int.Parse(ddlPageSize.SelectedValue);
        SqlMarketingVanueProvider sqlMarketingVanueProvider = new SqlMarketingVanueProvider();
        DataSet ds = sqlMarketingVanueProvider.GetMarketingVanuePageWise(pageIndex, PageSize, out recordCount);

        gv.DataSource = ds;
        gv.DataBind();
        marketingVanuesPaggination(rptPager, recordCount, pageIndex, PageSize);
    }
Esempio n. 7
0
    public static bool DeleteMarketingVanue(int marketingVanueID)
    {
        SqlMarketingVanueProvider sqlMarketingVanueProvider = new SqlMarketingVanueProvider();

        return(sqlMarketingVanueProvider.DeleteMarketingVanue(marketingVanueID));
    }
Esempio n. 8
0
    public static bool UpdateMarketingVanue(MarketingVanue marketingVanue)
    {
        SqlMarketingVanueProvider sqlMarketingVanueProvider = new SqlMarketingVanueProvider();

        return(sqlMarketingVanueProvider.UpdateMarketingVanue(marketingVanue));
    }
Esempio n. 9
0
    public static int InsertMarketingVanue(MarketingVanue marketingVanue)
    {
        SqlMarketingVanueProvider sqlMarketingVanueProvider = new SqlMarketingVanueProvider();

        return(sqlMarketingVanueProvider.InsertMarketingVanue(marketingVanue));
    }
Esempio n. 10
0
 public static bool UpdateMarketingVanue(MarketingVanue marketingVanue)
 {
     SqlMarketingVanueProvider sqlMarketingVanueProvider = new SqlMarketingVanueProvider();
     return sqlMarketingVanueProvider.UpdateMarketingVanue(marketingVanue);
 }
Esempio n. 11
0
 public static int InsertMarketingVanue(MarketingVanue marketingVanue)
 {
     SqlMarketingVanueProvider sqlMarketingVanueProvider = new SqlMarketingVanueProvider();
     return sqlMarketingVanueProvider.InsertMarketingVanue(marketingVanue);
 }
Esempio n. 12
0
 public static bool DeleteMarketingVanue(int marketingVanueID)
 {
     SqlMarketingVanueProvider sqlMarketingVanueProvider = new SqlMarketingVanueProvider();
     return sqlMarketingVanueProvider.DeleteMarketingVanue(marketingVanueID);
 }