ish90an
March 21st, 2009, 05:39 PM
I am trying to bind a label to the dataset I have filled through a query. The code to create the data-binding is: lblDescript.DataBindings.Add("Text",myData,"Image_type.ImageDescription"); Here myData is the dataset I have filled in by executing a query, Image_type is one of the tables the query runs on and ImageDescription is a field in it. However when I run this, I am getting a "Unable to create child list for field or property ImageDescription" error. What am I doing wrong in the code?
The queries are executed on a SQL Server database and I am using Visual Studio 2005
The queries are executed on a SQL Server database and I am using Visual Studio 2005