private void applypagging() { if (Request.QueryString["action"] != null) { index = Int32.Parse(Request.QueryString["index"]); if ("prev".Equals(Request.QueryString["action"]) && index == 0) { string[] str = CatDetailsService.getRelLastProduct(Request.QueryString["htm"]); style = str[0]; index = Int32.Parse(str[1]); } else if ("next".Equals(Request.QueryString["action"])) { index = index + 1; string[] str = CatDetailsService.getRelProductDT(Request.QueryString["htm"], index); style = str[0]; index = Int32.Parse(str[1]); } else { string[] str = CatDetailsService.getRelProductDT(Request.QueryString["htm"], index); style = str[0]; index = Int32.Parse(str[1]); } } }
public void fillReatedProductType() { relProductDT = CatDetailsService.getRelProductDT(dt.Rows[0]["SKUProductType"] + ""); }