Datagrid table from form1 to form2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ashwinigopi
    New Member
    • Jul 2008
    • 7

    Datagrid table from form1 to form2

    I have two forms, form1 & form 2. Form1 has datagridview. I am not supposed use any sql command in form1. So i added form2 and wrote the sql commands using stored procedures to get the data from the table. The problem is the datagridview is unavailable in form2. I donno how to link datagridview from form1 and form2 or either way.I am using c#.net
    Last edited by ashwinigopi; Aug 22 '08, 12:36 AM. Reason: wrong spell
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    You can pass it through the constructor or as a parameter to a method ...

    Comment

    Working...