45 pts.
 .NET DataTable
how to pass datable from one form to the other in desktop application?

Software/Hardware used:
ASKED: February 20, 2009  10:12 AM
UPDATED: February 21, 2009  12:54 AM

Answer Wiki:
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  mshen   27,325 pts.
All Answer Wiki Contributors:  mshen   27,325 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _