DynamicDataRoute Constructor (String^)
.NET Framework (current version)
Initializes a new instance of the DynamicDataRoute class by using the specified URL pattern.
Assembly: System.Web.DynamicData (in System.Web.DynamicData.dll)
Parameters
- url
-
Type:
System::String^
The pattern for the URL.
Typically, you specify the URLs that Dynamic Data will create by using substitution parameters. For example, if you pass the string "{table}/{action}", the result would be the URL "~/Products/ListDetails.aspx" when you view the Product table by using the ListDetails action.
Using substitution parameters is not required. You could pass the string "Table/DynamicData", which would produce "~/Table/DynamicData.aspx". You could pass "MyPageName" to produce "~/MyPageName.aspx". Dynamic Data does not rely on the URL to determine table and action information.
.NET Framework
Available since 3.5
Available since 3.5
Show: