You need to declare the datatable as a public static datatable. Then you can reference the datatable using ClassName.DatatableName.
For instance, in class Program you have the following:
static class Program
{
public static datatable dTable;
static void Main()
{......}
}
You can use Program.dTable in your other forms.
Last Wiki Answer Submitted: February 21, 2009 12:54 am by mshen27,325 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.