阅读背景:

如何从Datatable填充WPF Datagrid?

来源:互联网 

I am new here so forgive me if this is the wrong section for my question. My problem is that I can't populate a datgrid with the contents of a dataset. Having searched for the last few days to try and resolve this, I have given up and thought I would try here. I am using Vs 2010 VB.Net and it's a WPF application As you can tell from the code I am very new to this and any suggestions for improvement will be most welcome. I can see that the dataset is populated ok via the visualizer, I have a datagrid 'dgBOM' which I want to display the results. A popular solution in my searches was to add '.DataSource' but when I type the '.' after dgBOM the Datasource option is not there.I am new here so forgive me if this is the wron




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: