I want to preview content in the datagridview inside Design view using visual studio 2010. I know how to program in some data but I'm wondering if I can add the data manually so开发者_运维知识库 that I can preview it without building.
I don't think this is possible through the designer (see here). The best you can do is see what columns are present in your data source, but even adding a data source from the DataSources tab will not populate the grid.
You can derive a form/usercontrol from the one in question and you will see the results of changing the base class in the derived class's designer.
精彩评论