using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace AspMvcIntroduction { public partial class ProductsPage : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { string action = Convert.ToString(Page.RouteData.Values["action"]); long productId = Convert.ToInt64(Page.RouteData.Values["productId"]); MessageLabel.Text = String.Format("Eylem {0} Ürün Kimliği {1}", action!=null?action:"null", productId); } } }Dosyayı İndir