Binding GridView to dynamic DataTable
问题 I have a GridView and I am binding it to a DataTable which is being filled at run time. Number of columns and rows are not fixed. After the DataTable is filled I am setting the binding source of the GridView to this data table: Me.User_infoDTBindingSource.DataSource = User_infoDT Now the prblem is, gird view is not showing any columns or rows at all. I used : Me.UserListGridView.PopulateColumns(User_infoDT) Now I am getting all the columns in the GridView but the column captions which I