CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Threaded View

  1. #1
    Join Date
    Sep 2013

    [RESOLVED] Why my list is null c#

    i have a list from a class and i want to show it in a datagriedview.

    this is i made but it doesn´t show the list:

    public partial class Configuration : UserControl
        TestInfoClass liste = new TestInfoClass();
        public Configuration()
            datagridview_Items.DataSource = liste;    // here not work, not show anything        
    main Form:

    public partial class MainForm : Form
       Configuration list_to_dgv = new Configuration();
       TestInfoClass testInfo = null;
    Last edited by tommylej; April 3rd, 2014 at 07:25 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.