macorett

macorett

  • NA
  • 12
  • 0

What replaces DataGrid.SetDataBinding in Compact Framework ?

Jul 15 2004 3:20 PM
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 [email protected] Thx Max

Answers (1)