DataBinding: ‘System.Data.DataRowView’ does not contain a property with the name

Well, you haven’t selected the documentid column and hence it’s not present in either datatable or dataview which you are binding to grid OR referencing that column through datatable.

Change your query to

 SelectCommand="SELECT [DocumentID],[DocumentTitle], [DocumentBody] FROM [tblDocument]" /> 

Leave a Comment