Global.asax Routing

        protected void Application_Start(object sender, EventArgs e)
        {
            RegisterRoutes(RouteTable.Routes);
        }

        static void RegisterRoutes(RouteCollection routes)
        {
            routes.Add(new Route("{resource}.axd/{*pathInfo}", new StopRoutingHandler()));

            routes.MapPageRoute("anasayfa", "anasayfa", "~/Default.aspx");      

            RouteTable.Routes.Add("sayfaAmp", new Route("amp/{SayfaAdi}-{SayfaId}", new PageRouteHandler("~/AmpCreator.aspx")));

    }


ListView Add ListItem From DataTable


Add Expire Cookies, logout