News:

SQL Table To C# Entity Model ConverterEntity Model (Class Properties) to SQL Table ConverterIf you encounter any trouble visiting our site, please contact us.

Advertisement

Looking for job. Try JobLoader- First ever job search engine in Bangladesh. All open bd jobs now a single mouse click away.

;
public static void RegisterRoutes(RouteCollectionroutes) 
{  
  routes.Add(new DynamicDataRoute("{table}/ListDetails.aspx") { Action = PageAction.List,ViewName = "ListDetails",  Model = DefaultModel});

  routes.Add(new DynamicDataRoute("{table}/ListDetails.aspx") {Action = PageAction.Details,ViewName = "ListDetails",Model = DefaultModel});
}

You need to display the items in a table named Products by using a custom layout. What should you do?

  1. Add a new Web page named Products.aspx to the Dynamic Data\PageTemplates folder of the Web site.

  2. Add a new folder named Products to the Dynamic Data\CustomPages folder of the Web site. Add a new Web page named ListDetails.aspx to the Products folder.

  3. Add a new Web user control named Products.ascx to the Dynamic Data\Filters folder of the Web site.In the code-behind file for the control, change the base class from UserControl to System.Web.
    DynamicData.QueryableFilterUserControl.

  4. Add a new Web user control named Products_ListDetails.ascx to the Dynamic Data\EntityTemplates folder of the Web site. In the code-behind file for the control, chan

Answer: Answer is a
comments powered by Disqus
Advertisement

BCS Preparation now even more easy. ReadBD is the place where you can find all kind of resources to be successful in BCS,Bank,Islami Bank exam and interview.

Looking for job. Try JobLoader- First ever job search engine in Bangladesh. All open bd jobs now a single mouse click away.

;