A
Andreas Klemt
Hello,
I have this
Public Structure strucUser
Dim userIDAs Integer
Dim firstnameAs String
Dim lastname As String
End Structure
Dim collectUser As New Collection
Dim strucUser As strucUser
strucUser .userIDAs = rateID
strucUser .firstnameAs = "Peter"
strucUser .lastname = "Bond"
collectUser .Add(strucUser )
myDatagrid.DataSource = collectRate <<<---- ERROR !!!
myDatagrid.DataBind()
Error Message:
DataGrid with id '' could not automatically generate any columns from the
selected data source
What is wrong?
Thanks for any help,
Andreas
I have this
Public Structure strucUser
Dim userIDAs Integer
Dim firstnameAs String
Dim lastname As String
End Structure
Dim collectUser As New Collection
Dim strucUser As strucUser
strucUser .userIDAs = rateID
strucUser .firstnameAs = "Peter"
strucUser .lastname = "Bond"
collectUser .Add(strucUser )
myDatagrid.DataSource = collectRate <<<---- ERROR !!!
myDatagrid.DataBind()
Error Message:
DataGrid with id '' could not automatically generate any columns from the
selected data source
What is wrong?
Thanks for any help,
Andreas