jvcoach23
Centurion
i have a class that I've tried to make into a datasource with the wizard. when I do a debug.writeline and step through the each row in the
ex:
For Each oemail In oEmails
Debug.WriteLine(oemail.EmailAddress)
Next
i see my 27 rows of data. however, when I drag the "Email" datasource as a datagridview to my form.. the data isn't showing up in the grid. What am I not doing that the two are not wired together. I looked in my EmailBindingSource and it says that the datasource is Email... but it's still not working..
also.. when I drop the datasource on the form... no lines of code are added.. I don't know there there are suppose to be any.. but figured I'd mention it. Seems to me there should be something... otherwise how does it know to grab the data from the datasource object after the object is laoded up
What it did add to the design is a BindingSource and a BindingNavigator.
any help would be great.
thanks
shannon
ex:
For Each oemail In oEmails
Debug.WriteLine(oemail.EmailAddress)
Next
i see my 27 rows of data. however, when I drag the "Email" datasource as a datagridview to my form.. the data isn't showing up in the grid. What am I not doing that the two are not wired together. I looked in my EmailBindingSource and it says that the datasource is Email... but it's still not working..
also.. when I drop the datasource on the form... no lines of code are added.. I don't know there there are suppose to be any.. but figured I'd mention it. Seems to me there should be something... otherwise how does it know to grab the data from the datasource object after the object is laoded up
What it did add to the design is a BindingSource and a BindingNavigator.
any help would be great.
thanks
shannon