Getting a bug when page is loaded ' A field or property with the name not found on the selected data source'. Not using Wizards to connect to database.
Have written a function that retruns a row from database as an ArrayList. Have assigned that method to Gridview as shown below.
In GridView properties when 'AutogenerateColumns' property set to 'False' and I specify columns as shown below. Getting above exception. When Autogeneratecolumns property is set to True, and columns are removed from aspx, it displays Gridview with Item as an heading.
Like to declare all columns and data fields in aspx by setting autogenerate property 'False'. Any help is appreciated.
ASPX
<asp:GridView Go to the complete details ...