/////////u have tagged the question in c# and provided code block in VB ,below code is c#.if u r
//////////using VB change below code as per ur requirement
/////////create a global data table and set property in the parent
DataTable _childGridDt = new DataTable();
////////////set property for the datatable in parent
public DataTable ChildGridDt
{
get { return _childGridDt ; }
}
/////////////in ur child form ie 'frmSales' create a global data table and set property
DataTable _childGridDt = new DataTable();
public DataTable ChildGridDt
{
get { return _childGridDt ; }
set { _childGridDt = value; }
}
//////////////when u call the form using object frmSale pass the data table value
Dim frmSale = New frmSales
/////passing value to the object frmSale
frmSale.ChildGridDt=
frmSale.WindowState = FormWindowState.Normal
frmSale.FormBorderStyle = FormBorderStyle.FixedSingle
frmSales.Size = New Size(600, 500)
frmSale.TopLevel = False
frmSale.Parent = Me.pnlCon
frmSale.Show()
frmSale.BringToFront()
/////////////in the load section of 'frmSales', child form bind grid with datatable value
////////gridInfrmSales,grid in child form
gridInfrmSales.Datasource=_childGridDt;
gudluck ;-)