Hi,
I am converting a VB6 mobile project (Pocket PC) onto a
CE.Net machine and am struggling with the new way of
handling datagrids. I have my database and tables setup
and stuffed with data but cannot get the binding to work.
On a statement like
'CustGrid.SetDa taBinding(mainD S,"custTable" )' I get an
error message saying SetDataBinding is not a member of
System.Windows. Forms.DataGrid and it appears to be
correct, by searching through the project references I
can find NO reference to any way of binding database
tables to datagrids, even though the books I have on
VB.Net state that my syntax is correct. Can someone tell
me which class it is in and how to make the binding work
please.
Thank you in advance for saving what is left of the hair
on my head !
I am converting a VB6 mobile project (Pocket PC) onto a
CE.Net machine and am struggling with the new way of
handling datagrids. I have my database and tables setup
and stuffed with data but cannot get the binding to work.
On a statement like
'CustGrid.SetDa taBinding(mainD S,"custTable" )' I get an
error message saying SetDataBinding is not a member of
System.Windows. Forms.DataGrid and it appears to be
correct, by searching through the project references I
can find NO reference to any way of binding database
tables to datagrids, even though the books I have on
VB.Net state that my syntax is correct. Can someone tell
me which class it is in and how to make the binding work
please.
Thank you in advance for saving what is left of the hair
on my head !