Hi,
In a form Form13.cs I have defined a function load which retrieves some info from the database as below
public
{
dt1 = obj.gettable(ret);
dataGridView1.DataSource = dt1;
obj.closecon();
for
dataGridView1.Rows[i].Cells[0].Value =
dataGridView1.Rows[i].Cells[1].Value =
}
now I want to use this function in another form Forn42.cs. How to call this function in Form42.cs
thanks