What replaces DataGrid.SetDataBinding in Compact Framework ?
Hi CE specialists,
what is replacing the SetDataBinding ?
The Windows way of setting up DataGrids reffering to a sample of MSDN uses a DataGrid.SetDataBinding function, which is not existing in Windows CE.
So what to do to set up the table ?
The following code gives a compiler error
...
private void SetupTable()
{
MakeDataSet();
dataGrid2.SetDataBinding(myDataSet, "Receipt");// .Add("Receipt",
myDataSet, "DataMember");
AddCustomDataTableStyle();
}
Form1.cs(43): 'System.Windows.Forms.DataGrid' does not contain a definition for 'SetDataBinding'
What do I have to do instead ?
Anyone who has a sample datagrid under WinCE as example?
Please email to mayr@net2000.ch
Thx
Max
Answers (1)
0
http://www.c-sharpcorner.com/blogs/fix-to-retrieving-the-com-class-factory-for-component-with-clsid-error
Hope the above blog ,will solve your problem