c# - Could not determine a MetaTable -


I have simple applications with FormView and SQLDataSource. When I check "Enable dynamic data support", I get the following error:

  could not determine the metaTable. A metaTable  

The data source can not be defined for 'SqlDataSource1' and the request URL can not be approximated. Ensure that the table is mapped to the dots source, or that the data source is configured with valid reference type and table name, or this request is part of a registered dynamic data.

Any ideas?

For me, it has come to know that in my grid view, the column is an "Asp: DynamicField"

i.e.

changing my column with something like this:

  & lt; Columns & gt; & Lt; Asp: DynamicField DataField = "Id" header text = "id" /> & Lt; / Column & gt;  

To do this:

  & lt; Columns & gt; & Lt; ASP: BoundfieldDefined = "ID" header text = "ID" /> & Lt; / Column & gt;  

it was fixed; -)


Comments