1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Problem when binding Arraylist to DataGridView in windows Application

Discussion in 'C#' started by gul3436, Jan 28, 2008.

  1. #1
    I have created a class Employee with public properties like name, id, age, sex, address etc.

    now i want to show employees details in datagridview in a windows form.

    To bind the datagridview, i have created a Arraylist of Employee class objects.

    Problem is, DataGridView doesn't show the blank row, even though AllowUserToAddRows property of DataGridView is True. And i can't use any other collection, dataset or dataTable to bind the grid.
     
    gul3436, Jan 28, 2008 IP