C# Programming
07-07-2009, 11:30 AM
Hi
I am trying to get data from several dynamics datagridview. The grids are on a tabbed pages. I have set the form and the tab control to public
frmTeacherApp teachApp;
private void btnSave_Click(object sender, EventArgs e)
{
teachApp = new frmTeacherApp();
foreach (Control ctl in teachApp.Controls)
{
//Finding the datagridgrids from a global ArrayList i put the grid
//names in
}
}
but not work. Also try to put the grid into public System.ComponentModel.Container with same result.
Can someone help me?
Regards
Rune, Norway
I am trying to get data from several dynamics datagridview. The grids are on a tabbed pages. I have set the form and the tab control to public
frmTeacherApp teachApp;
private void btnSave_Click(object sender, EventArgs e)
{
teachApp = new frmTeacherApp();
foreach (Control ctl in teachApp.Controls)
{
//Finding the datagridgrids from a global ArrayList i put the grid
//names in
}
}
but not work. Also try to put the grid into public System.ComponentModel.Container with same result.
Can someone help me?
Regards
Rune, Norway