All,
Writing a simple program to read data from a group of table to display for order entry. IN trying to get the data fromt he related table in this code:
using
namespace
{
InitializeComponent();
getData();
}
m_ExitOnLoad =
dataQ2O.EnforceConstraints =
daQ2O.Fill(dataQ2O,
items.Add(
buildsmarttree();
rootsNode.Name =
rootsNode.Text =
rootsNode.Tag =
rootsNode.Font =
RefreshTree(
smartTreeView1.SuspendUpdate();
RefreshRootNode((
smartTreeView1.ResumeUpdate();
p_RootNode.Items.Clear();
p_RootNode.Items.Add(priorityNode);
I receive the follolwing error:
Error 1 foreach statement cannot operate on variables of type 'System.Data.DataRow' because 'System.Data.DataRow' does not contain a public definition for 'GetEnumerator' C:\Users\walter.weber\Documents\Visual Studio 2008\Projects\Pareto-OE\Pareto-OE\frmOrderRequest.cs 81 17 Pareto-OE
All fo the examples I can find including on Microsoft's site show the code for the getParentRow done like this. Any suggestions would be appreciated.